update sell_reason to exit_reason
This commit is contained in:
@@ -32,7 +32,7 @@ def generate_mock_trade(pair: str, fee: float, is_open: bool,
|
||||
trade.recalc_open_trade_value()
|
||||
if not is_open:
|
||||
trade.close(open_rate * profit_rate)
|
||||
trade.sell_reason = sell_reason
|
||||
trade.exit_reason = sell_reason
|
||||
|
||||
return trade
|
||||
|
||||
|
Reference in New Issue
Block a user