Make trade-close sequence clear for mock trades

This commit is contained in:
Matthias 2021-03-09 19:29:00 +01:00
parent 37e6006169
commit a1902f226d

View File

@ -88,7 +88,7 @@ def mock_trade_2(fee):
timeframe=5,
sell_reason='sell_signal',
open_date=datetime.now(tz=timezone.utc) - timedelta(minutes=20),
close_date=datetime.now(tz=timezone.utc),
close_date=datetime.now(tz=timezone.utc) - timedelta(minutes=2),
)
o = Order.parse_from_ccxt_object(mock_order_2(), 'ETC/BTC', 'buy')
trade.orders.append(o)