Add more info on status message
This commit is contained in:
@@ -108,6 +108,9 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
|
||||
'stoploss_entry_dist_ratio': -0.10448878,
|
||||
'open_order': None,
|
||||
'exchange': 'binance',
|
||||
'position_adjustment_enable': False,
|
||||
'filled_buys': {'0': {'amount': 91.07468123, 'average': 1.098e-05,
|
||||
'cost': 0.0009999999999054, 'order_filled_date': ANY, 'price': 1.098e-05}},
|
||||
}
|
||||
|
||||
mocker.patch('freqtrade.exchange.Exchange.get_rate',
|
||||
@@ -175,6 +178,9 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
|
||||
'stoploss_entry_dist_ratio': -0.10448878,
|
||||
'open_order': None,
|
||||
'exchange': 'binance',
|
||||
'position_adjustment_enable': False,
|
||||
'filled_buys': {'0': {'amount': 91.07468123, 'average': 1.098e-05,
|
||||
'cost': 0.0009999999999054, 'order_filled_date': ANY, 'price': 1.098e-05}},
|
||||
}
|
||||
|
||||
|
||||
|
@@ -903,6 +903,7 @@ def test_to_json(default_conf, fee):
|
||||
'buy_tag': None,
|
||||
'timeframe': None,
|
||||
'exchange': 'binance',
|
||||
'filled_buys': {}
|
||||
}
|
||||
|
||||
# Simulate dry_run entries
|
||||
@@ -970,6 +971,7 @@ def test_to_json(default_conf, fee):
|
||||
'buy_tag': 'buys_signal_001',
|
||||
'timeframe': None,
|
||||
'exchange': 'binance',
|
||||
'filled_buys': {}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user