Open benwaldner opened 4 years ago
I got this error not sure if its my fault tho. I executed it in ipython and python3.
TypeError Traceback (most recent call last) /home/x/long-vs-short.py in 20 21 # Get Ticker + Currency data ---> 22 query = ",t".join(tpairs) 23 tdata = api_request("https://api.bitfinex.com/v2/tickers?symbols=t"+query) 24 currs = get_currencies( tdata )
TypeError: can only join an iterable
Traceback (most recent call last): File "long-vs-short.py", line 22, in query = ",t".join(tpairs) TypeError: can only join an iterable
what happens when you run, say the following as an example?
python long-vs-short.py -t BTCUSD, LTCUSD
I got this error not sure if its my fault tho. I executed it in ipython and python3.
TypeError Traceback (most recent call last) /home/x/long-vs-short.py in
20
21 # Get Ticker + Currency data
---> 22 query = ",t".join(tpairs)
23 tdata = api_request("https://api.bitfinex.com/v2/tickers?symbols=t"+query)
24 currs = get_currencies( tdata )
TypeError: can only join an iterable