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

drop SORT_BY for single checks, add VALID_TOKENS, revert find_best_results_from_backtesting_log() #223

Merged
merged 17 commits into from
Sep 9, 2023

Conversation

Azulinho
Copy link
Owner

@Azulinho Azulinho commented Aug 28, 2023

  • reverts find_best_results_from_backtesting_log() broken since 0.0.200
    prove-backtesting was setting the first run with valid results it would find and not updating it with better results.

  • adds .envrc with support for .envrc.local

  • fixes removal of stale lockfiles on unclean shutdowns

  • adds VALID_TOKENS

  • replaces SORT_BY with: MIN_WINS, MIN_PROFIT, MAX_LOSSES, MAX_STALES, MAX_HOLDS
    best results are now always chosen on profit according to the settings above.

  • additional cleanup of temp files

@Azulinho Azulinho force-pushed the next_release branch 3 times, most recently from 68b4b8f to 3be3d5b Compare September 8, 2023 22:46
@Azulinho Azulinho changed the title swaps SORT_BY with single checks, adds VALID_TOKENS swaps SORT_BY with single checks, adds VALID_TOKENS, fixes find_best_results_from_backtesting_log() Sep 9, 2023
@Azulinho Azulinho force-pushed the next_release branch 2 times, most recently from 31fbb93 to cbfdd5e Compare September 9, 2023 09:45
This introduces MINS_WINS, MIN_PROFIT, MAX_LOSSES, MAX_STALES, MAX_HOLDS
alongside FILTER_BY this new VALID_TOKENS prove-backtesting config
takes a list of strings which is used by the prove-backtesting runner to
exclude any tokens not in the list.

example:
VALID_TOKENS: ["BTC", "ETH"]

when set to [] all tokens are valid
re-arranges the order of ADD commands in the dockerfile to improve
repeated builds times. such as when testing locally
@Azulinho Azulinho changed the title swaps SORT_BY with single checks, adds VALID_TOKENS, fixes find_best_results_from_backtesting_log() drop SORT_BY for single checks, add VALID_TOKENS, revert find_best_results_from_backtesting_log() Sep 9, 2023
@Azulinho Azulinho merged commit 47326f2 into master Sep 9, 2023
3 checks passed
@Azulinho Azulinho deleted the next_release branch September 9, 2023 10:49
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