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

Update Backtest function to work like Live Trading #296

Open
davidlatte opened this issue Sep 29, 2023 · 0 comments
Open

Update Backtest function to work like Live Trading #296

davidlatte opened this issue Sep 29, 2023 · 0 comments

Comments

@davidlatte
Copy link
Collaborator

davidlatte commented Sep 29, 2023

Current BackTest code has its own special function that creates objects in a weird manner that the user has very little control or influence over. Instead, add a new flag 'backtest=True' to the Trader.run_all() method as the primary way to run backtest simulations. This will make the interface much more consistent for the user ... and it is what is already happening under-the-hood anyway.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant