gateio / gateapi-python

263 stars 97 forks source link

how to create a stoploss or conditional order? #84

Closed MaoXuYin closed 2 years ago

MaoXuYin commented 2 years ago

Need help to create conditional order like a stoploss. there is .create_price_triggered_order, but FuturesOrder has no argument to set a trigger_price. Any ideas?

Edit: Nevermind, there is FuturesPriceTriggeredOrder too