When a strategy places an order to buy/sell a particular asset, the order gets placed as a market order on the selected exchange.
Because we always place a market order, ideally, the order should get matched instantaneously. There are only 2 specific scenarios in which the order will not get placed which are
- The order book was so illiquid that we could not find any seller
- The order book had orders, but placing the market order would move the average market price by more than 2%
In case a users order got canceled, the strategy will still keep looking out for future events to buy/sell.
Comments
0 comments
Please sign in to leave a comment.