Wallets should not recalculate close_profit for closed trades
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user