mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Support trailing_stop_positive options in BTContainer
This commit is contained in:
parent
a4d8424268
commit
b64b6a2583
|
@ -29,6 +29,10 @@ class BTContainer(NamedTuple):
|
|||
trades: List[BTrade]
|
||||
profit_perc: float
|
||||
trailing_stop: bool = False
|
||||
trailing_only_offset_is_reached: bool = False
|
||||
trailing_stop_positive: float = None
|
||||
trailing_stop_positive_offset: float = 0.0
|
||||
use_sell_signal: bool = False
|
||||
|
||||
|
||||
def _get_frame_time_from_offset(offset):
|
||||
|
|
Loading…
Reference in New Issue
Block a user