How do you ensure that websocket multi-currency request connections receive price pushes?

Author: [Translated from Chinese], Created: 2021-11-09 14:43:18, Updated:

imgI use this link to get the price of the multi-currency. Then, in the while loop, stream.read (((-2) is used to get the price of each currency, but the price obtained is not the same frequency and is not in order. For example, in the graph, you can get 3 LTCs and get 1 BCH, and I'm wondering if there's a situation where there's a lot of currencies that don't get the price? For example, LTC, LTC, BCH, ETH, LTC, LTC, BCH and then keep missing the price update of a certain currency. I'm not sure if I'm using it correctly or not. How can I fix it? I know there's a price to get all the currencies, but I thought it might be faster with a multi-currency link.


More

Spartan play quantifiedDon't use two.

Spartan play quantifiedread ((-1) can get data in arrival order

The Little DreamWS interfaces are pushed by exchanges, which are specifically related to the push of exchanges, uncertain.