Files
hermes_weatherbot/data/markets/buenos-aires_2026-04-20.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": "buenos-aires",
"city_name": "Buenos Aires",
"date": "2026-04-20",
"unit": "C",
"station": "SAEZ",
"event_end_date": "2026-04-20T12:00:00Z",
"hours_at_discovery": 53.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+2",
"hours_left": 53.4,
"ecmwf": 24.1,
"hrrr": null,
"metar": null,
"best": 24.1,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:36:43.100694+00:00",
"horizon": "D+2",
"hours_left": 52.4,
"ecmwf": 24.1,
"hrrr": null,
"metar": null,
"best": 24.1,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:45.652558+00:00",
"top_bucket": "22.0-22.0C",
"top_price": 0.28
},
{
"ts": "2026-04-18T07:36:43.100694+00:00",
"top_bucket": "23.0-23.0C",
"top_price": 0.285
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Buenos Aires be 15°C or below on April 20?",
"market_id": "2011079",
"range": [
-999.0,
15.0
],
"bid": 0.0075,
"ask": 0.9925,
"price": 0.0075,
"spread": 0.985,
"volume": 187.0
},
{
"question": "Will the highest temperature in Buenos Aires be 16°C on April 20?",
"market_id": "2011080",
"range": [
16.0,
16.0
],
"bid": 0.013,
"ask": 0.987,
"price": 0.013,
"spread": 0.974,
"volume": 195.0
},
{
"question": "Will the highest temperature in Buenos Aires be 17°C on April 20?",
"market_id": "2011081",
"range": [
17.0,
17.0
],
"bid": 0.015,
"ask": 0.985,
"price": 0.015,
"spread": 0.97,
"volume": 99.0
},
{
"question": "Will the highest temperature in Buenos Aires be 18°C on April 20?",
"market_id": "2011082",
"range": [
18.0,
18.0
],
"bid": 0.0175,
"ask": 0.9825,
"price": 0.0175,
"spread": 0.965,
"volume": 29.0
},
{
"question": "Will the highest temperature in Buenos Aires be 19°C on April 20?",
"market_id": "2011083",
"range": [
19.0,
19.0
],
"bid": 0.045,
"ask": 0.955,
"price": 0.045,
"spread": 0.91,
"volume": 5.0
},
{
"question": "Will the highest temperature in Buenos Aires be 20°C on April 20?",
"market_id": "2011084",
"range": [
20.0,
20.0
],
"bid": 0.085,
"ask": 0.915,
"price": 0.085,
"spread": 0.83,
"volume": 20.0
},
{
"question": "Will the highest temperature in Buenos Aires be 21°C on April 20?",
"market_id": "2011085",
"range": [
21.0,
21.0
],
"bid": 0.235,
"ask": 0.765,
"price": 0.235,
"spread": 0.53,
"volume": 17.0
},
{
"question": "Will the highest temperature in Buenos Aires be 22°C on April 20?",
"market_id": "2011086",
"range": [
22.0,
22.0
],
"bid": 0.275,
"ask": 0.725,
"price": 0.275,
"spread": 0.45,
"volume": 16.0
},
{
"question": "Will the highest temperature in Buenos Aires be 23°C on April 20?",
"market_id": "2011087",
"range": [
23.0,
23.0
],
"bid": 0.285,
"ask": 0.715,
"price": 0.285,
"spread": 0.43,
"volume": 0.0
},
{
"question": "Will the highest temperature in Buenos Aires be 24°C on April 20?",
"market_id": "2011088",
"range": [
24.0,
24.0
],
"bid": 0.13,
"ask": 0.87,
"price": 0.13,
"spread": 0.74,
"volume": 0.0
},
{
"question": "Will the highest temperature in Buenos Aires be 25°C or higher on April 20?",
"market_id": "2011089",
"range": [
25.0,
999.0
],
"bid": 0.095,
"ask": 0.905,
"price": 0.095,
"spread": 0.81,
"volume": 20.0
}
],
"created_at": "2026-04-18T06:34:48.498830+00:00"
}