Files
hermes_weatherbot/data/markets/atlanta_2026-04-18.json
T
John Doe f19655cb08 Add Telegram notifications for trade signals and scan summaries
- Add requests + logging imports
- Add TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID to config
- Add send_telegram(), tg_signal(), tg_scan_summary() functions
- Configure SOCKS5h proxy (socks5h://127.0.0.1:6922) for Telegram API
- Send tg_signal() on order filled/failed in scan_and_trade()
- Send tg_scan_summary() after each scan cycle
- Update config.json with bot token and chat ID
2026-04-18 16:53:02 +08:00

194 lines
4.3 KiB
JSON

{
"city": "atlanta",
"city_name": "Atlanta",
"date": "2026-04-18",
"unit": "F",
"station": "KATL",
"event_end_date": "2026-04-18T12:00:00Z",
"hours_at_discovery": 5.4,
"status": "open",
"position": null,
"actual_temp": null,
"resolved_outcome": null,
"pnl": null,
"forecast_snapshots": [
{
"ts": "2026-04-18T06:33:52.905589+00:00",
"horizon": "D+0",
"hours_left": 5.4,
"ecmwf": 86,
"hrrr": 86,
"metar": 71,
"best": 86,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:35:22.555950+00:00",
"horizon": "D+0",
"hours_left": 4.4,
"ecmwf": 86,
"hrrr": 86,
"metar": 69,
"best": 86,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:52.905589+00:00",
"top_bucket": "86.0-87.0F",
"top_price": 0.465
},
{
"ts": "2026-04-18T07:35:22.555950+00:00",
"top_bucket": "86.0-87.0F",
"top_price": 0.435
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Atlanta be 75°F or below on April 18?",
"market_id": "1996388",
"range": [
-999.0,
75.0
],
"bid": 0.0015,
"ask": 0.9985,
"price": 0.0015,
"spread": 0.997,
"volume": 9635.0
},
{
"question": "Will the highest temperature in Atlanta be between 76-77°F on April 18?",
"market_id": "1996389",
"range": [
76.0,
77.0
],
"bid": 0.0015,
"ask": 0.9985,
"price": 0.0015,
"spread": 0.997,
"volume": 5461.0
},
{
"question": "Will the highest temperature in Atlanta be between 78-79°F on April 18?",
"market_id": "1996390",
"range": [
78.0,
79.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 3671.0
},
{
"question": "Will the highest temperature in Atlanta be between 80-81°F on April 18?",
"market_id": "1996391",
"range": [
80.0,
81.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 6139.0
},
{
"question": "Will the highest temperature in Atlanta be between 82-83°F on April 18?",
"market_id": "1996392",
"range": [
82.0,
83.0
],
"bid": 0.0085,
"ask": 0.9915,
"price": 0.0085,
"spread": 0.983,
"volume": 4523.0
},
{
"question": "Will the highest temperature in Atlanta be between 84-85°F on April 18?",
"market_id": "1996393",
"range": [
84.0,
85.0
],
"bid": 0.165,
"ask": 0.835,
"price": 0.165,
"spread": 0.67,
"volume": 2456.0
},
{
"question": "Will the highest temperature in Atlanta be between 86-87°F on April 18?",
"market_id": "1996394",
"range": [
86.0,
87.0
],
"bid": 0.435,
"ask": 0.565,
"price": 0.435,
"spread": 0.13,
"volume": 2685.0
},
{
"question": "Will the highest temperature in Atlanta be between 88-89°F on April 18?",
"market_id": "1996395",
"range": [
88.0,
89.0
],
"bid": 0.295,
"ask": 0.705,
"price": 0.295,
"spread": 0.41,
"volume": 3354.0
},
{
"question": "Will the highest temperature in Atlanta be between 90-91°F on April 18?",
"market_id": "1996396",
"range": [
90.0,
91.0
],
"bid": 0.0215,
"ask": 0.9785,
"price": 0.0215,
"spread": 0.957,
"volume": 3009.0
},
{
"question": "Will the highest temperature in Atlanta be between 92-93°F on April 18?",
"market_id": "1996397",
"range": [
92.0,
93.0
],
"bid": 0.006,
"ask": 0.994,
"price": 0.006,
"spread": 0.988,
"volume": 2358.0
},
{
"question": "Will the highest temperature in Atlanta be 94°F or higher on April 18?",
"market_id": "1996398",
"range": [
94.0,
999.0
],
"bid": 0.006,
"ask": 0.994,
"price": 0.006,
"spread": 0.988,
"volume": 1319.0
}
],
"created_at": "2026-04-18T06:33:56.159071+00:00"
}