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

{
"city": "seoul",
"city_name": "Seoul",
"date": "2026-04-18",
"unit": "C",
"station": "RKSI",
"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:34:19.250565+00:00",
"horizon": "D+0",
"hours_left": 5.4,
"ecmwf": 21.0,
"hrrr": null,
"metar": 20.0,
"best": 21.0,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:35:58.430248+00:00",
"horizon": "D+0",
"hours_left": 4.4,
"ecmwf": 21.0,
"hrrr": null,
"metar": 18.0,
"best": 21.0,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:19.250565+00:00",
"top_bucket": "21.0-999.0C",
"top_price": 0.9995
},
{
"ts": "2026-04-18T07:35:58.430248+00:00",
"top_bucket": "21.0-999.0C",
"top_price": 0.9995
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Seoul be 11°C or below on April 18?",
"market_id": "1996333",
"range": [
-999.0,
11.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 16832.0
},
{
"question": "Will the highest temperature in Seoul be 12°C on April 18?",
"market_id": "1996334",
"range": [
12.0,
12.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 14872.0
},
{
"question": "Will the highest temperature in Seoul be 13°C on April 18?",
"market_id": "1996335",
"range": [
13.0,
13.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 10566.0
},
{
"question": "Will the highest temperature in Seoul be 14°C on April 18?",
"market_id": "1996336",
"range": [
14.0,
14.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 13680.0
},
{
"question": "Will the highest temperature in Seoul be 15°C on April 18?",
"market_id": "1996337",
"range": [
15.0,
15.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 12482.0
},
{
"question": "Will the highest temperature in Seoul be 16°C on April 18?",
"market_id": "1996338",
"range": [
16.0,
16.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 42725.0
},
{
"question": "Will the highest temperature in Seoul be 17°C on April 18?",
"market_id": "1996339",
"range": [
17.0,
17.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 34710.0
},
{
"question": "Will the highest temperature in Seoul be 18°C on April 18?",
"market_id": "1996340",
"range": [
18.0,
18.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 51547.0
},
{
"question": "Will the highest temperature in Seoul be 19°C on April 18?",
"market_id": "1996341",
"range": [
19.0,
19.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 46607.0
},
{
"question": "Will the highest temperature in Seoul be 20°C on April 18?",
"market_id": "1996342",
"range": [
20.0,
20.0
],
"bid": 0.0,
"ask": 1.0,
"price": 0.0,
"spread": 1.0,
"volume": 79546.0
},
{
"question": "Will the highest temperature in Seoul be 21°C or higher on April 18?",
"market_id": "1996343",
"range": [
21.0,
999.0
],
"bid": 0.9995,
"ask": 0.0005,
"price": 0.9995,
"spread": -0.999,
"volume": 72835.0
}
],
"created_at": "2026-04-18T06:34:21.090038+00:00"
}