Add some more detailed tests, testing only calculation

This commit is contained in:
Matthias
2022-06-14 19:42:28 +02:00
parent 060f12572e
commit fbee18d334
2 changed files with 90 additions and 3 deletions

View File

@@ -5782,12 +5782,11 @@ def test_position_adjust3(mocker, default_conf_usdt, fee, data) -> None:
get_fee=fee,
)
pair = 'ETH/USDT'
# Initial buy
closed_successful_order = {
'pair': pair,
'ft_pair': pair,
'ft_order_side': 'buy',
'side': 'buy',
'ft_order_side': order[0],
'side': order[0],
'type': 'limit',
'status': 'closed',
'price': price,