Fix missleading variable naming

This commit is contained in:
Matthias
2022-03-16 21:31:34 +01:00
parent 20f02eb773
commit 9b2ec5e653
2 changed files with 9 additions and 7 deletions

View File

@@ -520,7 +520,9 @@ tc28s = BTContainer(data=[
stop_loss=-0.10, roi={"0": 0.10}, profit_perc=-0.03, trailing_stop=True,
trailing_only_offset_is_reached=True, trailing_stop_positive_offset=0.05,
trailing_stop_positive=0.03,
trades=[BTrade(sell_reason=SellType.TRAILING_STOP_LOSS, open_tick=1, close_tick=3, is_short=True)]
trades=[
BTrade(sell_reason=SellType.TRAILING_STOP_LOSS, open_tick=1, close_tick=3, is_short=True)
]
)
# Test 29: trailing_stop should be triggered by low of next candle, without adjusting stoploss using