Commit Graph

819 Commits (92bcf672fb82b3c8a897ea537bfbdbbb287c3225)

Author SHA1 Message Date
Matthias 3bf02c8a64 Simplify hyperopt drawdown logic
2 years ago
Matthias a9732c6195 Fix odd formatting by ruff format
2 years ago
Matthias 4f5bf632fc ruff format: remaining tests
2 years ago
Matthias 644f120ab2 ruff format: tests/hyperopt
2 years ago
Matthias 02075b15e3 ruff format: update more tests
2 years ago
Matthias d8a8b5c125 ruff format: Update more test files
2 years ago
Matthias 099b1fc8c4 ruff format: More updates to tests
2 years ago
Matthias 7090950db6 ruff format: Update a few test files
2 years ago
Matthias 7767ad9d6e Update imports in test directory
2 years ago
Matthias ab93fd3be4 Enhance trade to verify #10166
2 years ago
Matthias ee7be1cd5a move "add_bt_trade" call for entries into enter_trade function
2 years ago
Matthias f259270e9c Update tests to properly mock fee
2 years ago
Matthias 3a2e3215b9 Ensure get_fee returns something in tests
2 years ago
Matthias 35408966f4 Fix remaining user_data leaks
2 years ago
Matthias ad12c98d10 Avoid having test-result influence from user_data/
2 years ago
Matthias 226eaf0d0a Filter deprecation warning - it's a dependency ...
2 years ago
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
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
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
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
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
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
3 years ago
hippocritical 0ed84fbcc1 added test_initialize_single_lookahead_analysis
3 years ago
hippocritical a7426755bc added a check for bias1.
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
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
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
Matthias bcdf4e0fe8 Use variable for exchange mocks to shorten lines
3 years ago
Matthias d014e4590e use Path.open() instead of open
3 years ago
Matthias bb355cfac5 improve naming of backtest function
3 years ago
Matthias 80bb120026 Simplify backtesting by removing now unnecessary private function
3 years ago
Matthias 1211b72255 Add test to show behavior reported in #7978
3 years ago
Matthias 865d678304 Add backtest_detail test for futures
3 years ago
Matthias 28e51e2dfb Simplify some test setups
3 years ago
Matthias a5d87859dc Refactor test to reuse variable
3 years ago
Antonio Della Fortuna 5e10bb2cca Merge branch 'develop' of https://github.com/freqtrade/freqtrade into max-open-trades
3 years ago
Antonio Della Fortuna ab12aace5f changed `trades_space` to `max_open_trades_space`
3 years ago
Antonio Della Fortuna b0f1d914c8 Changed max_open_trades type to int or inf
3 years ago
Matthias cbcee02ded call data migration from backtesting
3 years ago
Matthias 4ea8962ca2 Rename futures test data
3 years ago
Antonio Della Fortuna 7d27afd4b8 Fixed test broken due to change in trades_space range
3 years ago
Antonio Della Fortuna 24ace646c3 Merge branch 'develop' of https://github.com/freqtrade/freqtrade into max-open-trades
3 years ago
Antonio Della Fortuna 464cb4761c Fixed max_open_trades update from hyperopt
3 years ago
Matthias 34dbe9deaa Improve fixture fake results
3 years ago
Antonio Della Fortuna 5fd85368a9 Added support for max_open_trades hyperopting
3 years ago
Matthias cd4faa9c59 keep max_stake_amount through backtests
3 years ago
Matthias 882e68c68b Rename backtest-result from new to "not new".
3 years ago
Matthias 2219d2f491
Merge pull request #7707 from freqtrade/bt/full_detail
3 years ago
Matthias d48a9ae96d Add leverage to backtest results
4 years ago
Matthias ded57fb301 Remove no longer valid test part
4 years ago
Matthias 5bd3e54b17 Add test for detail backtesting
4 years ago
Matthias 29ba263c3c Update some test parameters
4 years ago
Matthias 25b8d34fe2 Update backtesting test
4 years ago
Matthias c3d4fb9f1b Simplify backtest calling interface
4 years ago
Matthias 6252ae466e Convert position_stacking to attribute of backtest
4 years ago
Evgeniy Vladimirov de9f5660f3 Fix counting available trade slots in backtesting.
4 years ago
Matthias 7672586de9 Fix unreliable hyperopt test
4 years ago
Matthias 016e438468 Calculate market-change in hyperopt
4 years ago
Matthias 578da343dc
Merge pull request #7491 from freqtrade/partial_close_leverage
4 years ago
Matthias b4fb28e4ef Update tests for new dataload strategy
4 years ago
Matthias 8eda3a45a3 Test backest detail with leverage
4 years ago