Commit Graph

149 Commits (develop)

Author SHA1 Message Date
Matthias a7bd6725f5 Add test to verify consecutive wins / losses calculation
3 years ago
Matthias 72504e62ad Extract btstorage methods
3 years ago
Matthias 5e084ad2e5 convert optimize_reports to a package
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 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 d014e4590e use Path.open() instead of open
3 years ago
Matthias 882e68c68b Rename backtest-result from new to "not new".
3 years ago
Matthias 2a5bc58df8 Split datahandler and history tests
4 years ago
Matthias 37fcbeba58 Update backtesting output wording to Entries
4 years ago
Matthias 3c62df6b86 Ensure the same timestamp is used for backtest and signal export
4 years ago
eSeR1805 bb7ffd8fbe
Update testcases relying on BT results.
4 years ago
eSeR1805 99aea454b5
Update testcases to match reporting.
4 years ago
froggleston b3cb722646 Use joblib instead of pickle, add signal candle read/write test, move docs to new Advanced Backtesting doc
4 years ago
froggleston 3ad1411f5e Fix imports
4 years ago
froggleston 84f486295d Add tests for new storing of backtest signal candles
4 years ago
Matthias 4254d86658 Move test-backtestfiles to separate directory
4 years ago
Matthias baefda80d1 Enable flake8 E226 rule
4 years ago
Matthias 54ad130bb9 Update force_sell to force_exit
4 years ago
Matthias 543aa74278 update sell_reason to exit_reason
4 years ago
Matthias dcfa3e8648 Update SellType to ExitType
4 years ago
Matthias 08777abd85 Update backtesting output terminology to "exit"
4 years ago
Matthias 0c6d92a7a6 Merge branch 'develop' into feat/short
4 years ago
Matthias 85767d0d70 Add timedout_*_orders to tests
4 years ago
Matthias f090dcc597 Merge branch 'develop' into feat/short
4 years ago
Rokas Kupstys 16861db653 Implement previous backtest result reuse when config and strategy did not change.
4 years ago
Matthias 46809f08fe Merge branch 'develop' into feat/short
4 years ago
Matthias 1203d08d1e generate_pair_metrics does not need processed dict
4 years ago
Matthias 4e2b9203d7 Remove no longer used BT_DATA_COLUMNS_MID
4 years ago
Matthias 2ca90577a6 Update strategy-comparison test
4 years ago
Matthias 2ecaf9f8b4 Update backtest-result test-files to latest format
4 years ago
Matthias 09fae25c94 Fix some tests after drawdown calculation change
4 years ago
Matthias 0a50017c84 Add long/short support to backtesting
5 years ago
Matthias ebc38159b8 Merge branch 'develop' into feat/short
5 years ago
Matthias 20904f1ca4 Add tests for new command
5 years ago
Matthias 72ecb45d86 Add test for backtest_show logic
5 years ago
Sam Germain aed22f7dad Merge branch 'develop' into feat/short
5 years ago
Matthias e458c9867a Styling fixes
5 years ago
Matthias 7b5346b984 Add test for breakdown-stats
5 years ago
Matthias c791b95405 Use new TestStrategy (V3) by default in tests
5 years ago
Matthias 6d96b11279 Rename DefaultStrategy
5 years ago
Matthias 89b9915c12 Update imports for SellType in tests
5 years ago
Matthias 08f96df3ac Don't write to testdir, but to tempdir
5 years ago
Matthias a39860e0de Add tests for rejected signals
5 years ago
Matthias 916ece6a29 More realistic testcase for results
5 years ago
Rokas Kupstys 25cc4eae96 Fix tests that broke after table formatting changed.
5 years ago
Rokas Kupstys e1dc1357ce Add drawdown column to strategy summary table.
5 years ago
Matthias 5f5597b93f Better test hyperopt writing and reading
5 years ago
Matthias 7398ea88e0 Change optimize_reports to convert dates to string earlier
5 years ago
Matthias 852f125347 Fix tests
5 years ago
Matthias 545cba7fd8 Refactor optimize_report
5 years ago
Matthias b125c975c7 Rename strategy_comparison method
5 years ago
Matthias f65092459a Fix optimize_reports test
5 years ago
Matthias 72f21fc5ec Add trade-volume metric
5 years ago
Matthias 35e6a9ab3a Backtest-reports should calculate total gains based on starting capital
5 years ago
Matthias 712d503e6c Use sell-reason value in backtesting, not the enum object
5 years ago
Matthias 8ee264bc59 Don't use profit_percent for backtesting results anymore
5 years ago
Matthias 48977493bb Backtesting does not need to convert to BacktestResult object
5 years ago
Matthias 0b65fe6afe Capture backtest start / end time
5 years ago
Matthias 378a252ad1 Fix #4161 - by not using the problematic method for windows
5 years ago
Matthias effc96e92b Improve tests for backtest protections
6 years ago
Matthias 9df366d943 Apply isort to tests
6 years ago
Matthias bb27b236ce Remove unused arguments
6 years ago
Matthias ff3e2641ae generate_backtest_stats must take config options from the strategy
6 years ago
Matthias 378f03a5b1 Add relevant parameters to stored backtest result
6 years ago
Matthias 4f1179d85c Test for empty case
6 years ago
Matthias 4eb17b4daf Remove unneeded function
6 years ago
Matthias 0d15a87af8 Remove old store_backtest method
6 years ago
Matthias 523437d970 Add tst for daily stats
6 years ago
Matthias 2ed808da1f Extract .last_result.json to constant
6 years ago
Matthias 59e0ca0aaa Add pairlist to backtest-result
6 years ago
Matthias 59ac4b9c9a Test writing statistics
6 years ago
Matthias 03ab61959b Add test for generate_backtest_stats
6 years ago
Matthias 0fa56be9d2 remove openIndex and closeIndex from backtest-report
6 years ago
Matthias 2881718733 Adapt tests for new column names
6 years ago
Matthias 070913f327 Rename text_table generation
6 years ago
Matthias 499c6772d1 Rename tabulate methods
6 years ago
Matthias 6a9a8f927e Rename some methods, improve some testing
6 years ago
Matthias 027ea64d48 Fix docstrings, extract strategy-list results
6 years ago
Matthias db257e9f7f Rename method to be public
6 years ago
Matthias 18a2dad684 Extract data generation from generate_text_table
6 years ago
Matthias e1362755d2 Add test for sell_reason_stats
6 years ago
Matthias 876a9e4f44 finish refactor of sell_reason table
6 years ago
Matthias ac008a4758 Remove obsolete comment in tests
6 years ago
Matthias cf6e6488c7 Fix filename handling with --strategy-list
6 years ago
Matthias 3d4664c2a6 Remove unnecessary import
6 years ago
Matthias fe50a0f3a1 Move test for store_bt_results to optimize_reports
6 years ago
Matthias 328dbd3930 Remove unnecessary parameter to generate_text_table_sell_reason
6 years ago
Fredrik81 55d471190a Changed table style of backtesting and alignment of headers
6 years ago
Yazeed Al Oyoun aa2cb937b1 flake8 :)
6 years ago
Yazeed Al Oyoun ff819386e1 added draws to backtesting tables, reduced len of some labels to help fit this without increasing total width
6 years ago
Yazeed Al Oyoun 5b00eaa42d
Updated Strategy Summary table to match other backtesting tables (#2864)
6 years ago
Yazeed Al Oyoun e2b3907df5 more consistent backtesting tables and labels
6 years ago
Matthias 785cd2a640 Rename test module
6 years ago