You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
Note: for support questions, please join our Discord server
I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Action taken (what you did)
Started gekko as a live trader (turned off paper trader and used configuration accordingly)
Expected result (what you hoped would happen)
executing buy/sell orders
Actual result (unexpected outcome)
executing sell order at wrong price
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
Hi, I am trying gekko as a live trader, on a simple strategy that I made, on binance, with small amounts of cryptocurrency.
Before describing the problem, I will state my current configuration:
git log -1
returns:
commit e7af14932f8ddc79e1568254b18b7cc91acfad65
Author: Clifford Roche <[email protected]>
Date: Sun Dec 31 20:30:18 2017 -0500
No longer subtract 1 second
It isn't necessary because we fixed the iterator to 24 hour periods, and no longer use the trade time
from the last trade (which has only 1 second resolution).
gekko was not working on binance, so I tried to make it work by also implementing the suggestions described in issue #1563: I made that change (callback(err.message, ticker); to callback(undefined, ticker); ) not only in that line of the file exchanges/binance.js, but also on line 342: callback(err.message, !stillThere) to callback(undefined, !stillThere)
gekko didn't crash, but, as it tried to act on the "short" advice, the output was this (removed IDs from the pic as they are not necessary):
When I went to see on binance what happened, it seems that it tried to sell at the price "1", causing the sell to not happen, and consequently cancelling it by itself and retrying.
(nevermind the first entry in that list, that's when I manually sold it )
A part from fixing this issue, I would also like to know, how can my custom-made strategy know if the sell was successful? Because if it doesn't know, once the "short" advice is given, my custom-made strategy will switch to buy-mode while gekko is still trying to sell. How can I check if the buy or sell was successful from my custom strategy?
I would like it to try to sell when the "short" advice is given, and, If it can't sell it (for example order hangs or something), my strategy should know it, so that it will wait for the next good occasion to sell, instead of trying to buy.
The text was updated successfully, but these errors were encountered:
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.
Note: for support questions, please join our Discord server
I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Action taken (what you did)
Started gekko as a live trader (turned off paper trader and used configuration accordingly)
Expected result (what you hoped would happen)
executing buy/sell orders
Actual result (unexpected outcome)
executing sell order at wrong price
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
Hi, I am trying gekko as a live trader, on a simple strategy that I made, on binance, with small amounts of cryptocurrency.
Before describing the problem, I will state my current configuration:
returns:
gekko was not working on binance, so I tried to make it work by also implementing the suggestions described in issue #1563: I made that change
(callback(err.message, ticker);
tocallback(undefined, ticker);
) not only in that line of the fileexchanges/binance.js,
but also on line 342:callback(err.message, !stillThere)
tocallback(undefined, !stillThere)
gekko didn't crash, but, as it tried to act on the "short" advice, the output was this (removed IDs from the pic as they are not necessary):
When I went to see on binance what happened, it seems that it tried to sell at the price "1", causing the sell to not happen, and consequently cancelling it by itself and retrying.
(nevermind the first entry in that list, that's when I manually sold it )
A part from fixing this issue, I would also like to know, how can my custom-made strategy know if the sell was successful? Because if it doesn't know, once the "short" advice is given, my custom-made strategy will switch to buy-mode while gekko is still trying to sell. How can I check if the buy or sell was successful from my custom strategy?
I would like it to try to sell when the "short" advice is given, and, If it can't sell it (for example order hangs or something), my strategy should know it, so that it will wait for the next good occasion to sell, instead of trying to buy.
The text was updated successfully, but these errors were encountered: