watch balance spot gateio broken?
See original GitHub issue- OS: linux
- Programming Language version: python 3.10
- CCXT version: 1.0.91
Hello, I updated to latest ccxtpro version but I cannot use watch_balance for spot gateio anymore. I tried transfer and buy and it did not print any response. can you please check?
#pylint: disable=all
import asyncio
import ccxtpro
from pprint import pprint
import sys
sys.stdout = open('error.txt', 'w')
print(ccxtpro.__version__)
exchange: ccxtpro.Exchange = getattr(ccxtpro, 'gateio')({
'enableRateLimit': True,
'apiKey': '',
'secret': '',
'uid': '',
'options': {
'defaultType': 'spot'
}
})
exchange.verbose=True
async def main():
while True:
response = await exchange.watch_balance()
pprint(response)
await exchange.close()
asyncio.run(main())
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Gate Spot WebSocketAPI v4 Reference | Gate API v4 - Gate.io
Gate.io provides a simple and robust Websocket API to integrate spot trade status into your business or application. We have language bindings in...
Read more >Guide - Customer Support & Help Center | Gate.io
Click on "Spot Trading" under "Trade" on the top navigation bar. ... percentages under the "Amount" box refer to certain percentages of the...
Read more >Gate API v4
Welcome to Gate.io API. APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, ...
Read more >Daily News | The Silence Has Been Broken, Crypto Tanks ... - Gate.io
Note: On the daily timeframe, we can see that Bitcoin broke within the nearest support zone on the seventh session, but rebounded from...
Read more >Spot & Margin - Customer Support & Help Center | Gate.io
6.About Advanced Option Criteria Settings: If the available balance of the coin is within the set range, the criterion is met. That is...
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 Free
Top 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
@leastchaos JFYI I’ve just opened a PR upgrading it, just bear in mind that open orders will not trigger balance update until being partially or fully filled in Gateio (for instance open limit orders won’t trigger an update), so I’m not sure that this upgrade will address your needs completely
The balance should be updated when it changes, but i don’t see any changes to the balance in your log. Which specific steps you’re taking to reproduce it ?