gateio / gatews

Gate Websocket V4 SDK
89 stars 35 forks source link

Market orders #28

Open pedrobertao opened 2 years ago

pedrobertao commented 2 years ago

Is there any way to make a market order ? Like stop market ? What are the options for this type of trade using api level ?

revilwang commented 2 years ago

Spot trading API supports limited price order only.

pedrobertao commented 2 years ago

Thanks for the quick reply Is any other way to make market order through the api ?

revilwang commented 2 years ago

Using the last field in the ticker update from WebSocket spot.tickers subscription is one way to place orders with market price.