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

{
"city": "nyc",
"city_name": "New York City",
"date": "2026-04-20",
"unit": "F",
"station": "KLGA",
"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:33:27.912931+00:00",
"horizon": "D+2",
"hours_left": 53.4,
"ecmwf": 51,
"hrrr": 53,
"metar": null,
"best": 53,
"best_source": "hrrr"
},
{
"ts": "2026-04-18T07:34:55.398733+00:00",
"horizon": "D+2",
"hours_left": 52.4,
"ecmwf": 51,
"hrrr": 53,
"metar": null,
"best": 53,
"best_source": "hrrr"
}
],
"market_snapshots": [
{
"ts": "2026-04-18T06:33:27.912931+00:00",
"top_bucket": "50.0-51.0F",
"top_price": 0.28
},
{
"ts": "2026-04-18T07:34:55.398733+00:00",
"top_bucket": "52.0-53.0F",
"top_price": 0.355
}
],
"all_outcomes": [
{
"question": "Will the highest temperature in New York City be 45°F or below on April 20?",
"market_id": "2011123",
"range": [
-999.0,
45.0
],
"bid": 0.031,
"ask": 0.969,
"price": 0.031,
"spread": 0.938,
"volume": 276.0
},
{
"question": "Will the highest temperature in New York City be between 46-47°F on April 20?",
"market_id": "2011124",
"range": [
46.0,
47.0
],
"bid": 0.0455,
"ask": 0.9545,
"price": 0.0455,
"spread": 0.909,
"volume": 35.0
},
{
"question": "Will the highest temperature in New York City be between 48-49°F on April 20?",
"market_id": "2011125",
"range": [
48.0,
49.0
],
"bid": 0.135,
"ask": 0.865,
"price": 0.135,
"spread": 0.73,
"volume": 9.0
},
{
"question": "Will the highest temperature in New York City be between 50-51°F on April 20?",
"market_id": "2011126",
"range": [
50.0,
51.0
],
"bid": 0.27,
"ask": 0.73,
"price": 0.27,
"spread": 0.46,
"volume": 8.0
},
{
"question": "Will the highest temperature in New York City be between 52-53°F on April 20?",
"market_id": "2011127",
"range": [
52.0,
53.0
],
"bid": 0.355,
"ask": 0.645,
"price": 0.355,
"spread": 0.29,
"volume": 45.0
},
{
"question": "Will the highest temperature in New York City be between 54-55°F on April 20?",
"market_id": "2011128",
"range": [
54.0,
55.0
],
"bid": 0.18,
"ask": 0.82,
"price": 0.18,
"spread": 0.64,
"volume": 41.0
},
{
"question": "Will the highest temperature in New York City be between 56-57°F on April 20?",
"market_id": "2011129",
"range": [
56.0,
57.0
],
"bid": 0.06,
"ask": 0.94,
"price": 0.06,
"spread": 0.88,
"volume": 161.0
},
{
"question": "Will the highest temperature in New York City be between 58-59°F on April 20?",
"market_id": "2011130",
"range": [
58.0,
59.0
],
"bid": 0.036,
"ask": 0.964,
"price": 0.036,
"spread": 0.928,
"volume": 216.0
},
{
"question": "Will the highest temperature in New York City be between 60-61°F on April 20?",
"market_id": "2011131",
"range": [
60.0,
61.0
],
"bid": 0.026,
"ask": 0.974,
"price": 0.026,
"spread": 0.948,
"volume": 104.0
},
{
"question": "Will the highest temperature in New York City be between 62-63°F on April 20?",
"market_id": "2011132",
"range": [
62.0,
63.0
],
"bid": 0.02,
"ask": 0.98,
"price": 0.02,
"spread": 0.96,
"volume": 203.0
},
{
"question": "Will the highest temperature in New York City be 64°F or higher on April 20?",
"market_id": "2011133",
"range": [
64.0,
999.0
],
"bid": 0.004,
"ask": 0.996,
"price": 0.004,
"spread": 0.992,
"volume": 191.0
}
],
"created_at": "2026-04-18T06:33:33.402284+00:00"
}