Dave-Vallance / bt-ccxt-store

Fork of Ed Bartosh's CCXT Store Work
MIT License
423 stars 187 forks source link

Plotting enhancements #23

Closed obiben closed 4 years ago

obiben commented 4 years ago

Fixes issue #22

Added creation timestamp to orders so that market can use historical bid/ask (if available) for fill price when testing on historical data. Fills should now show on cerebro's plot. Checking balance automatically after an order is closed so cash/value are also plotted.

obiben commented 4 years ago

Oops, meant to only include the first commit in this PR. Initial positions still shouldn't hurt anyone though.

Dave-Vallance commented 4 years ago

Sorry, I am a bit slow on this. I have not got around to testing the updated commit yet.

obiben commented 4 years ago

No worries!

Dave-Vallance commented 4 years ago

Code reviewed - I don't see any issues so I will merge.