Files
hermes_weatherbot/data/markets/seattle_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": "seattle",
"city_name": "Seattle",
"date": "2026-04-18",
"unit": "F",
"station": "KSEA",
"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:48.396807+00:00",
"horizon": "D+0",
"hours_left": 5.4,
"ecmwf": 66,
"hrrr": 63,
"metar": 49,
"best": 63,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:35:16.628189+00:00",
"horizon": "D+0",
"hours_left": 4.4,
"ecmwf": 66,
"hrrr": 63,
"metar": 49,
"best": 63,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:48.396807+00:00",
"top_bucket": "50.0-999.0F",
"top_price": 0.9965
},
{
"ts": "2026-04-18T07:35:16.628189+00:00",
"top_bucket": "50.0-999.0F",
"top_price": 0.997
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Seattle be 31°F or below on April 18?",
"market_id": "1996355",
"range": [
-999.0,
31.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 5250.0
},
{
"question": "Will the highest temperature in Seattle be between 32-33°F on April 18?",
"market_id": "1996356",
"range": [
32.0,
33.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 4723.0
},
{
"question": "Will the highest temperature in Seattle be between 34-35°F on April 18?",
"market_id": "1996357",
"range": [
34.0,
35.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 4290.0
},
{
"question": "Will the highest temperature in Seattle be between 36-37°F on April 18?",
"market_id": "1996358",
"range": [
36.0,
37.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 4782.0
},
{
"question": "Will the highest temperature in Seattle be between 38-39°F on April 18?",
"market_id": "1996359",
"range": [
38.0,
39.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 3682.0
},
{
"question": "Will the highest temperature in Seattle be between 40-41°F on April 18?",
"market_id": "1996360",
"range": [
40.0,
41.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 4903.0
},
{
"question": "Will the highest temperature in Seattle be between 42-43°F on April 18?",
"market_id": "1996361",
"range": [
42.0,
43.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 5321.0
},
{
"question": "Will the highest temperature in Seattle be between 44-45°F on April 18?",
"market_id": "1996362",
"range": [
44.0,
45.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 7783.0
},
{
"question": "Will the highest temperature in Seattle be between 46-47°F on April 18?",
"market_id": "1996363",
"range": [
46.0,
47.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 4328.0
},
{
"question": "Will the highest temperature in Seattle be between 48-49°F on April 18?",
"market_id": "1996364",
"range": [
48.0,
49.0
],
"bid": 0.002,
"ask": 0.998,
"price": 0.002,
"spread": 0.996,
"volume": 7681.0
},
{
"question": "Will the highest temperature in Seattle be 50°F or higher on April 18?",
"market_id": "1996365",
"range": [
50.0,
999.0
],
"bid": 0.997,
"ask": 0.003,
"price": 0.997,
"spread": -0.994,
"volume": 18797.0
}
],
"created_at": "2026-04-18T06:33:51.505398+00:00"
}