Files
hermes_weatherbot/data/markets/singapore_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": "singapore",
"city_name": "Singapore",
"date": "2026-04-19",
"unit": "C",
"station": "WSSS",
"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:28.838426+00:00",
"horizon": "D+1",
"hours_left": 29.4,
"ecmwf": 28.5,
"hrrr": null,
"metar": null,
"best": 28.5,
"best_source": "ecmwf"
},
{
"ts": "2026-04-18T07:36:22.669401+00:00",
"horizon": "D+1",
"hours_left": 28.4,
"ecmwf": 28.5,
"hrrr": null,
"metar": null,
"best": 28.5,
"best_source": "ecmwf"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:34:28.838426+00:00",
"top_bucket": "32.0-32.0C",
"top_price": 0.405
},
{
"ts": "2026-04-18T07:36:22.669401+00:00",
"top_bucket": "32.0-32.0C",
"top_price": 0.415
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in Singapore be 25°C or below on April 19?",
"market_id": "2003854",
"range": [
-999.0,
25.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 1741.0
},
{
"question": "Will the highest temperature in Singapore be 26°C on April 19?",
"market_id": "2003855",
"range": [
26.0,
26.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 1652.0
},
{
"question": "Will the highest temperature in Singapore be 27°C on April 19?",
"market_id": "2003856",
"range": [
27.0,
27.0
],
"bid": 0.0005,
"ask": 0.9995,
"price": 0.0005,
"spread": 0.999,
"volume": 1695.0
},
{
"question": "Will the highest temperature in Singapore be 28°C on April 19?",
"market_id": "2003857",
"range": [
28.0,
28.0
],
"bid": 0.002,
"ask": 0.998,
"price": 0.002,
"spread": 0.996,
"volume": 4820.0
},
{
"question": "Will the highest temperature in Singapore be 29°C on April 19?",
"market_id": "2003858",
"range": [
29.0,
29.0
],
"bid": 0.0055,
"ask": 0.9945,
"price": 0.0055,
"spread": 0.989,
"volume": 3545.0
},
{
"question": "Will the highest temperature in Singapore be 30°C on April 19?",
"market_id": "2003859",
"range": [
30.0,
30.0
],
"bid": 0.07,
"ask": 0.93,
"price": 0.07,
"spread": 0.86,
"volume": 2046.0
},
{
"question": "Will the highest temperature in Singapore be 31°C on April 19?",
"market_id": "2003860",
"range": [
31.0,
31.0
],
"bid": 0.265,
"ask": 0.735,
"price": 0.265,
"spread": 0.47,
"volume": 1382.0
},
{
"question": "Will the highest temperature in Singapore be 32°C on April 19?",
"market_id": "2003861",
"range": [
32.0,
32.0
],
"bid": 0.415,
"ask": 0.585,
"price": 0.415,
"spread": 0.17,
"volume": 1062.0
},
{
"question": "Will the highest temperature in Singapore be 33°C on April 19?",
"market_id": "2003862",
"range": [
33.0,
33.0
],
"bid": 0.215,
"ask": 0.785,
"price": 0.215,
"spread": 0.57,
"volume": 1528.0
},
{
"question": "Will the highest temperature in Singapore be 34°C on April 19?",
"market_id": "2003863",
"range": [
34.0,
34.0
],
"bid": 0.0365,
"ask": 0.9635,
"price": 0.0365,
"spread": 0.927,
"volume": 2951.0
},
{
"question": "Will the highest temperature in Singapore be 35°C or higher on April 19?",
"market_id": "2003864",
"range": [
35.0,
999.0
],
"bid": 0.0075,
"ask": 0.9925,
"price": 0.0075,
"spread": 0.985,
"volume": 2980.0
}
],
"created_at": "2026-04-18T06:34:31.397951+00:00"
}