mirror of
https://github.com/artemium428/tvsignals-to-tg.git
synced 2026-09-15 17:16:21 +00:00
Drop the FVG remainder hold note from Telegram captions.
TP1+BE stays; the extra Fix 30% line was redundant. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
cdbda8fea3
commit
d70135e52c
1 changed files with 0 additions and 7 deletions
|
|
@ -132,13 +132,6 @@ def format_caption(signal: SignalPayload) -> str:
|
||||||
lines.append(f"TP2: {format_price(signal.take_profit_2_price)}")
|
lines.append(f"TP2: {format_price(signal.take_profit_2_price)}")
|
||||||
if signal.take_profit_3_price:
|
if signal.take_profit_3_price:
|
||||||
lines.append(f"TP3: {format_price(signal.take_profit_3_price)}")
|
lines.append(f"TP3: {format_price(signal.take_profit_3_price)}")
|
||||||
if hold_remainder:
|
|
||||||
lines.extend(
|
|
||||||
[
|
|
||||||
"",
|
|
||||||
"Fix 30%, hold remainder until reversal signal.",
|
|
||||||
]
|
|
||||||
)
|
|
||||||
if signal.is_reversal and signal.realized_pnl_pct is not None:
|
if signal.is_reversal and signal.realized_pnl_pct is not None:
|
||||||
lines.extend(
|
lines.extend(
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue