Files
hermes_weatherbot/data/markets/paris_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": "paris",
"city_name": "Paris",
"date": "2026-04-19",
"unit": "C",
"station": "LFPG",
"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:01.592793+00:00",
"horizon": "D+1",
"hours_left": 29.4,
"ecmwf": 16.0,
"hrrr": null,
"metar": null,
"best": 16.0,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:35:32.283656+00:00",
"horizon": "D+1",
"hours_left": 28.4,
"ecmwf": 16.0,
"hrrr": null,
"metar": null,
"best": 16.0,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:01.592793+00:00",
"top_bucket": "17.0-17.0C",
"top_price": 0.335
},
{
"ts": "2026-04-18T07:35:32.283656+00:00",
"top_bucket": "18.0-18.0C",
"top_price": 0.36
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Paris be 13°C or below on April 19?",
"market_id": "2003645",
"range": [
-999.0,
13.0
],
"bid": 0.0025,
"ask": 0.9975,
"price": 0.0025,
"spread": 0.995,
"volume": 3201.0
},
{
"question": "Will the highest temperature in Paris be 14°C on April 19?",
"market_id": "2003646",
"range": [
14.0,
14.0
],
"bid": 0.0025,
"ask": 0.9975,
"price": 0.0025,
"spread": 0.995,
"volume": 3137.0
},
{
"question": "Will the highest temperature in Paris be 15°C on April 19?",
"market_id": "2003647",
"range": [
15.0,
15.0
],
"bid": 0.0095,
"ask": 0.9905,
"price": 0.0095,
"spread": 0.981,
"volume": 2188.0
},
{
"question": "Will the highest temperature in Paris be 16°C on April 19?",
"market_id": "2003648",
"range": [
16.0,
16.0
],
"bid": 0.155,
"ask": 0.845,
"price": 0.155,
"spread": 0.69,
"volume": 1346.0
},
{
"question": "Will the highest temperature in Paris be 17°C on April 19?",
"market_id": "2003649",
"range": [
17.0,
17.0
],
"bid": 0.335,
"ask": 0.665,
"price": 0.335,
"spread": 0.33,
"volume": 909.0
},
{
"question": "Will the highest temperature in Paris be 18°C on April 19?",
"market_id": "2003650",
"range": [
18.0,
18.0
],
"bid": 0.36,
"ask": 0.64,
"price": 0.36,
"spread": 0.28,
"volume": 1090.0
},
{
"question": "Will the highest temperature in Paris be 19°C on April 19?",
"market_id": "2003651",
"range": [
19.0,
19.0
],
"bid": 0.135,
"ask": 0.865,
"price": 0.135,
"spread": 0.73,
"volume": 1553.0
},
{
"question": "Will the highest temperature in Paris be 20°C on April 19?",
"market_id": "2003652",
"range": [
20.0,
20.0
],
"bid": 0.0295,
"ask": 0.9705,
"price": 0.0295,
"spread": 0.941,
"volume": 1565.0
},
{
"question": "Will the highest temperature in Paris be 21°C on April 19?",
"market_id": "2003653",
"range": [
21.0,
21.0
],
"bid": 0.0135,
"ask": 0.9865,
"price": 0.0135,
"spread": 0.973,
"volume": 2347.0
},
{
"question": "Will the highest temperature in Paris be 22°C on April 19?",
"market_id": "2003654",
"range": [
22.0,
22.0
],
"bid": 0.012,
"ask": 0.988,
"price": 0.012,
"spread": 0.976,
"volume": 2606.0
},
{
"question": "Will the highest temperature in Paris be 23°C or higher on April 19?",
"market_id": "2003655",
"range": [
23.0,
999.0
],
"bid": 0.0025,
"ask": 0.9975,
"price": 0.0025,
"spread": 0.995,
"volume": 1839.0
}
],
"created_at": "2026-04-18T06:34:04.267164+00:00"
}