--limit-max-trades now --realistic-simulation

This commit is contained in:
qbi
2017-11-24 15:30:54 +01:00
parent bc7f44de40
commit 64f3a31064
3 changed files with 12 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ def test_start_backtesting(mocker):
live=True,
loglevel=20,
ticker_interval=1,
limit_max_trades=True,
realistic_simulation=True,
)
start_backtesting(args)
assert env_mock == {
@@ -117,7 +117,7 @@ def test_start_backtesting(mocker):
'BACKTEST_LIVE': 'true',
'BACKTEST_CONFIG': 'config.json',
'BACKTEST_TICKER_INTERVAL': '1',
'BACKTEST_LIMIT_MAX_TRADES': 'true',
'BACKTEST_REALISTIC_SIMULATION': 'true',
}
assert pytest_mock.call_count == 1