Wallets should not recalculate close_profit for closed trades

This commit is contained in:
Matthias
2021-02-17 19:50:10 +01:00
parent f367375e5b
commit 37d7d2afd5
3 changed files with 5 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ def mock_trade_2(fee):
open_rate=0.123,
close_rate=0.128,
close_profit=0.005,
close_profit_abs=0.000584127,
exchange='bittrex',
is_open=False,
open_order_id='dry_run_sell_12345',
@@ -141,6 +142,7 @@ def mock_trade_3(fee):
open_rate=0.05,
close_rate=0.06,
close_profit=0.01,
close_profit_abs=0.000155,
exchange='bittrex',
is_open=False,
strategy='DefaultStrategy',