Commit Graph

687 Commits

Author SHA1 Message Date
Matthias 393df83a91 Implement enter_tag initialization to avoid futures warning 2024-01-14 14:33:47 +01:00
Matthias 582f51ccdd Add runmode "dry_run" to default configuration 2024-01-06 18:07:40 +01:00
Matthias eac5d53a64 Add mock to backtest adjust position 2023-12-11 06:48:05 +01:00
Matthias 0bd513012a enhance further test for funding-fee checking 2023-12-10 14:00:21 +01:00
Matthias 3f6cd9ee51 Patch funding_fee calculation for unrelated test 2023-12-10 14:00:06 +01:00
Matthias ef23f0fcba Fix test to account for new funding_fee count 2023-12-10 14:00:06 +01:00
Matthias 778bd7b3b0 enhance further test for funding-fee checking 2023-12-10 13:57:52 +01:00
Matthias b4cd46d6db Further improve funding_Fee test 2023-12-10 13:21:05 +01:00
Matthias 1d73b57e8c Extract some assert values from bt test 2023-12-10 12:57:55 +01:00
Matthias cd09d3567f Add spy test on funding_fees in backtesting 2023-12-09 19:42:13 +01:00
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
2023-11-22 07:21:07 +01:00
Matthias 5a3839320d Remove further usages of Path(tmpdir) 2023-11-05 16:25:23 +01:00
Matthias 555f4b51e1 Further improvements to test setup 2023-11-05 16:23:22 +01:00
Matthias eb409de916 use tmp_path instead of Path(tmpdir) 2023-11-05 16:15:21 +01:00
Matthias 9e77c93a54 Tighten funding-fee variance for backtest 2023-10-11 19:49:33 +02:00
Matthias b65fa98cee Simplify backtesting by using current_time more consequently 2023-10-11 19:45:00 +02: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 659cbd987a Merge pull request #9152 from stash86/bt-metrics
Add recursive-analysis sub-command
2023-09-29 17:59:37 +02:00
Matthias 92d7f27983 Further update test a bit 2023-09-29 07:09:48 +02:00
Matthias 20ea679b2b Add "bias2" test with full lookahead bias 2023-09-29 07:06:11 +02:00
Matthias 39ede449a0 Rename test to avoid naming collision 2023-09-29 06:58:16 +02:00
Matthias a905d1bd67 Assert backtesting liquidation price
Fails for #9205
2023-09-27 06:40:24 +02:00
Matthias a27baf1a51 Improve backtest test 2023-09-27 06:40:24 +02:00
Stefano aba576f79f pre-commit fix 2023-09-21 17:58:20 +09:00
Stefano d92a6d7b73 all tests done 2023-09-21 17:51:37 +09:00
Stefano 89d47ffd8f 4 more tests 2023-09-21 17:47:51 +09:00
Stefano b9e9f82503 first test done 2023-09-21 16:45:43 +09:00
Stefano 08b94a2077 1 test 2023-09-21 14:21:54 +09:00
Stefano Ariestasia 28e43a4867 initial test 2023-09-21 14:00:17 +09:00
Matthias 452e1ab016 get_analyzed_dataframe should provide dataframe with startup candles
closes #7389
2023-08-15 19:43:04 +02:00
Matthias bea6782223 Ensure cutoffs in backtesting are properly tested 2023-08-15 19:33:07 +02:00
Matthias 09ec00888f Don't use global variable in test 2023-08-15 17:31:56 +02:00
Matthias b934644039 Fix tests, explicitly test for missing timerange 2023-08-09 18:36:20 +02:00
Matthias 33eecfa9ef Fix test typo 2023-08-01 06:32:23 +02:00
Matthias 730ae781a9 Add explicit test for get_backtest_metadata 2023-07-31 21:22:22 +02:00
Matthias 1926e642cd Improve backtest_stats storing test 2023-07-30 19:49:20 +02:00
Matthias 380244f8b1 Improve calc_streak, rename method 2023-07-24 07:09:11 +02:00
Matthias a7bd6725f5 Add test to verify consecutive wins / losses calculation 2023-07-24 06:36:16 +02:00
Matthias 626ea6b119 Add backtesting support for order.stake_amount 2023-07-15 14:55:22 +02:00
Matthias e4cd29d88c Add test for trade.cost 2023-07-15 09:02:01 +02:00
Matthias 72504e62ad Extract btstorage methods 2023-06-25 17:42:58 +02:00
Matthias 65e8359908 Improve naming of new file 2023-06-25 17:11:13 +02:00
Matthias 794bca1379 Split optimize report generation from visualization 2023-06-25 17:09:57 +02:00
Matthias 5e084ad2e5 convert optimize_reports to a package 2023-06-25 17:08:41 +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