mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
Update tests with correct usdt mock trades
This commit is contained in:
@@ -63,7 +63,7 @@ def mock_trade_usdt_1(fee, is_short: bool):
|
||||
open_rate=10.0,
|
||||
close_rate=8.0,
|
||||
close_profit=-0.2,
|
||||
close_profit_abs=-4.0,
|
||||
close_profit_abs=-4.09,
|
||||
exchange='binance',
|
||||
strategy='SampleStrategy',
|
||||
open_order_id=f'prod_exit_1_{direc(is_short)}',
|
||||
@@ -183,7 +183,7 @@ def mock_trade_usdt_3(fee, is_short: bool):
|
||||
open_rate=1.0,
|
||||
close_rate=1.1,
|
||||
close_profit=0.1,
|
||||
close_profit_abs=9.8425,
|
||||
close_profit_abs=2.8425,
|
||||
exchange='binance',
|
||||
is_open=False,
|
||||
strategy='StrategyTestV2',
|
||||
|
||||
Reference in New Issue
Block a user