Remove wrong comment
This commit is contained in:
parent
68ac8008ec
commit
c981cc335d
@ -373,7 +373,6 @@ class Backtesting:
|
|||||||
current_time=sell_row[DATE_IDX],
|
current_time=sell_row[DATE_IDX],
|
||||||
proposed_rate=closerate, current_profit=current_profit)
|
proposed_rate=closerate, current_profit=current_profit)
|
||||||
# Use the maximum between close_rate and low as we cannot sell outside of a candle.
|
# Use the maximum between close_rate and low as we cannot sell outside of a candle.
|
||||||
# Applies when a new ROI setting comes in place and the whole candle is above that.
|
|
||||||
closerate = min(max(closerate, sell_row[LOW_IDX]), sell_row[HIGH_IDX])
|
closerate = min(max(closerate, sell_row[LOW_IDX]), sell_row[HIGH_IDX])
|
||||||
|
|
||||||
# Confirm trade exit:
|
# Confirm trade exit:
|
||||||
|
Loading…
Reference in New Issue
Block a user