askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.08k stars 3.93k forks source link

Feature request: Profit report on true realtime value of holdings & what currency is currently being hold #2819

Closed rcoenen closed 5 years ago

rcoenen commented 5 years ago

I suppose this must have been asked about before but I couldn't find any info

See screenshot below of my PaperTrader currently running on trading BTC-EVX on Binance. It did quite well, giving a solid 14.3% profit in a -6.3% downward market. Hooray, right? Until the bot decided to buy EVX again (see the last dot on the graph, it's green and green means.. buy correct? and buy in this case means: Buy EVX, and that means it thus sold all BTC) ... right before BTC jumped up a lot... meaning EVX went down a lot. But how much is "a lot"? The Profit Report just shows the stats since competed round trip (and a round trip is by definition: the time from a green dot toll a red dot. So in the situation as per screenshot below, we're in the middle of a roundtrip which hasn't completed yet and the big question of course is:

1) What currency is the bot currently holding? BTC or EVX: Answer: must be EVX since we can deduct that info from the fact we're seeing a green dot as last dot not a red one. It would be really nice if the UI would just show this Imagine this was not a PaperBit but a real live bot. I would really want to know what currency I currently have in my Binance account!

2) and by extension: I want to know how much the EVX are worth at this very moment! The Profit report says that my Alpha is still 14.3 BTC but this is obviously no longer true! If I'd quit the bot now I'd have some massive loss of negative ... well, let's eyeball that.. -25 BTC? (certainly not the +14.3 as reported by the UI!) This is the kind of information I need to know.

Can this please be added to the UI?

image

stale[bot] commented 5 years ago

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.