Close a position

what is the difference between “CLOSE FLAT 0” when closing a position? If I use tp for the take profit, the position will be closed with a market or a limit order?

Hello @gianverzi, there is no difference between the three. It is just another name, flat, and means close. So 0 BTCUSDT, FLAT BTCUSDT, or Close BTCUSDT is one and the same thing. In ByBit, TP is placed normally, so at market.