parent
edf8e39bc1
commit
1a5dba9a79
@ -65,6 +65,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
|
|||||||
'min_rate': ANY,
|
'min_rate': ANY,
|
||||||
'max_rate': ANY,
|
'max_rate': ANY,
|
||||||
'strategy': ANY,
|
'strategy': ANY,
|
||||||
|
'ticker_interval': ANY,
|
||||||
'timeframe': ANY,
|
'timeframe': ANY,
|
||||||
'open_order_id': ANY,
|
'open_order_id': ANY,
|
||||||
'close_date': None,
|
'close_date': None,
|
||||||
@ -123,6 +124,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
|
|||||||
'min_rate': ANY,
|
'min_rate': ANY,
|
||||||
'max_rate': ANY,
|
'max_rate': ANY,
|
||||||
'strategy': ANY,
|
'strategy': ANY,
|
||||||
|
'ticker_interval': ANY,
|
||||||
'timeframe': ANY,
|
'timeframe': ANY,
|
||||||
'open_order_id': ANY,
|
'open_order_id': ANY,
|
||||||
'close_date': None,
|
'close_date': None,
|
||||||
|
@ -322,7 +322,7 @@ def test_api_show_config(botclient, mocker):
|
|||||||
assert_response(rc)
|
assert_response(rc)
|
||||||
assert 'dry_run' in rc.json
|
assert 'dry_run' in rc.json
|
||||||
assert rc.json['exchange'] == 'bittrex'
|
assert rc.json['exchange'] == 'bittrex'
|
||||||
assert rc.json['timeframe'] == '5m'
|
assert rc.json['ticker_interval'] == '5m'
|
||||||
assert rc.json['state'] == 'running'
|
assert rc.json['state'] == 'running'
|
||||||
assert not rc.json['trailing_stop']
|
assert not rc.json['trailing_stop']
|
||||||
|
|
||||||
@ -547,6 +547,7 @@ def test_api_status(botclient, mocker, ticker, fee, markets):
|
|||||||
'sell_reason': None,
|
'sell_reason': None,
|
||||||
'sell_order_status': None,
|
'sell_order_status': None,
|
||||||
'strategy': 'DefaultStrategy',
|
'strategy': 'DefaultStrategy',
|
||||||
|
'ticker_interval': 5,
|
||||||
'timeframe': 5,
|
'timeframe': 5,
|
||||||
'exchange': 'bittrex',
|
'exchange': 'bittrex',
|
||||||
}]
|
}]
|
||||||
@ -670,6 +671,7 @@ def test_api_forcebuy(botclient, mocker, fee):
|
|||||||
'sell_reason': None,
|
'sell_reason': None,
|
||||||
'sell_order_status': None,
|
'sell_order_status': None,
|
||||||
'strategy': None,
|
'strategy': None,
|
||||||
|
'ticker_interval': None,
|
||||||
'timeframe': None,
|
'timeframe': None,
|
||||||
'exchange': 'bittrex',
|
'exchange': 'bittrex',
|
||||||
}
|
}
|
||||||
|
@ -776,6 +776,7 @@ def test_to_json(default_conf, fee):
|
|||||||
'min_rate': None,
|
'min_rate': None,
|
||||||
'max_rate': None,
|
'max_rate': None,
|
||||||
'strategy': None,
|
'strategy': None,
|
||||||
|
'ticker_interval': None,
|
||||||
'timeframe': None,
|
'timeframe': None,
|
||||||
'exchange': 'bittrex',
|
'exchange': 'bittrex',
|
||||||
}
|
}
|
||||||
@ -837,6 +838,7 @@ def test_to_json(default_conf, fee):
|
|||||||
'sell_reason': None,
|
'sell_reason': None,
|
||||||
'sell_order_status': None,
|
'sell_order_status': None,
|
||||||
'strategy': None,
|
'strategy': None,
|
||||||
|
'ticker_interval': None,
|
||||||
'timeframe': None,
|
'timeframe': None,
|
||||||
'exchange': 'bittrex',
|
'exchange': 'bittrex',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user