KingND
f970454cb4
chore: ruff format
2 years ago
KingND
53cab5074b
chore: refactor and cleanup tests
2 years ago
KingND
c6c65b1799
chore: flake8
2 years ago
KingND
82e30c8519
feat: if a biased_indicator starting with & appears in a lookahead-analysis, caption the table with a note that freqai targets appearing here can be ignored
2 years ago
Matthias
e705471946
chore: don't return what ain't being needed
2 years ago
Matthias
d8a8b5c125
ruff format: Update more test files
2 years ago
Matthias
f259270e9c
Update tests to properly mock fee
2 years ago
Matthias
35408966f4
Fix remaining user_data leaks
2 years ago
Christian Clauss
99b4767bf4
Fix typos discovered by codespell
2 years ago
Matthias
8d72ee358c
Improve code styles ...
2 years ago
Matthias
4809c9f07a
Adjust tests for new naming
3 years ago
Matthias
4db7962048
Update tests to new structure
3 years ago
Matthias
b934644039
Fix tests, explicitly test for missing timerange
3 years ago
Matthias
b3ef024e9e
Don't use PurePosixPath
3 years ago
Matthias
964bf76469
Invert parameters for initialize_single_lookahead_analysis
...
otherwise their order is reversed before calling LookaheadAnalysis for no good reason
3 years ago
Matthias
ad74e65673
Simplify configuration setup
3 years ago
hippocritical
663cfc6211
fixing tests
3 years ago
hippocritical
1da1972c18
added test for config overrides
3 years ago
hippocritical
eec7837167
- modified help-string for the cli-option lookahead_analysis_exportfilename
...
- moved doc from utils.md to lookahead-analysis.md and modified it (unfinished)
- added a check to automatically edit the config['backtest_cache'] to be 'none'
- adjusted test_lookahead_helper_export_to_csv to catch the new catching of errors
- adjusted test_lookahead_helper_text_table_lookahead_analysis_instances to catch the new catching of errors
- changed lookahead_analysis.start result-reporting to show that not enough trades were caught including x of y
3 years ago
hippocritical
0ed84fbcc1
added test_initialize_single_lookahead_analysis
...
A check for a random variable should be enough, right? :)
3 years ago
hippocritical
a7426755bc
added a check for bias1.
...
Looking at has_bias should be enough to statisfy the test.
The tests could be extended with thecking the buy/sell signals and the dataframe itself -
but this should be sufficient for now.
3 years ago
hippocritical
636298bb71
added test_lookahead_helper_export_to_csv
3 years ago
hippocritical
eb31b574c1
added returns to text_table_lookahead_analysis_instances
...
filled in test_lookahead_helper_text_table_lookahead_analysis_instances
3 years ago
Matthias
70a0c2e625
Fix test mishap
3 years ago
Matthias
3e6a2bf9b0
Add parameters for analysis tests ...
3 years ago
Matthias
e73cd1487e
Add somewhat sensible assert
3 years ago
Matthias
9869a21951
Move strategy to it's own directory to avoid having other
3 years ago
Matthias
3f5c18a035
Add some tests as todo
3 years ago
Matthias
e183707979
Further test lookahead_helpers
3 years ago
Matthias
ceddcd9242
Move most of the logic to lookahead_analysis helper
3 years ago
Matthias
d8af0dc9c4
Slightly improve testcase
3 years ago
Matthias
209eb63ede
Add startup test case
3 years ago
Matthias
2e675efa13
Initial fix - test
3 years ago
Matthias
073dac8d5f
Move lookahead analysis tests to optimize subdir
3 years ago