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

API key invalid - bittrex #1054

Closed
dimoimo opened this issue Aug 30, 2017 · 14 comments
Closed

API key invalid - bittrex #1054

dimoimo opened this issue Aug 30, 2017 · 14 comments
Labels

Comments

@dimoimo
Copy link

dimoimo commented Aug 30, 2017

keep getting

2017-08-29 21:42:47 (DEBUG): getTicker result { Bid: 0.02630017, Ask: 0.02677724, Last: 0.02630004 }
2017-08-29 21:42:47 (DEBUG): getPortfolio called
2017-08-29 21:42:47 (ERROR): getPortfolio Error { success: false, message: 'APIKEY_INVALID', result: null }
2017-08-29 21:42:47 (DEBUG): Bittrex returned an error, retrying. [ [Function] ]
2017-08-29 21:42:57 (DEBUG): getPortfolio called
2017-08-29 21:42:58 (ERROR): getPortfolio Error { success: false, message: 'APIKEY_INVALID', result: null }
2017-08-29 21:42:58 (DEBUG): Bittrex returned an error, retrying. [ [Function: bound] ]

each time I run. I checked for all misplaced commas, etc.

here is the key section of my config file:

config.trader = {
enabled: true,
key: '',
secret: '
***',
username: '', // your username, only required for specific exchanges.
passphrase: '', // GDAX, requires a passphrase.
}

I've tried with several keys, and redownloading. Not sure what to do here

@askmike
Copy link
Owner

askmike commented Aug 30, 2017

Have you filled in both the key and the secret? Are you sure the API key is valid for viewing balance and trading? Is the API key limited to an IP?

@dimoimo
Copy link
Author

dimoimo commented Aug 30, 2017

Yes I've got both completed, the API key has all permissions except withdrawal (not sure if that makes the difference?)

my next bet is to try a different exchange

@askmike
Copy link
Owner

askmike commented Aug 30, 2017

I will test soon, but ping @imperator6

@imperator6
Copy link
Contributor

@dimoimo It works in my local pc, but i've not checked out the merged develop branch. Could try to start gekko in UI mode and add the keys via the gui. Afterwards it should also work in console mode.

@anthonyjbarnes
Copy link

I have been looking froward to using gekko on bittrex but have the same issue. I get the error when gekko runs getPortfolio

@markanderson
Copy link

markanderson commented Sep 10, 2017

For anyone still experiencing this problem, a hacky work-around in the meantime is to edit the bittrex exchange file directly and set the key and secret. That will get you up and running until a better solution is merged in.

@krieghof
Copy link
Contributor

krieghof commented Sep 17, 2017

@markanderson Thanks this workaround also worked for me. We should find a fix for this.

askmike added a commit that referenced this issue Sep 17, 2017
@askmike
Copy link
Owner

askmike commented Sep 17, 2017

This should be fixed in develop now. @dimoimo @markanderson can you try that branch? You can download it here: https://github.com/askmike/gekko/tree/develop

@ghost
Copy link

ghost commented Sep 23, 2017

Still not working :( Used hack with editing bittrex.js.

1024kilobyte added a commit to 1024kilobyte/gekko that referenced this issue Oct 2, 2017
Always init exchange with trader config if trader is enabled
askmike pushed a commit that referenced this issue Oct 2, 2017
Always init exchange with trader config if trader is enabled
@carlosatta
Copy link

Still not working...

data: gekko.js:25419 - 2018-01-28 18:21:25 (DEBUG): getPortfolio called
data: gekko.js:25419 - 2018-01-28 18:21:25 (ERROR): getPortfolio Error { success: false, message: 'APIKEY_INVALID', result: null }
data: gekko.js:25419 - 2018-01-28 18:21:25 (DEBUG): Bittrex returned an error, retrying. [ [Function: bound] ]

@ghost
Copy link

ghost commented Mar 8, 2018

Im having the same issue
Tried:
Adding the API from the Web ui.
Manually adding it in the bittrex.js exchange file
Creating a new key on bittrex and testing it, It works

image

@askmike
Copy link
Owner

askmike commented Jul 15, 2018

Bittrex live trading is disabled in Gekko 0.6 because of this bug, see #2310 for more details.

@stale
Copy link

stale bot commented Oct 24, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you feel this is very a important issue please reach out the maintainer of this project directly via e-mail: gekko at mvr dot me.

@stale stale bot added the wontfix label Oct 24, 2018
@stale stale bot closed this as completed Nov 2, 2018
@melroy89
Copy link

melroy89 commented Sep 13, 2019

wont fix?

I think its handy to fix this issue right?
https://gekko.wizb.it/docs/introduction/supported_exchanges.html

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

No branches or pull requests

8 participants