Note: for support questions, please join our Discord server
I'm submitting a ...
[*] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Action taken (what you did)
Had the bot execute a live trade
Expected result (what you hoped would happen)
Correct calculation of
profit (seems incorrect to mee, see orange arrows in screenshot below) I am unsure but it looks like the market went up yet it shows a negative number...?
roundtrip of 48 years?! (see pink arrows in screenshot below)
Actual result (unexpected outcome)
Correct calculations

There's an issue with Binance as well which I'm checking to see if it has been fixed yet before making a commit. It may fix gdax also.
@billymcintosh interesting... is anyone even testing this other than me? I mean GDAX being (one of-) the largest exchange in the world.. I am surprised I am apparently the first one to run into this.
Also: Do you expect the bot to continue trading now? I have not seen any follow up trades - despite that BTC went up a lot today. I'd have expected a buy... can it be that the bot believes it traded in the past due to that bug and got stuck? ( I will keep it running for another day to see what happens - I don't want to restart it)
Guys I did some further testing: I tried to create a backtest with the exact same data and setting as my live bot. I took a screenshot of both live and backtest. Interestingly they show wildly different results.

OK another day, another update and good news:
The bot kept working and made a second (profitable!) trade despite the 1st trade seemingly having ended in the 1970s (according to the roundtrip table in screenshot in post above)
The bad news: the roundtrip table is now missing. Also the graph shows only 2 data points, instead of 4 (it has execute 2 trades, so 4 data points: 2x buy and 2x sell) but it shows it incorrectly as 1 long trade.
See below this is the same bot as above only a day later

Back testing will buy and sell with no competition or latency, live trading doesn't have it so easy.
If you're wanting more information than the UI shows, I recommend grepping the logs directory for your tradebot. It will give you exact times and prices of trades.
@billymcintosh ok I was guessing that the backtesting would perform different because of latency, but still, the backtest graph shows a buy dot at around 12:00 whereas the live bot graph shows a dot at just after 13:00 - that is 1 hour difference. Bit much for network latency.
The time stamps on the live roundtrip claim everything is in UTC so I am assuming the time stamps on the backtest bot are also UTC
1 hour is quite a gap but I've seen it happen. Just this evening Gekko tried its first purchase at: 24-01-18 20:26:03 and ultimately got a semi-filled order complete at 24-01-18 20:51:27.
Everything should be in UTC.
Roundtrips are plain wrong in live trading Web UI

This bug has been fixed in the latest develop version, you can use that! I will release a new stable version soon so no one should encounter this anymore.
@askmike I am running the development branch. Which version did fix this? In any case I will get the latest dev branch and restart the bot.
@askmike ok testing now with d953a37f7ebe04262b7c2d311fa2dbcf536097e3 -- live bot trading EUR - BTC on GDAX / Stoch RSI
@askmike which bug was fixed? roundtrips not showing OR the green/red dots not being shown correctly on the graph?
I am testing with d953a37 and the bot has executed 1 trade (sell) since yesterday, so no roundtrip data yet, but the red dot does not show exactly aligned on the graph.

@askmike this ticket should not have been closed - it is still not fixed in d953a37

I am experiencing the same issue with the newest gekko-develop. Can someone please help ?
And it is also exactly 48 years.

Same issue persists. Any help ?
I am not getting the impression that the devs actually trade with real bitcoins themselves or they'd have noticed this ages ago
This issue slipped my attention, will have a look. And yes I am trading
using gekko with real bitcoin.
On Mon, 19 Mar 2018, 07:44 rcoenen, notifications@github.com wrote:
I am not getting the impression that the devs actually trade with real
bitcoins themselves or they'd have noticed this ages ago—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/1773#issuecomment-374071942, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MD3d_kkTlS9nLzyAz20gRDuKtY9jRks5tfv-AgaJpZM4Rp7cy
.
Can you reopen this ticket?
On Mon, 19 Mar 2018, 07:47 Mike van Rossum, mike@mikevanrossum.nl wrote:
This issue slipped my attention, will have a look. And yes I am trading
using gekko with real bitcoin.On Mon, 19 Mar 2018, 07:44 rcoenen, notifications@github.com wrote:
I am not getting the impression that the devs actually trade with real
bitcoins themselves or they'd have noticed this ages ago—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/1773#issuecomment-374071942,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7MD3d_kkTlS9nLzyAz20gRDuKtY9jRks5tfv-AgaJpZM4Rp7cy
.
@askmike hey Mike, thanks for picking this up again. I cannot re-open the ticket as per the GitHub rules I can only re-open if I closed the ticket myself. Since you closed this one I suppose you're the one that has the ability to re-open this ticket?
oops!
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.