Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

HitBTC error in live trading #642

Closed
brucetus opened this issue Oct 18, 2017 · 1 comment
Closed

HitBTC error in live trading #642

brucetus opened this issue Oct 18, 2017 · 1 comment

Comments

@brucetus
Copy link
Contributor

brucetus commented Oct 18, 2017

As soon as backfilling completes after running the live trade command:

An error occurred { Error: hitbtc GET http://api.hitbtc.com/api/1/trading/balance?nonce=1508296556989&apikey=YOUR-API-KEY 401 Unauthorized {"error":{"code":1002,"message":"Authorisation failed","description":""}}
    at response.text.then.text (/app/node_modules/ccxt/ccxt.js:675:19)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) constructor: [Function: AuthenticationError] }

 HitBTC API is down! unable to call getBalance, retrying in 10s

Also when backfilling before live trading it tries to backfill the data from all time, so 1391 days or so for BTC-USD.

@brucetus
Copy link
Contributor Author

My API is in there. @nedievas is submitting a PR to fix the problem. Also no it's not normal to backfill 1000+ days of data its completely unnecessary for live trading.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant