Add test for sell order refind, improve overall test for this function

This commit is contained in:
Matthias
2020-09-10 08:03:26 +02:00
parent 3c521f55b2
commit 23f569ea38
2 changed files with 56 additions and 6 deletions

View File

@@ -274,6 +274,6 @@ def mock_trade_6(fee):
)
o = Order.parse_from_ccxt_object(mock_order_6(), 'LTC/BTC', 'buy')
trade.orders.append(o)
o = Order.parse_from_ccxt_object(mock_order_6_sell(), 'LTC/BTC', 'stoploss')
o = Order.parse_from_ccxt_object(mock_order_6_sell(), 'LTC/BTC', 'sell')
trade.orders.append(o)
return trade