Files
hermes_weatherbot/data/markets/munich_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": "munich",
"city_name": "Munich",
"date": "2026-04-19",
"unit": "C",
"station": "EDDM",
"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:34:05.123715+00:00",
"horizon": "D+1",
"hours_left": 29.4,
"ecmwf": 15.4,
"hrrr": null,
"metar": null,
"best": 15.4,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:35:36.919217+00:00",
"horizon": "D+1",
"hours_left": 28.4,
"ecmwf": 15.4,
"hrrr": null,
"metar": null,
"best": 15.4,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:05.123715+00:00",
"top_bucket": "15.0-15.0C",
"top_price": 0.335
},
{
"ts": "2026-04-18T07:35:36.919217+00:00",
"top_bucket": "15.0-15.0C",
"top_price": 0.345
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Munich be 10°C or below on April 19?",
"market_id": "2003799",
"range": [
-999.0,
10.0
],
"bid": 0.004,
"ask": 0.996,
"price": 0.004,
"spread": 0.992,
"volume": 1274.0
},
{
"question": "Will the highest temperature in Munich be 11°C on April 19?",
"market_id": "2003800",
"range": [
11.0,
11.0
],
"bid": 0.004,
"ask": 0.996,
"price": 0.004,
"spread": 0.992,
"volume": 582.0
},
{
"question": "Will the highest temperature in Munich be 12°C on April 19?",
"market_id": "2003801",
"range": [
12.0,
12.0
],
"bid": 0.0125,
"ask": 0.9875,
"price": 0.0125,
"spread": 0.975,
"volume": 1757.0
},
{
"question": "Will the highest temperature in Munich be 13°C on April 19?",
"market_id": "2003802",
"range": [
13.0,
13.0
],
"bid": 0.028,
"ask": 0.972,
"price": 0.028,
"spread": 0.944,
"volume": 2019.0
},
{
"question": "Will the highest temperature in Munich be 14°C on April 19?",
"market_id": "2003803",
"range": [
14.0,
14.0
],
"bid": 0.23,
"ask": 0.77,
"price": 0.23,
"spread": 0.54,
"volume": 799.0
},
{
"question": "Will the highest temperature in Munich be 15°C on April 19?",
"market_id": "2003804",
"range": [
15.0,
15.0
],
"bid": 0.345,
"ask": 0.655,
"price": 0.345,
"spread": 0.31,
"volume": 1002.0
},
{
"question": "Will the highest temperature in Munich be 16°C on April 19?",
"market_id": "2003805",
"range": [
16.0,
16.0
],
"bid": 0.255,
"ask": 0.745,
"price": 0.255,
"spread": 0.49,
"volume": 1120.0
},
{
"question": "Will the highest temperature in Munich be 17°C on April 19?",
"market_id": "2003806",
"range": [
17.0,
17.0
],
"bid": 0.155,
"ask": 0.845,
"price": 0.155,
"spread": 0.69,
"volume": 1414.0
},
{
"question": "Will the highest temperature in Munich be 18°C on April 19?",
"market_id": "2003807",
"range": [
18.0,
18.0
],
"bid": 0.038,
"ask": 0.962,
"price": 0.038,
"spread": 0.924,
"volume": 5107.0
},
{
"question": "Will the highest temperature in Munich be 19°C on April 19?",
"market_id": "2003808",
"range": [
19.0,
19.0
],
"bid": 0.013,
"ask": 0.987,
"price": 0.013,
"spread": 0.974,
"volume": 1820.0
},
{
"question": "Will the highest temperature in Munich be 20°C or higher on April 19?",
"market_id": "2003809",
"range": [
20.0,
999.0
],
"bid": 0.0055,
"ask": 0.9945,
"price": 0.0055,
"spread": 0.989,
"volume": 1671.0
}
],
"created_at": "2026-04-18T06:34:15.359407+00:00"
}