Files
hermes_weatherbot/data/markets/dallas_2026-04-20.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.2 KiB
JSON

{
"city": "dallas",
"city_name": "Dallas",
"date": "2026-04-20",
"unit": "F",
"station": "KDAL",
"event_end_date": "2026-04-20T12:00:00Z",
"hours_at_discovery": 53.4,
"status": "open",
"position": null,
"actual_temp": null,
"resolved_outcome": null,
"pnl": null,
"forecast_snapshots": [
{
"ts": "2026-04-18T06:33:43.603858+00:00",
"horizon": "D+2",
"hours_left": 53.4,
"ecmwf": 74,
"hrrr": 70,
"metar": null,
"best": 70,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:35:11.762952+00:00",
"horizon": "D+2",
"hours_left": 52.4,
"ecmwf": 74,
"hrrr": 70,
"metar": null,
"best": 70,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:43.603858+00:00",
"top_bucket": "-999.0-71.0F",
"top_price": 0.385
},
{
"ts": "2026-04-18T07:35:11.762952+00:00",
"top_bucket": "72.0-73.0F",
"top_price": 0.31
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Dallas be 71°F or below on April 20?",
"market_id": "2011134",
"range": [
-999.0,
71.0
],
"bid": 0.235,
"ask": 0.765,
"price": 0.235,
"spread": 0.53,
"volume": 212.0
},
{
"question": "Will the highest temperature in Dallas be between 72-73°F on April 20?",
"market_id": "2011135",
"range": [
72.0,
73.0
],
"bid": 0.31,
"ask": 0.69,
"price": 0.31,
"spread": 0.38,
"volume": 60.0
},
{
"question": "Will the highest temperature in Dallas be between 74-75°F on April 20?",
"market_id": "2011136",
"range": [
74.0,
75.0
],
"bid": 0.31,
"ask": 0.69,
"price": 0.31,
"spread": 0.38,
"volume": 123.0
},
{
"question": "Will the highest temperature in Dallas be between 76-77°F on April 20?",
"market_id": "2011137",
"range": [
76.0,
77.0
],
"bid": 0.14,
"ask": 0.86,
"price": 0.14,
"spread": 0.72,
"volume": 46.0
},
{
"question": "Will the highest temperature in Dallas be between 78-79°F on April 20?",
"market_id": "2011138",
"range": [
78.0,
79.0
],
"bid": 0.08,
"ask": 0.92,
"price": 0.08,
"spread": 0.84,
"volume": 145.0
},
{
"question": "Will the highest temperature in Dallas be between 80-81°F on April 20?",
"market_id": "2011139",
"range": [
80.0,
81.0
],
"bid": 0.007,
"ask": 0.993,
"price": 0.007,
"spread": 0.986,
"volume": 270.0
},
{
"question": "Will the highest temperature in Dallas be between 82-83°F on April 20?",
"market_id": "2011140",
"range": [
82.0,
83.0
],
"bid": 0.006,
"ask": 0.994,
"price": 0.006,
"spread": 0.988,
"volume": 281.0
},
{
"question": "Will the highest temperature in Dallas be between 84-85°F on April 20?",
"market_id": "2011141",
"range": [
84.0,
85.0
],
"bid": 0.0055,
"ask": 0.9945,
"price": 0.0055,
"spread": 0.989,
"volume": 256.0
},
{
"question": "Will the highest temperature in Dallas be between 86-87°F on April 20?",
"market_id": "2011142",
"range": [
86.0,
87.0
],
"bid": 0.006,
"ask": 0.994,
"price": 0.006,
"spread": 0.988,
"volume": 496.0
},
{
"question": "Will the highest temperature in Dallas be between 88-89°F on April 20?",
"market_id": "2011143",
"range": [
88.0,
89.0
],
"bid": 0.01,
"ask": 0.99,
"price": 0.01,
"spread": 0.98,
"volume": 452.0
},
{
"question": "Will the highest temperature in Dallas be 90°F or higher on April 20?",
"market_id": "2011144",
"range": [
90.0,
999.0
],
"bid": 0.0075,
"ask": 0.9925,
"price": 0.0075,
"spread": 0.985,
"volume": 465.0
}
],
"created_at": "2026-04-18T06:33:47.902131+00:00"
}