gateio / gateapi-php

25 stars 30 forks source link

FuturesTicker Mid, Bid, Ask Prices #8

Closed dextervip closed 2 years ago

dextervip commented 3 years ago

Hello,

It would be nice if I have also the mid, highest bid, and lowest ask price for a future ticker without having to call order book such as in BitMEX API(https://www.bitmex.com/api/explorer/#!/Instrument/Instrument_get)

Best regards

revilwang commented 3 years ago

It is recommended to use WebSocket to retrieve best ask and bid price. We published a new channel futures.book_ticker yesterday to push best ask and bid price in realtime. Rest API responses are generally cached for performance's sake.