Limit Orders
A limit order is an order to buy a security at no more than a specific price, or to sell a security at no less than a specific price (called "or better" for either direction). This gives the trader (customer) control over the price at which the trade is executed; however, the order may never be executed ("filled").
Limit Order of size V in quote tokens and price P in base tokens
Maker orders: These are orders that are not executed immediately and are added to the order book. Since maker orders increase the liquidity on the exchange, such orders are rewarded with negative trading fees. This means that traders receive a maker fee when a maker order gets executed.
Taker orders: These are orders that are matched immediately against an existing order. Since these orders reduce the liquidity on the exchange, they are required to pay positive trading fees. This means that traders pay taker fee when a taker order gets executed.
POST-only orders are ALWAYS executed as maker orders. This means:
Post-only orders always receive maker fee on execution;
Only limit orders can be post-only. Since market orders execute immediately, they can’t be made post-only;
If a post-only order will partially or fully match against an existing order in the order book, then the post-only order is cancelled.
Limit Order + POST Only option
How it is implemented on Flex:
Maker and Taker orders are flags.
Limit order is implemented in Flex DeBot.
Last updated