cryptofeed icon indicating copy to clipboard operation
cryptofeed copied to clipboard

Enhance Speed of Huobi Spot L2_BOOK

Open Jay54520 opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Now cryptofeed is using market-depth which is snapshot at 1 second interval to fetch L2_BOOK.

Describe the solution you'd like Use market-by-price-incremental-update whose latency is below 100ms to fetch delta book and update local cache according to it

Describe alternatives you've considered Use market-by-price-refresh-update which will push full order book below 100ms but it's slower than delta book above.

Additional context Market-by-price-incremental-update in official Python SDK: https://github.com/HuobiRDCenter/huobi_Python/blob/master/huobi/service/market/sub_mbp_increase.py#L8

Jay54520 avatar Mar 07 '21 11:03 Jay54520

Can you help me test the incremental version I implemented?

ghost avatar Mar 11 '21 09:03 ghost