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

{
"city": "ankara",
"city_name": "Ankara",
"date": "2026-04-20",
"unit": "C",
"station": "LTAC",
"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:16.199277+00:00",
"horizon": "D+2",
"hours_left": 53.4,
"ecmwf": 12.8,
"hrrr": null,
"metar": null,
"best": 12.8,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:35:45.355777+00:00",
"horizon": "D+2",
"hours_left": 52.4,
"ecmwf": 12.8,
"hrrr": null,
"metar": null,
"best": 12.8,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:16.199277+00:00",
"top_bucket": "13.0-13.0C",
"top_price": 0.29
},
{
"ts": "2026-04-18T07:35:45.355777+00:00",
"top_bucket": "13.0-13.0C",
"top_price": 0.305
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Ankara be 8°C or below on April 20?",
"market_id": "2011178",
"range": [
-999.0,
8.0
],
"bid": 0.0065,
"ask": 0.9935,
"price": 0.0065,
"spread": 0.987,
"volume": 194.0
},
{
"question": "Will the highest temperature in Ankara be 9°C on April 20?",
"market_id": "2011179",
"range": [
9.0,
9.0
],
"bid": 0.011,
"ask": 0.989,
"price": 0.011,
"spread": 0.978,
"volume": 184.0
},
{
"question": "Will the highest temperature in Ankara be 10°C on April 20?",
"market_id": "2011180",
"range": [
10.0,
10.0
],
"bid": 0.0175,
"ask": 0.9825,
"price": 0.0175,
"spread": 0.965,
"volume": 134.0
},
{
"question": "Will the highest temperature in Ankara be 11°C on April 20?",
"market_id": "2011181",
"range": [
11.0,
11.0
],
"bid": 0.1,
"ask": 0.9,
"price": 0.1,
"spread": 0.8,
"volume": 90.0
},
{
"question": "Will the highest temperature in Ankara be 12°C on April 20?",
"market_id": "2011182",
"range": [
12.0,
12.0
],
"bid": 0.13,
"ask": 0.87,
"price": 0.13,
"spread": 0.74,
"volume": 92.0
},
{
"question": "Will the highest temperature in Ankara be 13°C on April 20?",
"market_id": "2011183",
"range": [
13.0,
13.0
],
"bid": 0.305,
"ask": 0.695,
"price": 0.305,
"spread": 0.39,
"volume": 114.0
},
{
"question": "Will the highest temperature in Ankara be 14°C on April 20?",
"market_id": "2011184",
"range": [
14.0,
14.0
],
"bid": 0.305,
"ask": 0.695,
"price": 0.305,
"spread": 0.39,
"volume": 15.0
},
{
"question": "Will the highest temperature in Ankara be 15°C on April 20?",
"market_id": "2011185",
"range": [
15.0,
15.0
],
"bid": 0.21,
"ask": 0.79,
"price": 0.21,
"spread": 0.58,
"volume": 77.0
},
{
"question": "Will the highest temperature in Ankara be 16°C on April 20?",
"market_id": "2011186",
"range": [
16.0,
16.0
],
"bid": 0.09,
"ask": 0.91,
"price": 0.09,
"spread": 0.82,
"volume": 36.0
},
{
"question": "Will the highest temperature in Ankara be 17°C on April 20?",
"market_id": "2011187",
"range": [
17.0,
17.0
],
"bid": 0.035,
"ask": 0.965,
"price": 0.035,
"spread": 0.93,
"volume": 40.0
},
{
"question": "Will the highest temperature in Ankara be 18°C or higher on April 20?",
"market_id": "2011188",
"range": [
18.0,
999.0
],
"bid": 0.035,
"ask": 0.965,
"price": 0.035,
"spread": 0.93,
"volume": 77.0
}
],
"created_at": "2026-04-18T06:34:18.902681+00:00"
}