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

{
"city": "chicago",
"city_name": "Chicago",
"date": "2026-04-19",
"unit": "F",
"station": "KORD",
"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:33.876961+00:00",
"horizon": "D+1",
"hours_left": 29.4,
"ecmwf": 45,
"hrrr": 47,
"metar": null,
"best": 47,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:35:02.766600+00:00",
"horizon": "D+1",
"hours_left": 28.4,
"ecmwf": 45,
"hrrr": 47,
"metar": null,
"best": 47,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:33.876961+00:00",
"top_bucket": "48.0-49.0F",
"top_price": 0.33
},
{
"ts": "2026-04-18T07:35:02.766600+00:00",
"top_bucket": "50.0-51.0F",
"top_price": 0.335
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Chicago be 43°F or below on April 19?",
"market_id": "2003755",
"range": [
-999.0,
43.0
],
"bid": 0.0125,
"ask": 0.9875,
"price": 0.0125,
"spread": 0.975,
"volume": 3211.0
},
{
"question": "Will the highest temperature in Chicago be between 44-45°F on April 19?",
"market_id": "2003756",
"range": [
44.0,
45.0
],
"bid": 0.027,
"ask": 0.973,
"price": 0.027,
"spread": 0.946,
"volume": 1498.0
},
{
"question": "Will the highest temperature in Chicago be between 46-47°F on April 19?",
"market_id": "2003757",
"range": [
46.0,
47.0
],
"bid": 0.077,
"ask": 0.923,
"price": 0.077,
"spread": 0.846,
"volume": 1440.0
},
{
"question": "Will the highest temperature in Chicago be between 48-49°F on April 19?",
"market_id": "2003758",
"range": [
48.0,
49.0
],
"bid": 0.325,
"ask": 0.675,
"price": 0.325,
"spread": 0.35,
"volume": 731.0
},
{
"question": "Will the highest temperature in Chicago be between 50-51°F on April 19?",
"market_id": "2003759",
"range": [
50.0,
51.0
],
"bid": 0.335,
"ask": 0.665,
"price": 0.335,
"spread": 0.33,
"volume": 740.0
},
{
"question": "Will the highest temperature in Chicago be between 52-53°F on April 19?",
"market_id": "2003760",
"range": [
52.0,
53.0
],
"bid": 0.18,
"ask": 0.82,
"price": 0.18,
"spread": 0.64,
"volume": 526.0
},
{
"question": "Will the highest temperature in Chicago be between 54-55°F on April 19?",
"market_id": "2003761",
"range": [
54.0,
55.0
],
"bid": 0.06,
"ask": 0.94,
"price": 0.06,
"spread": 0.88,
"volume": 517.0
},
{
"question": "Will the highest temperature in Chicago be between 56-57°F on April 19?",
"market_id": "2003762",
"range": [
56.0,
57.0
],
"bid": 0.0165,
"ask": 0.9835,
"price": 0.0165,
"spread": 0.967,
"volume": 1112.0
},
{
"question": "Will the highest temperature in Chicago be between 58-59°F on April 19?",
"market_id": "2003763",
"range": [
58.0,
59.0
],
"bid": 0.011,
"ask": 0.989,
"price": 0.011,
"spread": 0.978,
"volume": 1135.0
},
{
"question": "Will the highest temperature in Chicago be between 60-61°F on April 19?",
"market_id": "2003764",
"range": [
60.0,
61.0
],
"bid": 0.0115,
"ask": 0.9885,
"price": 0.0115,
"spread": 0.977,
"volume": 1739.0
},
{
"question": "Will the highest temperature in Chicago be 62°F or higher on April 19?",
"market_id": "2003765",
"range": [
62.0,
999.0
],
"bid": 0.0055,
"ask": 0.9945,
"price": 0.0055,
"spread": 0.989,
"volume": 2766.0
}
],
"created_at": "2026-04-18T06:33:37.470860+00:00"
}