viabtc / viabtc_exchange_server

A trading engine with high-speed performance and real-time notification
MIT License
2.68k stars 1.49k forks source link

depth.update not working #122

Open skyphone opened 6 years ago

skyphone commented 6 years ago

websocket send {"id":1,"method":"depth.update","params":[true,"BBC",5,"0"]} not working.

yin273642232 commented 6 years ago

{"id":1,"method":"depth.update","params":[true,"BBC",5,"0"]}

this result is depth.subscribe response, not webSocket send string

yunhui0501 commented 6 years ago

depth.subscribe会先响应,后面就会主动发数据给WEBSOKCET客户端。