nodejs-order-book
Version:
Node.js Lmit Order Book for high-frequency trading (HFT).
24 lines (23 loc) • 774 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TimeInForce = exports.OrderType = exports.Side = void 0;
var Side;
(function (Side) {
Side["BUY"] = "buy";
Side["SELL"] = "sell";
})(Side || (exports.Side = Side = {}));
var OrderType;
(function (OrderType) {
OrderType["LIMIT"] = "limit";
OrderType["MARKET"] = "market";
OrderType["OCO"] = "oco";
OrderType["STOP_LIMIT"] = "stop_limit";
OrderType["STOP_MARKET"] = "stop_market";
})(OrderType || (exports.OrderType = OrderType = {}));
var TimeInForce;
(function (TimeInForce) {
TimeInForce["GTC"] = "GTC";
TimeInForce["IOC"] = "IOC";
TimeInForce["FOK"] = "FOK";
})(TimeInForce || (exports.TimeInForce = TimeInForce = {}));
/* node:coverage enable */