mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
test: Update test for new to-json field
This commit is contained in:
parent
f8de46cea9
commit
54bc60b08f
|
@ -1404,6 +1404,7 @@ def test_to_json(fee):
|
|||
exchange="binance",
|
||||
enter_tag=None,
|
||||
precision_mode=1,
|
||||
precision_mode_price=1,
|
||||
amount_precision=8.0,
|
||||
price_precision=7.0,
|
||||
contract_size=1,
|
||||
|
@ -1473,6 +1474,7 @@ def test_to_json(fee):
|
|||
"amount_precision": 8.0,
|
||||
"price_precision": 7.0,
|
||||
"precision_mode": 1,
|
||||
"precision_mode_price": 1,
|
||||
"contract_size": 1,
|
||||
"orders": [],
|
||||
"has_open_orders": False,
|
||||
|
@ -1493,6 +1495,7 @@ def test_to_json(fee):
|
|||
enter_tag="buys_signal_001",
|
||||
exchange="binance",
|
||||
precision_mode=2,
|
||||
precision_mode_price=1,
|
||||
amount_precision=7.0,
|
||||
price_precision=8.0,
|
||||
contract_size=1,
|
||||
|
@ -1562,6 +1565,7 @@ def test_to_json(fee):
|
|||
"amount_precision": 7.0,
|
||||
"price_precision": 8.0,
|
||||
"precision_mode": 2,
|
||||
"precision_mode_price": 1,
|
||||
"contract_size": 1,
|
||||
"orders": [],
|
||||
"has_open_orders": False,
|
||||
|
|
Loading…
Reference in New Issue
Block a user