w1ld3r / crypto-signal

The #1 Automated Technical Analysis (TA) & Algo. Trading tool for Coinbase, Bittrex, Binance, and more! (Track over 500+ coins)
http://cryptosignal.dev
MIT License
76 stars 37 forks source link

[BUG] Error using "Top Pairs" option when Binance Future is used #39

Closed velajos closed 3 years ago

velajos commented 3 years ago

Using Binance Futures, when I use the "top_pairs" option, I get the following error:

_" File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\concurrent\futures_base.py", line 428, in result return self.__get_result() File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\concurrent\futures_base.py", line 384, in _get_result raise self.exception File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\tenacity_init.py", line 433, in call result = fn(*args, **kwargs) File "C:\Users\user\Documents\GitHub\crypto-signal-futures\app\exchange.py", line 151, in get_top_markets values, dtype=[('market', 'U10'), ('volume', int)]) OverflowError: Python int too large to convert to C long"

This only happens when I use Windows 10 64 bits.

I don't use Docker either, only python 3.7.