Files
hermes_weatherbot/data/markets/miami_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": "miami",
"city_name": "Miami",
"date": "2026-04-20",
"unit": "F",
"station": "KMIA",
"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:38.465891+00:00",
"horizon": "D+2",
"hours_left": 53.4,
"ecmwf": 79,
"hrrr": 85,
"metar": null,
"best": 85,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:35:07.307608+00:00",
"horizon": "D+2",
"hours_left": 52.4,
"ecmwf": 79,
"hrrr": 85,
"metar": null,
"best": 85,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:38.465891+00:00",
"top_bucket": "82.0-83.0F",
"top_price": 0.405
},
{
"ts": "2026-04-18T07:35:07.307608+00:00",
"top_bucket": "82.0-83.0F",
"top_price": 0.415
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Miami be 73°F or below on April 20?",
"market_id": "2011156",
"range": [
-999.0,
73.0
],
"bid": 0.0075,
"ask": 0.9925,
"price": 0.0075,
"spread": 0.985,
"volume": 211.0
},
{
"question": "Will the highest temperature in Miami be between 74-75°F on April 20?",
"market_id": "2011157",
"range": [
74.0,
75.0
],
"bid": 0.015,
"ask": 0.985,
"price": 0.015,
"spread": 0.97,
"volume": 34.0
},
{
"question": "Will the highest temperature in Miami be between 76-77°F on April 20?",
"market_id": "2011158",
"range": [
76.0,
77.0
],
"bid": 0.02,
"ask": 0.98,
"price": 0.02,
"spread": 0.96,
"volume": 41.0
},
{
"question": "Will the highest temperature in Miami be between 78-79°F on April 20?",
"market_id": "2011159",
"range": [
78.0,
79.0
],
"bid": 0.045,
"ask": 0.955,
"price": 0.045,
"spread": 0.91,
"volume": 212.0
},
{
"question": "Will the highest temperature in Miami be between 80-81°F on April 20?",
"market_id": "2011160",
"range": [
80.0,
81.0
],
"bid": 0.195,
"ask": 0.805,
"price": 0.195,
"spread": 0.61,
"volume": 52.0
},
{
"question": "Will the highest temperature in Miami be between 82-83°F on April 20?",
"market_id": "2011161",
"range": [
82.0,
83.0
],
"bid": 0.415,
"ask": 0.585,
"price": 0.415,
"spread": 0.17,
"volume": 66.0
},
{
"question": "Will the highest temperature in Miami be between 84-85°F on April 20?",
"market_id": "2011162",
"range": [
84.0,
85.0
],
"bid": 0.23,
"ask": 0.77,
"price": 0.23,
"spread": 0.54,
"volume": 39.0
},
{
"question": "Will the highest temperature in Miami be between 86-87°F on April 20?",
"market_id": "2011163",
"range": [
86.0,
87.0
],
"bid": 0.105,
"ask": 0.895,
"price": 0.105,
"spread": 0.79,
"volume": 167.0
},
{
"question": "Will the highest temperature in Miami be between 88-89°F on April 20?",
"market_id": "2011164",
"range": [
88.0,
89.0
],
"bid": 0.0575,
"ask": 0.9425,
"price": 0.0575,
"spread": 0.885,
"volume": 291.0
},
{
"question": "Will the highest temperature in Miami be between 90-91°F on April 20?",
"market_id": "2011165",
"range": [
90.0,
91.0
],
"bid": 0.0075,
"ask": 0.9925,
"price": 0.0075,
"spread": 0.985,
"volume": 778.0
},
{
"question": "Will the highest temperature in Miami be 92°F or higher on April 20?",
"market_id": "2011166",
"range": [
92.0,
999.0
],
"bid": 0.006,
"ask": 0.994,
"price": 0.006,
"spread": 0.988,
"volume": 284.0
}
],
"created_at": "2026-04-18T06:33:43.136335+00:00"
}