Timestamps are in ms

This commit is contained in:
Matthias
2020-08-13 15:39:29 +02:00
parent 73182bb2dd
commit 0af9e913d4
5 changed files with 15 additions and 7 deletions

View File

@@ -807,7 +807,7 @@ def test_dry_run_order(default_conf, mocker, side, exchange_name):
assert f'dry_run_{side}_' in order["id"]
assert order["side"] == side
assert order["type"] == "limit"
assert order["pair"] == "ETH/BTC"
assert order["symbol"] == "ETH/BTC"
@pytest.mark.parametrize("side", [

View File

@@ -1194,6 +1194,7 @@ def test_handle_stoploss_on_exchange(mocker, default_conf, fee, caplog,
assert trade
stoploss_order_hit = MagicMock(return_value={
'id': 100,
'status': 'closed',
'type': 'stop_loss_limit',
'price': 3,