southxchange & bleutrade fetch_balance error (ccxt v. 1.9.174, Python 2.7)
See original GitHub issueThe fetch_balance() function in southxchange and bleutrade seems to result in this error:
Traceback (most recent call last):
File "C:\xampp\cgi-bin\TheChankReport.py", line 71, in <module>
fetch_wallet()
File "C:\xampp\cgi-bin\TheChankReport.py", line 22, in fetch_wallet
balance = x.fetch_balance()
File "C:\Python27\lib\site-packages\ccxt\exchanges.py", line 5482, in fetch_balance
account['used'] = balance['Balance'] - balance['Available']
TypeError: unsupported operand type(s) for -: 'unicode' and 'unicode'
I have bittrex, anxpro and hitbtc working with the same code.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Exchanges — ccxt 2.4.71 documentation
Python import ccxt exchange = ccxt.okcoinusd () # default id okcoin1 ... The ccxt library will append this version string to the API...
Read more >python - fetch_balance method in ccxt won't return all assets
It seems like fetchBalance only returns one currency at a time. To get USDT as the asset to be returned, you must pass...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Working great! I appreciate the help, as always.
It’s there, will stand by to hear from you.