add --limit-max-trades
This commit is contained in:
@@ -109,6 +109,7 @@ def test_start_backtesting(mocker):
|
||||
live=True,
|
||||
loglevel=20,
|
||||
ticker_interval=1,
|
||||
limit_max_trades=True,
|
||||
)
|
||||
start_backtesting(args)
|
||||
assert env_mock == {
|
||||
@@ -116,6 +117,7 @@ def test_start_backtesting(mocker):
|
||||
'BACKTEST_LIVE': 'true',
|
||||
'BACKTEST_CONFIG': 'config.json',
|
||||
'BACKTEST_TICKER_INTERVAL': '1',
|
||||
'BACKTEST_LIMIT_MAX_TRADES': 'true',
|
||||
}
|
||||
assert pytest_mock.call_count == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user