2
Follow
0
Followers
ダイアルWebSocketの接続で深度情報を入手しようとすると,Okexのrest apiの頻度制限が厳しくなります.
複数の通貨を同時に購読する (80枚ほど) プロセスロジックや注文,問い合わせなどに時間がかかるため,
ws.read関数の実行間隔が少し大きくなり,データが蓄積されすぎて,各回のread読み取りと深層メンテナンスに時間がかかり,効率は高いが,rest apiは高くない.
WebSocketの情報を回転させ,深さを維持し,常に更新された深さの情報をローカルポートでロボットに送信する 単独のプログラムがあるかどうか考えました.
Related Recommendations
Built-In Function_Cross Analysis and InstructionsHow to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engine
Comment
All comments (2)
想着能不能有一个单独的程序,只负责循环收取websocket信息、维护深度,并随时把更新后的深度信息通过本地端口传递给机器人
这个需求可以实现的。可以写个行情收集器,数据中心实盘。开启服务分发数据。
Dial函数用非阻塞的立即返回模式。
5 years ago
- 1
