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

keep coin state in backtesting #214

Merged
merged 9 commits into from
Jul 8, 2023
Merged

Conversation

Azulinho
Copy link
Owner

@Azulinho Azulinho commented Jun 26, 2023

keep coin state and history on all coins as we need all the back info during our prove-backtesting runs.
as to deal with coins for that are not defined in the tickers dict, we set BUY_AT and SELL_AT to values that they are never traded but that prevents the bot to crash

@Azulinho Azulinho force-pushed the keep_coin_json_in_backtesting branch 3 times, most recently from 390cac7 to 82c26a7 Compare June 27, 2023 22:59
This change will allow to always process lines for each coin, so that in
prove-backtesting we will have full coin state between backtesting runs.
@Azulinho Azulinho force-pushed the keep_coin_json_in_backtesting branch from 82c26a7 to 3cbac18 Compare June 27, 2023 23:17
@Azulinho Azulinho merged commit 983df6e into master Jul 8, 2023
@Azulinho Azulinho deleted the keep_coin_json_in_backtesting branch July 8, 2023 21:14
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.

1 participant