evgrmn / tmatic

Tmatic is a cryptocurrency platform designed for automated trading on the Bitmex, Bybit and Deribit crypto exchanges.
https://www.tmatic.org
GNU General Public License v3.0
25 stars 6 forks source link

In case an instrument subscribed twice in the same category => the all subscription fails by timeout #235

Closed nikolayromenskiy closed 3 months ago

nikolayromenskiy commented 3 months ago

2024-05-21 16:01:18,873 - api.bitmex.ws - INFO - Timeout expired. Not all instruments has been loaded. [('XBTUSDT', 'linear', 'Bitmex'), ('SOLUSDT', 'linear', 'Bitmex'), ('ETHUSDT', 'linear', 'Bitmex'), ('XBTUSD', 'inverse', 'Bitmex'), ('XBTUSD', 'inverse', 'Bitmex'), ('ETHUSD', 'quanto', 'Bitmex')] - missing in the instrument table.

evgrmn commented 3 months ago

Fixed. When reading symbols from a .env file, uniqueness is checked.