Christian Clauss
99b4767bf4
Fix typos discovered by codespell
2 years ago
Matthias
3dd7c1e492
Add test for market_change writing
2 years ago
Matthias
e09abfdc75
Split enter and exit rows to use different values
2 years ago
Matthias
eaec5065a1
Define liquidation price only once in adjustment test
2 years ago
Matthias
0906f050e5
Fix remaining tests
2 years ago
Matthias
1551f92832
Fix a few tests
2 years ago
Matthias
7895eeb3b6
Fix tests after modified output
2 years ago
Matthias
ea634e5cef
Add test for backtesting
2 years ago
Matthias
c0e9726f49
don't use "1M" - but be explicit in the intend
2 years ago
Matthias
d6b01a6ffe
Assert for exact equality
2 years ago
Matthias
01266ed7eb
Align test results ...
2 years ago
Matthias
f4ad1e8020
chore: Remove wrong typehint
2 years ago
Matthias
73e2e034ae
Remove unused argument
2 years ago
Matthias
d1a96af5e8
Add ft_order_Tag to backtest test
2 years ago
Matthias
d664e76834
Add some tests
2 years ago
Matthias
8d72ee358c
Improve code styles ...
2 years ago
Matthias
393df83a91
Implement enter_tag initialization to avoid futures warning
2 years ago
Matthias
582f51ccdd
Add runmode "dry_run" to default configuration
2 years ago
Matthias
eac5d53a64
Add mock to backtest adjust position
2 years ago
Matthias
0bd513012a
enhance further test for funding-fee checking
2 years ago
Matthias
3f6cd9ee51
Patch funding_fee calculation for unrelated test
2 years ago
Matthias
ef23f0fcba
Fix test to account for new funding_fee count
2 years ago
Matthias
778bd7b3b0
enhance further test for funding-fee checking
2 years ago
Matthias
b4cd46d6db
Further improve funding_Fee test
2 years ago
Matthias
1d73b57e8c
Extract some assert values from bt test
2 years ago
Matthias
cd09d3567f
Add spy test on funding_fees in backtesting
2 years ago
Matthias
6963a92332
Improve hyperopt Tests
...
ensure scikit-learn has to generate new random points by reducing initial points
this will uncover a failure in newer scikit-learn versions
2 years ago
Matthias
5a3839320d
Remove further usages of Path(tmpdir)
2 years ago
Matthias
555f4b51e1
Further improvements to test setup
2 years ago
Matthias
eb409de916
use tmp_path instead of Path(tmpdir)
2 years ago
Matthias
9e77c93a54
Tighten funding-fee variance for backtest
3 years ago
Matthias
b65fa98cee
Simplify backtesting by using current_time more consequently
3 years ago
Matthias
4809c9f07a
Adjust tests for new naming
3 years ago
Matthias
4db7962048
Update tests to new structure
3 years ago
Matthias
659cbd987a
Merge pull request #9152 from stash86/bt-metrics
...
Add recursive-analysis sub-command
3 years ago
Matthias
92d7f27983
Further update test a bit
3 years ago
Matthias
20ea679b2b
Add "bias2" test with full lookahead bias
3 years ago
Matthias
39ede449a0
Rename test to avoid naming collision
3 years ago
Matthias
a905d1bd67
Assert backtesting liquidation price
...
Fails for #9205
3 years ago
Matthias
a27baf1a51
Improve backtest test
3 years ago
Stefano
aba576f79f
pre-commit fix
3 years ago
Stefano
d92a6d7b73
all tests done
3 years ago
Stefano
89d47ffd8f
4 more tests
3 years ago
Stefano
b9e9f82503
first test done
3 years ago
Stefano
08b94a2077
1 test
3 years ago
Stefano Ariestasia
28e43a4867
initial test
3 years ago
Matthias
452e1ab016
get_analyzed_dataframe should provide dataframe with startup candles
...
closes #7389
3 years ago
Matthias
bea6782223
Ensure cutoffs in backtesting are properly tested
3 years ago
Matthias
09ec00888f
Don't use global variable in test
3 years ago
Matthias
b934644039
Fix tests, explicitly test for missing timerange
3 years ago
Matthias
33eecfa9ef
Fix test typo
3 years ago
Matthias
730ae781a9
Add explicit test for get_backtest_metadata
3 years ago
Matthias
1926e642cd
Improve backtest_stats storing test
3 years ago
Matthias
380244f8b1
Improve calc_streak, rename method
3 years ago
Matthias
a7bd6725f5
Add test to verify consecutive wins / losses calculation
3 years ago
Matthias
626ea6b119
Add backtesting support for order.stake_amount
3 years ago
Matthias
e4cd29d88c
Add test for trade.cost
3 years ago
Matthias
72504e62ad
Extract btstorage methods
3 years ago
Matthias
65e8359908
Improve naming of new file
3 years ago
Matthias
794bca1379
Split optimize report generation from visualization
3 years ago
Matthias
5e084ad2e5
convert optimize_reports to a package
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
fc887efd4b
Merge branch 'freqtrade:develop' into develop
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
Matthias
35a388bf9a
Don't force min_roi to have content
3 years ago
hippocritical
05f0b32e3b
Merge remote-tracking branch 'origin/develop' into develop
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
hippocritical
9366c77e42
Merge branch 'freqtrade:develop' into develop
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
Matthias
261822147c
Fix remaining arrow testcases
3 years ago
Matthias
7a2ff60255
Fix more tests
3 years ago
Matthias
29fdcdbf56
reduce arrow in tests
3 years ago
Matthias
8dd8c24595
Merge branch 'develop' into pr/froggleston/7861
3 years ago
Matthias
d1e9e70396
Improve Resample-period test
3 years ago
Matthias
7ff35fea3c
Default weekly report to monday
...
closes #8502
3 years ago
Matthias
72284317c2
Fix failing backtest test
3 years ago
Matthias
b09fb5826f
don't use "can_short" in backtesting to determine application of leverage
3 years ago
Matthias
7cdcd97c26
Update tests for new logic.
3 years ago
Matthias
222ecdecd2
Improve code quality
3 years ago
Matthias
cd9c2c4c23
Merge branch 'develop' into pr/froggleston/7861
3 years ago
Matthias
af6fc886f6
Small refactor for new methods
3 years ago
Matthias
2c7ae756f5
Improve mock behavior
3 years ago
Matthias
2ca8b0b12e
Update more exchange mocks to use EXMS
3 years ago