- 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
194 lines
4.3 KiB
JSON
194 lines
4.3 KiB
JSON
{
|
|
"city": "seattle",
|
|
"city_name": "Seattle",
|
|
"date": "2026-04-20",
|
|
"unit": "F",
|
|
"station": "KSEA",
|
|
"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:48.396807+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 67,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 67,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:16.628189+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 67,
|
|
"hrrr": 73,
|
|
"metar": null,
|
|
"best": 73,
|
|
"best_source": "hrrr"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:48.396807+00:00",
|
|
"top_bucket": "62.0-999.0F",
|
|
"top_price": 0.955
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:16.628189+00:00",
|
|
"top_bucket": "62.0-999.0F",
|
|
"top_price": 0.94
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Seattle be 43°F or below on April 20?",
|
|
"market_id": "2011112",
|
|
"range": [
|
|
-999.0,
|
|
43.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 438.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 44-45°F on April 20?",
|
|
"market_id": "2011113",
|
|
"range": [
|
|
44.0,
|
|
45.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 488.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 46-47°F on April 20?",
|
|
"market_id": "2011114",
|
|
"range": [
|
|
46.0,
|
|
47.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 488.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 48-49°F on April 20?",
|
|
"market_id": "2011115",
|
|
"range": [
|
|
48.0,
|
|
49.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 488.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 50-51°F on April 20?",
|
|
"market_id": "2011116",
|
|
"range": [
|
|
50.0,
|
|
51.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 460.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 52-53°F on April 20?",
|
|
"market_id": "2011117",
|
|
"range": [
|
|
52.0,
|
|
53.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 365.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 54-55°F on April 20?",
|
|
"market_id": "2011118",
|
|
"range": [
|
|
54.0,
|
|
55.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 304.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 56-57°F on April 20?",
|
|
"market_id": "2011119",
|
|
"range": [
|
|
56.0,
|
|
57.0
|
|
],
|
|
"bid": 0.0025,
|
|
"ask": 0.9975,
|
|
"price": 0.0025,
|
|
"spread": 0.995,
|
|
"volume": 360.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 58-59°F on April 20?",
|
|
"market_id": "2011120",
|
|
"range": [
|
|
58.0,
|
|
59.0
|
|
],
|
|
"bid": 0.0395,
|
|
"ask": 0.9605,
|
|
"price": 0.0395,
|
|
"spread": 0.921,
|
|
"volume": 756.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be between 60-61°F on April 20?",
|
|
"market_id": "2011121",
|
|
"range": [
|
|
60.0,
|
|
61.0
|
|
],
|
|
"bid": 0.03,
|
|
"ask": 0.97,
|
|
"price": 0.03,
|
|
"spread": 0.94,
|
|
"volume": 505.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seattle be 62°F or higher on April 20?",
|
|
"market_id": "2011122",
|
|
"range": [
|
|
62.0,
|
|
999.0
|
|
],
|
|
"bid": 0.94,
|
|
"ask": 0.06,
|
|
"price": 0.94,
|
|
"spread": -0.88,
|
|
"volume": 598.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:33:52.418626+00:00"
|
|
} |