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

{
"city": "miami",
"city_name": "Miami",
"date": "2026-04-18",
"unit": "F",
"station": "KMIA",
"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:38.465891+00:00",
"horizon": "D+0",
"hours_left": 5.4,
"ecmwf": 82,
"hrrr": 84,
"metar": 75,
"best": 84,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:35:07.307608+00:00",
"horizon": "D+0",
"hours_left": 4.4,
"ecmwf": 82,
"hrrr": 84,
"metar": 76,
"best": 84,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:38.465891+00:00",
"top_bucket": "84.0-85.0F",
"top_price": 0.505
},
{
"ts": "2026-04-18T07:35:07.307608+00:00",
"top_bucket": "84.0-85.0F",
"top_price": 0.535
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Miami be 73°F or below on April 18?",
"market_id": "1996400",
"range": [
-999.0,
73.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 3104.0
},
{
"question": "Will the highest temperature in Miami be between 74-75°F on April 18?",
"market_id": "1996401",
"range": [
74.0,
75.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 881.0
},
{
"question": "Will the highest temperature in Miami be between 76-77°F on April 18?",
"market_id": "1996402",
"range": [
76.0,
77.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 2217.0
},
{
"question": "Will the highest temperature in Miami be between 78-79°F on April 18?",
"market_id": "1996403",
"range": [
78.0,
79.0
],
"bid": 0.0065,
"ask": 0.9935,
"price": 0.0065,
"spread": 0.987,
"volume": 2471.0
},
{
"question": "Will the highest temperature in Miami be between 80-81°F on April 18?",
"market_id": "1996404",
"range": [
80.0,
81.0
],
"bid": 0.008,
"ask": 0.992,
"price": 0.008,
"spread": 0.984,
"volume": 5438.0
},
{
"question": "Will the highest temperature in Miami be between 82-83°F on April 18?",
"market_id": "1996405",
"range": [
82.0,
83.0
],
"bid": 0.11,
"ask": 0.89,
"price": 0.11,
"spread": 0.78,
"volume": 6512.0
},
{
"question": "Will the highest temperature in Miami be between 84-85°F on April 18?",
"market_id": "1996406",
"range": [
84.0,
85.0
],
"bid": 0.535,
"ask": 0.465,
"price": 0.535,
"spread": -0.07,
"volume": 3498.0
},
{
"question": "Will the highest temperature in Miami be between 86-87°F on April 18?",
"market_id": "1996407",
"range": [
86.0,
87.0
],
"bid": 0.33,
"ask": 0.67,
"price": 0.33,
"spread": 0.34,
"volume": 3344.0
},
{
"question": "Will the highest temperature in Miami be between 88-89°F on April 18?",
"market_id": "1996408",
"range": [
88.0,
89.0
],
"bid": 0.0155,
"ask": 0.9845,
"price": 0.0155,
"spread": 0.969,
"volume": 2714.0
},
{
"question": "Will the highest temperature in Miami be between 90-91°F on April 18?",
"market_id": "1996409",
"range": [
90.0,
91.0
],
"bid": 0.0055,
"ask": 0.9945,
"price": 0.0055,
"spread": 0.989,
"volume": 1410.0
},
{
"question": "Will the highest temperature in Miami be 92°F or higher on April 18?",
"market_id": "1996410",
"range": [
92.0,
999.0
],
"bid": 0.0025,
"ask": 0.9975,
"price": 0.0025,
"spread": 0.995,
"volume": 1902.0
}
],
"created_at": "2026-04-18T06:33:42.207184+00:00"
}