question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bittrex fetchBalance() fails

See original GitHub issue

Using a fresh API key pair:

const balance = await market.fetchBalance()

produces

bittrex https://bittrex.com/api/v1.1/account/getbalances?nonce=1501049737&apikey=[redacted] { method: 'GET',
  headers:
   { 'User-Agent': 'ccxt/1.1.83 (+https://github.com/kroitor/ccxt) Node.js/8.1.4 (JavaScript)',
     apisign: [redacted] },
  body: undefined }
(node:22773) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'length' of undefined
(node:22773) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
slidenerdcommented, Aug 24, 2017

OMG i was gonna build an all exchange library, i cant believe someone made such an INSANE library, how long you been building this

0reactions
stickobalabitacommented, Sep 27, 2017

Yeh totally understand, for the time being all the functionalities of my app are read only and also I’ll be using the proxy for testing only

Read more comments on GitHub >

github_iconTop Results From Across the Web

ccxt-dev/ccxt - Gitter
Anybody experienced exchange.loadMarkets() to run indefinitely when calling this in your own code? I have gone so far to put a log line...
Read more >
Exchanges — ccxt 2.4.71 documentation
if the order is not 'open' the user should fetchBalance() to check if the balance has changed since the order was created on...
Read more >
reactjs - React Starter Kit error - page not found - Stack Overflow
It seems you have to call await bittrex.loadProducts() before fetching your Balance. Edit : Seems also that bittrex.loadProducts() has been ...
Read more >
ccxt Documentation - Read the Docs
ccxt Documentation, 1.13.142. () pprint(exchange.fetch_ticker('ETH/BTC')). 4.1.2 Python 3.5+ asyncio/aiohttp proxy.
Read more >
How to use the ansicolor.nice function in ansicolor | Snyk
... "secret": "694025686e9445589787e8ca212b4cff", }) try { // fetch account balance from the exchange let balance = await exchange.fetchBalance ().
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found