Supported order types
The following order types are supported by the BP:
Market — an instruction to instantly buy or sell a certain asset amount at a currently best price on the market. Such orders are not listed in the order book — they are executed immediately in the amount that is currently available at the top-of-the-book price (partially or in full). Any portion of a market order that cannot be filled immediately is canceled.
Limit — an instruction to buy or sell a certain asset amount at a specified price. Limit orders are placed in the order book and executed only after the market price reaches the specified limit price (or at a better price). For this reason, limit orders may never be executed if their limit price differs significantly from the current market price. You can use limit orders to buy assets at a lower price or sell at a higher price than the current market price.
Stop market — such an order is not placed unless the current market price meets a specified stop (or trigger) price, after which the order is placed as a regular market order due to be executed or cancelled, depending on its time-in-force settings.
Stop limit — the order is similar to the stop market order in the sense that you need to indicate the stop price at which the order must be placed, after which it becomes a regular limit order awaiting execution at a specified limit price.
For stop buy orders, the stop price should be above the best ask price; for stop sell orders, the stop price should be below the best bid price (otherwise, the orders will be activated instantly).
Refer to Time in force to learn about execution parameters that can be specified for different order types.