Files
hermes_weatherbot/data/markets/miami_2026-04-19.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-19",
"unit": "F",
"station": "KMIA",
"event_end_date": "2026-04-19T12:00:00Z",
"hours_at_discovery": 29.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+1",
"hours_left": 29.4,
"ecmwf": 84,
"hrrr": 86,
"metar": null,
"best": 86,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:35:07.307608+00:00",
"horizon": "D+1",
"hours_left": 28.4,
"ecmwf": 84,
"hrrr": 86,
"metar": null,
"best": 86,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:38.465891+00:00",
"top_bucket": "84.0-85.0F",
"top_price": 0.405
},
{
"ts": "2026-04-18T07:35:07.307608+00:00",
"top_bucket": "84.0-85.0F",
"top_price": 0.395
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Miami be 75°F or below on April 19?",
"market_id": "2003744",
"range": [
-999.0,
75.0
],
"bid": 0.003,
"ask": 0.997,
"price": 0.003,
"spread": 0.994,
"volume": 1760.0
},
{
"question": "Will the highest temperature in Miami be between 76-77°F on April 19?",
"market_id": "2003745",
"range": [
76.0,
77.0
],
"bid": 0.0015,
"ask": 0.9985,
"price": 0.0015,
"spread": 0.997,
"volume": 1219.0
},
{
"question": "Will the highest temperature in Miami be between 78-79°F on April 19?",
"market_id": "2003746",
"range": [
78.0,
79.0
],
"bid": 0.0025,
"ask": 0.9975,
"price": 0.0025,
"spread": 0.995,
"volume": 1171.0
},
{
"question": "Will the highest temperature in Miami be between 80-81°F on April 19?",
"market_id": "2003747",
"range": [
80.0,
81.0
],
"bid": 0.019,
"ask": 0.981,
"price": 0.019,
"spread": 0.962,
"volume": 2161.0
},
{
"question": "Will the highest temperature in Miami be between 82-83°F on April 19?",
"market_id": "2003748",
"range": [
82.0,
83.0
],
"bid": 0.063,
"ask": 0.937,
"price": 0.063,
"spread": 0.874,
"volume": 2305.0
},
{
"question": "Will the highest temperature in Miami be between 84-85°F on April 19?",
"market_id": "2003749",
"range": [
84.0,
85.0
],
"bid": 0.395,
"ask": 0.605,
"price": 0.395,
"spread": 0.21,
"volume": 1765.0
},
{
"question": "Will the highest temperature in Miami be between 86-87°F on April 19?",
"market_id": "2003750",
"range": [
86.0,
87.0
],
"bid": 0.35,
"ask": 0.65,
"price": 0.35,
"spread": 0.3,
"volume": 1487.0
},
{
"question": "Will the highest temperature in Miami be between 88-89°F on April 19?",
"market_id": "2003751",
"range": [
88.0,
89.0
],
"bid": 0.155,
"ask": 0.845,
"price": 0.155,
"spread": 0.69,
"volume": 2088.0
},
{
"question": "Will the highest temperature in Miami be between 90-91°F on April 19?",
"market_id": "2003752",
"range": [
90.0,
91.0
],
"bid": 0.0205,
"ask": 0.9795,
"price": 0.0205,
"spread": 0.959,
"volume": 1814.0
},
{
"question": "Will the highest temperature in Miami be between 92-93°F on April 19?",
"market_id": "2003753",
"range": [
92.0,
93.0
],
"bid": 0.013,
"ask": 0.987,
"price": 0.013,
"spread": 0.974,
"volume": 1183.0
},
{
"question": "Will the highest temperature in Miami be 94°F or higher on April 19?",
"market_id": "2003754",
"range": [
94.0,
999.0
],
"bid": 0.0065,
"ask": 0.9935,
"price": 0.0065,
"spread": 0.987,
"volume": 1640.0
}
],
"created_at": "2026-04-18T06:33:42.656331+00:00"
}