Heartbeat-ul periodic (activ/IDLE la 30 min) e oprit implicit (heartbeat_min = 0). Semnalul „alive" devin alertele zilnice „🟢 Piața deschisă" / „🔴 Piața închisă", emise pe tranziția ferestrei (operating_hours AND /window) independent de pauză — body-ul spune dacă monitorizarea e pauzată manual sau pe drift. /window era doar în memorie și se pierdea la repornire (09-09), așa că programul revenea la 16:30–23:00 și trimitea mesaje înainte/după fereastra 19:30–22:00. Acum e persistat în logs/session_window.json și restaurat la pornire; /window off șterge fișierul. /status afișează blocul de fereastră: deschisă/închisă + următoarea deschidere/închidere (ora locală), /window, orele bursei cu echivalentul local, și config | heartbeat. Config activ: heartbeat_min = 0; include și baseline_phash rescris de auto-rebase-ul canary din 09-09. DOX pass: notifier + configs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Em4jtmh4pRpYMdyd9ueHYF
99 lines
1.6 KiB
TOML
99 lines
1.6 KiB
TOML
window_title = "m2d"
|
|
|
|
[dot_roi]
|
|
x = 0
|
|
y = 720
|
|
w = 1796
|
|
h = 40
|
|
|
|
[chart_roi]
|
|
x = 17
|
|
y = 125
|
|
w = 1767
|
|
h = 567
|
|
|
|
[colors]
|
|
|
|
[colors.turquoise]
|
|
rgb = [0, 253, 253]
|
|
tolerance = 60.0
|
|
|
|
[colors.yellow]
|
|
rgb = [253, 253, 0]
|
|
tolerance = 60.0
|
|
|
|
[colors.dark_green]
|
|
rgb = [0, 122, 0]
|
|
tolerance = 60.0
|
|
|
|
[colors.dark_red]
|
|
rgb = [128, 0, 0]
|
|
tolerance = 60.0
|
|
|
|
[colors.light_green]
|
|
rgb = [0, 255, 0]
|
|
tolerance = 60.0
|
|
|
|
[colors.light_red]
|
|
rgb = [255, 0, 0]
|
|
tolerance = 60.0
|
|
|
|
[colors.gray]
|
|
rgb = [128, 128, 128]
|
|
tolerance = 60.0
|
|
|
|
[colors.background]
|
|
rgb = [0, 0, 0]
|
|
tolerance = 25.0
|
|
|
|
[y_axis]
|
|
p1_y = 166
|
|
p1_price = 485.2
|
|
p2_y = 664
|
|
p2_price = 483.2
|
|
|
|
[canary]
|
|
baseline_phash = "fbe145390c1abec23204017757a326b8e37077288ef79947310a89c70e07ffff"
|
|
drift_threshold = 8
|
|
|
|
[canary.roi]
|
|
x = 26
|
|
y = 27
|
|
w = 197
|
|
h = 15
|
|
|
|
[chart_window_region]
|
|
x = 3
|
|
y = 0
|
|
w = 1918
|
|
h = 1029
|
|
|
|
# Secretele Discord/Telegram se setează în .env la rădăcina proiectului — vezi .env.example.
|
|
|
|
[options]
|
|
debounce_depth = 1
|
|
loop_interval_s = 5.0
|
|
heartbeat_min = 0 # 0 = fără heartbeat periodic; alive = mesajele de deschidere/închidere
|
|
lockout_s = 240
|
|
low_conf_threshold = 0.2
|
|
low_conf_run = 3
|
|
phaseb_timeout_s = 600
|
|
dead_letter_path = "logs/dead_letter.jsonl"
|
|
|
|
[options.alerts]
|
|
fire_on_phase_skip = true
|
|
|
|
[options.operating_hours]
|
|
enabled = true
|
|
timezone = "America/New_York"
|
|
weekdays = ["MON", "TUE", "WED", "THU", "FRI"]
|
|
start_hhmm = "09:30"
|
|
stop_hhmm = "16:00"
|
|
|
|
[options.attach_screenshots]
|
|
late_start = true
|
|
catchup = true
|
|
arm = true
|
|
prime = true
|
|
trigger = true
|