-
Notifications
You must be signed in to change notification settings - Fork 2k
Kraken support #177
Comments
I would also like this, I had a go at making it work by following GADX setup but got lost with some of the underlying functions I would have to implement. Any advice on what we could do to get this working |
nice one, Ill have a look at this and see what I can pull from it. Hopefully I can get some minutes to try and move forward |
@nibzo1 You can found the older version here: https://github.com/carlos8f/zenbot/tree/3.6/plugins/kraken |
Would really look forward to this too! |
I have created the extension by reading the documentation but I don't have the time to test it right now. If someone have the time to review ( @carlos8f ? ): |
@Alexandre-io the code looks sound, I've tested and It start without error but backfill appears not to work. It just resorts to the console with
|
So after some further debugging I can see that about 1000 trades downloads. The |
@Alexandre-io tested further and I fixed a variable or two for you. Alexandre-io@2a28d62 With these fixes the bot will start trading but there is some data missing in the log output. Looks like something is still missing. |
@nibzo1 thanks! My last commit fix the backfill & sim but I don't know if the "since" parameter of the kraken api is a timestamp or just an id. |
@Alexandre-io & @nibzo1 Thank you very much for looking into this! |
@Alexandre-io according to the documentation "since" seems to be an ID: https://www.kraken.com/help/api |
@Alexandre-io cool Ive taken your latest commit and sim & backfill appear to work now. I have kicked it off to trade now. Lest see what happens So after some time of running my balance changed due to other trades outside of the zenbot trading pair. Looks like something is NULL. Ill add some debug and see it I can find out what it is,.
also
|
@nibzo1: Same for me! |
@Alexandre-io not a single trade went through for me, though |
@crubb could you try my last commit plz ? |
@Alexandre-io Argh, I sent you a PR Alexandre-io#2 just 5 minutes later ;) |
@crubb thanks! but where did you found the "trading_agreement" parameter ? I'm unable to found it in : https://www.kraken.com/help/api#add-standard-order |
On the page where you get the API key, I put the link in the conf-sample.js
Are you on Discord?
|
@Alexandre-io @crubb just seeing the changes you guys have added good job 👍 I have pulled and kicked the bot off again. Will report back |
@nibzo1: There are problems on getOrder as well, live trading won't work, yet |
Thanks for the heads up My bot had also hit the Kraken rate limit, not sure what API calls were triggering this because there is generally a good bit of head room. |
Currently the client is just retrying the API call, when it fails and then hitting the rate limit. It is assuming that the API was not reachable. But actually the Kraken API is reporting proper real errors, which the client is so far ignoring. I just removed all retries in my local code and I'm debugging further. |
Appreciate the update thanks, I wont get a chance to look at this until tomorrow now |
Yo, buying and selling now works with the latest PR Alexandre-io#4. Now the problem is, that when an order is not filled quickly enough, From https://github.com/carlos8f/zenbot/blob/2444a9e6c77eb78f2d640d41efbfd23522116e7f/lib/engine.js I gather that Any ideas? |
Here is the PR for kraken :) |
Yeah! I just found another small problem with orders, which are rejected by Kraken as |
How can this be solved if the kraken api error still occurs? |
@royteeuwen probably not the answer you want to hear, but there's a pretty clever That is the |
@royteeuwen heh. that does end up a bit of a mess. @crubb @Alexandre-io @nibzo1 any thoughts on how to resolve this, should we add a |
Hey a) there seems to be a rate limit on the public API for backfilling, which is not documented. I will push a Pull Request with a "quick & dirty" rate limiting for backfilling. --> #217 |
Unix line termination is an LF, while Windows uses CRLF. That means line output from a NIX program could on certain occations could be shown like the example in a windows environment |
Hi,
Could is it possible to re-add the support of kraken in v.4 ?
Thanks!
The text was updated successfully, but these errors were encountered: