Matthias
e705471946
chore: don't return what ain't being needed
2024-07-07 09:49:15 +02:00
Matthias
d8a8b5c125
ruff format: Update more test files
2024-05-13 07:10:24 +02:00
Matthias
f259270e9c
Update tests to properly mock fee
2024-04-27 19:52:48 +02:00
Matthias
35408966f4
Fix remaining user_data leaks
2024-04-25 11:02:34 +02:00
Christian Clauss
99b4767bf4
Fix typos discovered by codespell
2024-04-18 22:51:25 +02:00
Matthias
8d72ee358c
Improve code styles ...
2024-01-24 20:31:38 +01:00
Matthias
4809c9f07a
Adjust tests for new naming
2023-10-01 08:00:09 +02:00
Matthias
4db7962048
Update tests to new structure
2023-10-01 07:55:03 +02:00
Matthias
b934644039
Fix tests, explicitly test for missing timerange
2023-08-09 18:36:20 +02:00
Matthias
b3ef024e9e
Don't use PurePosixPath
2023-06-15 20:43:05 +02:00
Matthias
964bf76469
Invert parameters for initialize_single_lookahead_analysis
...
otherwise their order is reversed before calling LookaheadAnalysis for no good reason
2023-06-15 20:42:26 +02:00
Matthias
ad74e65673
Simplify configuration setup
2023-06-15 20:26:45 +02:00
hippocritical
663cfc6211
fixing tests
2023-06-11 22:53:21 +02:00
hippocritical
1da1972c18
added test for config overrides
2023-06-11 00:18:34 +02:00
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
2023-05-28 20:52:58 +02:00
hippocritical
0ed84fbcc1
added test_initialize_single_lookahead_analysis
...
A check for a random variable should be enough, right? :)
2023-05-27 20:47:59 +02:00
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.
2023-05-27 20:35:45 +02:00
hippocritical
636298bb71
added test_lookahead_helper_export_to_csv
2023-05-27 19:15:35 +02:00
hippocritical
eb31b574c1
added returns to text_table_lookahead_analysis_instances
...
filled in test_lookahead_helper_text_table_lookahead_analysis_instances
2023-05-26 12:55:54 +02:00
Matthias
70a0c2e625
Fix test mishap
2023-05-21 08:21:08 +02:00
Matthias
3e6a2bf9b0
Add parameters for analysis tests ...
2023-05-20 20:12:04 +02:00
Matthias
e73cd1487e
Add somewhat sensible assert
2023-05-20 19:57:26 +02:00
Matthias
9869a21951
Move strategy to it's own directory to avoid having other
2023-05-20 19:51:54 +02:00
Matthias
3f5c18a035
Add some tests as todo
2023-05-20 19:51:54 +02:00
Matthias
e183707979
Further test lookahead_helpers
2023-05-20 19:51:54 +02:00
Matthias
ceddcd9242
Move most of the logic to lookahead_analysis helper
2023-05-20 19:51:54 +02:00
Matthias
d8af0dc9c4
Slightly improve testcase
2023-05-20 19:51:54 +02:00
Matthias
209eb63ede
Add startup test case
2023-05-20 11:28:52 +02:00
Matthias
2e675efa13
Initial fix - test
2023-05-20 11:15:30 +02:00
Matthias
073dac8d5f
Move lookahead analysis tests to optimize subdir
2023-05-20 11:08:22 +02:00