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

invalid api key error #870

Closed
ghost opened this issue Jul 23, 2017 · 10 comments
Closed

invalid api key error #870

ghost opened this issue Jul 23, 2017 · 10 comments

Comments

@ghost
Copy link

ghost commented Jul 23, 2017

error shows when i run gekko through the ui feature trader and on gdax
it says invalid api key and I generating it through the sandbox website
is there a way to fix this?

@thegamecat
Copy link

Create the file in root.

@askmike
Copy link
Owner

askmike commented Jul 23, 2017

The ui feature is in progress and not stable. That branch is on github so other developers can work on the code and everyone can see progress. I would advise against running it and cannot offer any support for it.

@askmike askmike closed this as completed Jul 23, 2017
@ghost
Copy link
Author

ghost commented Jul 23, 2017

@thegamecat ok, but in windows you need read write permission to create files in root, I looked into it and seems microsoft limited access to root so virus dont get into the OS.

@ghost
Copy link
Author

ghost commented Jul 23, 2017

@askmike ok, I just want to test it to provide feedback of any bugs or improvements that it could use

@askmike
Copy link
Owner

askmike commented Jul 23, 2017

@ak9250 I just merged #737 into develop and fixed this bug.

Now you can test, and if you run into anything please create an issue :)

Note that there might be bugs and I cannot guarantee there won't be issues.

@ghost
Copy link
Author

ghost commented Jul 23, 2017

@askmike thanks I tried the develop branch and I still get the same error, note I am using the public.sandbox.gdax.com site and generate api key secret from there. Could that be the cause of the error?

screenshot 168

I understand there will be bugs that is why I am using the developers sandbox to test things and make this better, thanks :)

@askmike
Copy link
Owner

askmike commented Jul 23, 2017

@ak9250 can you provide a screenshot of copy some logs of the error? I thought you were talking about something else.

@ghost
Copy link
Author

ghost commented Jul 23, 2017

@askmike sorry screenshot attached now to previous post, let me know if you need anything else

@askmike
Copy link
Owner

askmike commented Jul 23, 2017

So gekko normally connects to the real GDAX, not the sandbox. So you see this error because sandbox keys don't work on the real GDAX. Two things:

  • gekko tries to buy and sell via limit orders, which only works if other people are trading. The GDAX sandbox is great but no one there is trading. I ran into the same issue when working on Gekko and if you want to use the sandbox you need to create a second GDAX sandbox account that can take orders created by the account connected to Gekko (you cannot take your own orders on single account).
  • if you still want to use the sandbox, set this to true.

@ghost
Copy link
Author

ghost commented Jul 23, 2017

@askmike ok thanks I will try this out, gdax really should improve their sandbox site for developers to test out on but until then I might just move to testing on the real site if this doesn't work out.

thats another reason I like whaleclub because their demo and live platforms are identical and great for testing.

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

2 participants