Skip to content

Conversation

@ojustino
Copy link
Owner

@ojustino ojustino commented Jan 3, 2025

Progress toward figuring out a way to reliably reverse adjustments made to historical price data (splits, dividends, etc.) so test results remain consistent over time. At the moment, results for a script I run today will be slightly different in a few months and noticeably different in a few years.

Comparisons of strategies against each other calculated at the same time are OK, but comparing a calculation from 2022 to one from today is not apples-to-apples. For example, maybe the differently-adjusted price data leads a strategy to sell an extra share of an asset during a rebalance in today's simulation where it wouldn't have done so in the past. The differences aren't large, but it would be nice to achieve full reproducibility.

@ojustino
Copy link
Owner Author

ojustino commented Jan 3, 2025

A comment in test_suite.py suggests that run_time_loop() may double count dividends? Investigate again

@ojustino ojustino mentioned this pull request Jan 3, 2025
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

Successfully merging this pull request may close these issues.

2 participants