gateio / gateapi-csharp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to create market order on margin trading

Workingsolutions1 opened this issue · comments

Is there any way to create market order on margin trading other then randomly increasing price by some % ?
The problem is that this will also reduce available funds for trade and if price increase significantly within short time period trade won't be opened

Market order is not available for spot and margin trading currently.

Okay and what could be the workaround ? I need it to be opened like market somehow or close to it

It is up to you to try to catch up the market. Subscribing to WebSocket spot.trades to get the latest price as quickly as possible can help to some extent.