Kucoin2 fetchAccounts() does not return
See original GitHub issueThe function does not parse the response properly.
Function returns only two objects but the actual requests has around 70 objects.
Reponse below:
{ trade:
{ accountId: 'trade',
type: 'trade',
currency: undefined,
info:
{ balance: '0',
available: '0',
holds: '0',
currency: 'USDT',
id: '',
type: 'trade' } },
main:
{ accountId: 'main',
type: 'main',
currency: undefined,
info:
{ balance: '0',
available: '0',
holds: '0',
currency: 'VET',
id: '',
type: 'main' } } }
Actual response is the same but much much longer.
- OS: Ubuntu
- Programming Language version: NodeJS Latest
- CCXT version: Latest
- Exchange: Kucoin2
- Method: fetchAccounts()
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
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 >Create an Apex REST service that returns an account and it's ...
Executing the 'AccountManager' method failed. Either the service isn't configured with the correct urlMapping, is not global, does not have the ...
Read more >Apex method does not return result as expected
So after a lot of debugging i found solution! Here is my code that works as expected @AuraEnabled public static List<Event> ...
Read more >SOQL and SOSL Reference - Salesforce Implementation guides
Note: SOQL doesn't support all advanced features of the SQL SELECT command. ... If WITH DATA CATEGORY is specified, the query() only returns...
Read more >Unable to validate AccountManager APEX Web Service ...
The result must be an account (its how I passed) as Lei Shi pointed it out; Be very very careful with no records...
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
Ok, Thanks. #4684 helped me.
Yeah it is because of the dict / list inconsitancy, will fix