Closed remini04 closed 7 years ago
Or is the live trading function not implemented for okcoin.cn yet?
I am pretty sure there is a current issue with OKCoin at the moment unfortunately. I will try to look at this asap!
To come back on this: live trading is just not supported in the UI. Via the CLI you can run a tradebot at okcoin: see here how to: https://gekko.wizb.it/docs/commandline/tradebot.html
I have just send some bitcoin to my okcoin account, will integrate trading via the UI asap!
Yeap, I have just tested gekko via the CLI and it still gives the same error.
Thanks for your fast response!
what error does it give for the CLI?
The following is the error message.
Gekko encountered an error and can't continue
Error:
At this moment Gekko can't trade at OkCoin.
Meta debug info:
Gekko version: v0.5.2 Nodejs version: v6.11.2
Apologies you are right! Working on this asap :)
Hey,
I have an account for okcoin.com but not for okcoin.cn, unfortunately I am unable to create an account for okcoin.cn since I am not a Chinese resident:
Integrating an exchange fully in Gekko requires trade access at an account (if you can temporary provide some API keys I can work from there, in that case please email me at gekko@mvr.me).
I've just sent a mail to you. Thanks!
Hey @remini04 thanks for the email. I have fixed the integration so okcoin should work now on the develop branch, note that it's hard for me to test without having access myself.
Here you can download the develop branch: https://github.com/askmike/gekko/tree/develop
Works like a charm! Thanks!
When I run gekko for live trading in okcoin.cn, it gives an error as follows
Error:
At this moment Gekko can't trade at OkCoin.
The trade advisor seems to run correctly. I configured config.watch as follows.
config.watch = { // see https://gekko.wizb.it/docs/introduction/supported_exchanges.html exchange: 'okcoin', currency: 'CNY', asset: 'BTC' }
Also, I configured and enabled config.trader correctly. What makes an error? Is it come from my fault? Or is the live trading function not implemented for okcoin.cn yet? Thanks.