Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Optimized preloading of static pandas datafeeds #52

Open
eicnix opened this issue Feb 7, 2021 · 0 comments
Open

Enhancement: Optimized preloading of static pandas datafeeds #52

eicnix opened this issue Feb 7, 2021 · 0 comments

Comments

@eicnix
Copy link

eicnix commented Feb 7, 2021

In my current setup preparing my pandas dataset on Cerebro start takes about ~40% of the whole execution time (in addition to actually loading the data from a database). This rather high portion is due to two points: The data is modified row-wise instead of column-wise and this process is executed once for every strategy optimization run.
Giving the static nature of data during backtesting the dataframe can be prepared in a more efficient manner and cached between strategy optimization runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant