Closed obiben closed 4 years ago
Oops, meant to only include the first commit in this PR. Initial positions still shouldn't hurt anyone though.
Sorry, I am a bit slow on this. I have not got around to testing the updated commit yet.
No worries!
Code reviewed - I don't see any issues so I will merge.
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.