mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-05-02 06:56:50 +00:00
Merge branch 'develop' into pr/froggleston/7861
This commit is contained in:
9
tests/data/test_entryexitanalysis.py
Executable file → Normal file
9
tests/data/test_entryexitanalysis.py
Executable file → Normal file
@@ -190,6 +190,15 @@ def test_backtest_analysis_nomock(default_conf, mocker, caplog, testdatadir, tmp
|
||||
assert '1' in captured.out
|
||||
assert '2.5' in captured.out
|
||||
|
||||
# test group 5
|
||||
args = get_args(base_args + ['--analysis-groups', "5"])
|
||||
start_analysis_entries_exits(args)
|
||||
captured = capsys.readouterr()
|
||||
assert 'exit_signal' in captured.out
|
||||
assert 'roi' in captured.out
|
||||
assert 'stop_loss' in captured.out
|
||||
assert 'trailing_stop_loss' in captured.out
|
||||
|
||||
# test date filtering
|
||||
args = get_args(base_args +
|
||||
['--analysis-groups', "0", "1", "2",
|
||||
|
||||
Reference in New Issue
Block a user