dema-trading-ai / engine

https://docs.dematrading.ai
GNU Affero General Public License v3.0
46 stars 11 forks source link

[ENG-83] Restructure dataframe starting capital #527

Closed sheridavandenbent closed 2 years ago

sheridavandenbent commented 2 years ago

Results of merging this

All the dataframes concerning the capital now start with one timestep before actual starting time. So if the timeframe is 30 minutes, and the starting date is 01-01-2020 00:00, the starting capital is saved in the dataframe at date 31-12-2020, 23:30.

sheridavandenbent commented 2 years ago

@WillemGerritzen I've gone through your comments and implemented them and/or commented on them! This PR is ready for re-reviewing!