Files
hermes_weatherbot/data/markets/ankara_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": "ankara",
"city_name": "Ankara",
"date": "2026-04-19",
"unit": "C",
"station": "LTAC",
"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:16.199277+00:00",
"horizon": "D+1",
"hours_left": 29.4,
"ecmwf": 12.2,
"hrrr": null,
"metar": null,
"best": 12.2,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:35:45.355777+00:00",
"horizon": "D+1",
"hours_left": 28.4,
"ecmwf": 12.2,
"hrrr": null,
"metar": null,
"best": 12.2,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:16.199277+00:00",
"top_bucket": "12.0-12.0C",
"top_price": 0.34
},
{
"ts": "2026-04-18T07:35:45.355777+00:00",
"top_bucket": "12.0-12.0C",
"top_price": 0.39
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Ankara be 4°C or below on April 19?",
"market_id": "2003766",
"range": [
-999.0,
4.0
],
"bid": 0.0025,
"ask": 0.9975,
"price": 0.0025,
"spread": 0.995,
"volume": 1579.0
},
{
"question": "Will the highest temperature in Ankara be 5°C on April 19?",
"market_id": "2003767",
"range": [
5.0,
5.0
],
"bid": 0.0025,
"ask": 0.9975,
"price": 0.0025,
"spread": 0.995,
"volume": 648.0
},
{
"question": "Will the highest temperature in Ankara be 6°C on April 19?",
"market_id": "2003768",
"range": [
6.0,
6.0
],
"bid": 0.0035,
"ask": 0.9965,
"price": 0.0035,
"spread": 0.993,
"volume": 696.0
},
{
"question": "Will the highest temperature in Ankara be 7°C on April 19?",
"market_id": "2003769",
"range": [
7.0,
7.0
],
"bid": 0.0035,
"ask": 0.9965,
"price": 0.0035,
"spread": 0.993,
"volume": 498.0
},
{
"question": "Will the highest temperature in Ankara be 8°C on April 19?",
"market_id": "2003770",
"range": [
8.0,
8.0
],
"bid": 0.0055,
"ask": 0.9945,
"price": 0.0055,
"spread": 0.989,
"volume": 819.0
},
{
"question": "Will the highest temperature in Ankara be 9°C on April 19?",
"market_id": "2003771",
"range": [
9.0,
9.0
],
"bid": 0.0115,
"ask": 0.9885,
"price": 0.0115,
"spread": 0.977,
"volume": 646.0
},
{
"question": "Will the highest temperature in Ankara be 10°C on April 19?",
"market_id": "2003772",
"range": [
10.0,
10.0
],
"bid": 0.0355,
"ask": 0.9645,
"price": 0.0355,
"spread": 0.929,
"volume": 526.0
},
{
"question": "Will the highest temperature in Ankara be 11°C on April 19?",
"market_id": "2003773",
"range": [
11.0,
11.0
],
"bid": 0.235,
"ask": 0.765,
"price": 0.235,
"spread": 0.53,
"volume": 697.0
},
{
"question": "Will the highest temperature in Ankara be 12°C on April 19?",
"market_id": "2003774",
"range": [
12.0,
12.0
],
"bid": 0.39,
"ask": 0.61,
"price": 0.39,
"spread": 0.22,
"volume": 947.0
},
{
"question": "Will the highest temperature in Ankara be 13°C on April 19?",
"market_id": "2003775",
"range": [
13.0,
13.0
],
"bid": 0.225,
"ask": 0.775,
"price": 0.225,
"spread": 0.55,
"volume": 1046.0
},
{
"question": "Will the highest temperature in Ankara be 14°C or higher on April 19?",
"market_id": "2003776",
"range": [
14.0,
999.0
],
"bid": 0.14,
"ask": 0.86,
"price": 0.14,
"spread": 0.72,
"volume": 1463.0
}
],
"created_at": "2026-04-18T06:34:18.487049+00:00"
}