Order Executors
Order Executors are participants that earn a fee by executing executable orders. OrderExecutorTool is the relevant SDK component.
OrderExecutorTool ⇐ WriteAccessHandler
WriteAccessHandlernew OrderExecutorTool(config, signer)
Param
Type
Description
orderExecutorTool.executeOrder(symbol, orderId, executorAddr, nonce, [submission]) ⇒
Param
Type
Description
orderExecutorTool.executeOrders(symbol, orderIds, executorAddr, nonce, [submission]) ⇒
Param
Type
Description
orderExecutorTool.getAllOpenOrders(symbol) ⇒
Param
Type
Description
orderExecutorTool.numberOfOpenOrders(symbol) ⇒ number
numberParam
Type
Description
orderExecutorTool.getOrderById(symbol, digest) ⇒
Param
Description
orderExecutorTool.pollLimitOrders(symbol, numElements, [startAfter]) ⇒
Param
Type
Description
orderExecutorTool.isTradeable(order, indexPrices) ⇒
Param
Description
orderExecutorTool.isTradeableBatch(orders, indexPrice) ⇒
Param
Description
orderExecutorTool.smartContractOrderToOrder(scOrder) ⇒
Param
Description
orderExecutorTool.getTransactionCount(blockTag) ⇒
Param