Files
hermes_weatherbot/data/markets/buenos-aires_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": "buenos-aires",
"city_name": "Buenos Aires",
"date": "2026-04-18",
"unit": "C",
"station": "SAEZ",
"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:45.652558+00:00",
"horizon": "D+0",
"hours_left": 5.4,
"ecmwf": 26.2,
"hrrr": null,
"metar": 15.0,
"best": 26.2,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:36:43.100694+00:00",
"horizon": "D+0",
"hours_left": 4.4,
"ecmwf": 26.2,
"hrrr": null,
"metar": 16.0,
"best": 26.2,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:45.652558+00:00",
"top_bucket": "27.0-27.0C",
"top_price": 0.36
},
{
"ts": "2026-04-18T07:36:43.100694+00:00",
"top_bucket": "26.0-26.0C",
"top_price": 0.35
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Buenos Aires be 20°C or below on April 18?",
"market_id": "1996322",
"range": [
-999.0,
20.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 3663.0
},
{
"question": "Will the highest temperature in Buenos Aires be 21°C on April 18?",
"market_id": "1996323",
"range": [
21.0,
21.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 5204.0
},
{
"question": "Will the highest temperature in Buenos Aires be 22°C on April 18?",
"market_id": "1996324",
"range": [
22.0,
22.0
],
"bid": 0.001,
"ask": 0.999,
"price": 0.001,
"spread": 0.998,
"volume": 5140.0
},
{
"question": "Will the highest temperature in Buenos Aires be 23°C on April 18?",
"market_id": "1996325",
"range": [
23.0,
23.0
],
"bid": 0.0015,
"ask": 0.9985,
"price": 0.0015,
"spread": 0.997,
"volume": 5865.0
},
{
"question": "Will the highest temperature in Buenos Aires be 24°C on April 18?",
"market_id": "1996326",
"range": [
24.0,
24.0
],
"bid": 0.005,
"ask": 0.995,
"price": 0.005,
"spread": 0.99,
"volume": 5219.0
},
{
"question": "Will the highest temperature in Buenos Aires be 25°C on April 18?",
"market_id": "1996327",
"range": [
25.0,
25.0
],
"bid": 0.075,
"ask": 0.925,
"price": 0.075,
"spread": 0.85,
"volume": 3986.0
},
{
"question": "Will the highest temperature in Buenos Aires be 26°C on April 18?",
"market_id": "1996328",
"range": [
26.0,
26.0
],
"bid": 0.35,
"ask": 0.65,
"price": 0.35,
"spread": 0.3,
"volume": 1501.0
},
{
"question": "Will the highest temperature in Buenos Aires be 27°C on April 18?",
"market_id": "1996329",
"range": [
27.0,
27.0
],
"bid": 0.335,
"ask": 0.665,
"price": 0.335,
"spread": 0.33,
"volume": 1643.0
},
{
"question": "Will the highest temperature in Buenos Aires be 28°C on April 18?",
"market_id": "1996330",
"range": [
28.0,
28.0
],
"bid": 0.205,
"ask": 0.795,
"price": 0.205,
"spread": 0.59,
"volume": 2936.0
},
{
"question": "Will the highest temperature in Buenos Aires be 29°C on April 18?",
"market_id": "1996331",
"range": [
29.0,
29.0
],
"bid": 0.0145,
"ask": 0.9855,
"price": 0.0145,
"spread": 0.971,
"volume": 3399.0
},
{
"question": "Will the highest temperature in Buenos Aires be 30°C or higher on April 18?",
"market_id": "1996332",
"range": [
30.0,
999.0
],
"bid": 0.0035,
"ask": 0.9965,
"price": 0.0035,
"spread": 0.993,
"volume": 1949.0
}
],
"created_at": "2026-04-18T06:34:47.738646+00:00"
}