In market practice, a "close" order refers to immediately order closing using the best market price. Thus, it is a market order by nature.
For your case, you can use the update_opened_order function to adjust the take profit/ stop loss level to replicate a "limit close".
Original Posted by - b'tony lam':In market practice, a "close" order refers to immediately order closing using the best market price. Thus, it is a market order by nature.
For your case, you can use the update_opened_order function to adjust the take profit/ stop loss level to replicate a "limit close".