I´m using ccxt on python to make a bot with Kucoin. Is there a way to make a Kucoin futures Order with take profit. take and order is easy
kucoin_futures.create_order('XBTUSDTM', "market", "buy", 1, None, {'leverage': 1})
but not a way to add take profit to order
thanks....
For take profit, create a limit order with same size, opposite side and 'reduceOnly':true parameter.