- 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.2 KiB
JSON
194 lines
4.2 KiB
JSON
{
|
|
"city": "atlanta",
|
|
"city_name": "Atlanta",
|
|
"date": "2026-04-20",
|
|
"unit": "F",
|
|
"station": "KATL",
|
|
"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:52.905589+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 74,
|
|
"hrrr": 77,
|
|
"metar": null,
|
|
"best": 77,
|
|
"best_source": "hrrr"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:22.555950+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 74,
|
|
"hrrr": 77,
|
|
"metar": null,
|
|
"best": 77,
|
|
"best_source": "hrrr"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:52.905589+00:00",
|
|
"top_bucket": "76.0-77.0F",
|
|
"top_price": 0.325
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:22.555950+00:00",
|
|
"top_bucket": "76.0-77.0F",
|
|
"top_price": 0.3
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be 69°F or below on April 20?",
|
|
"market_id": "2011145",
|
|
"range": [
|
|
-999.0,
|
|
69.0
|
|
],
|
|
"bid": 0.008,
|
|
"ask": 0.992,
|
|
"price": 0.008,
|
|
"spread": 0.984,
|
|
"volume": 1877.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 70-71°F on April 20?",
|
|
"market_id": "2011146",
|
|
"range": [
|
|
70.0,
|
|
71.0
|
|
],
|
|
"bid": 0.05,
|
|
"ask": 0.95,
|
|
"price": 0.05,
|
|
"spread": 0.9,
|
|
"volume": 2.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 72-73°F on April 20?",
|
|
"market_id": "2011147",
|
|
"range": [
|
|
72.0,
|
|
73.0
|
|
],
|
|
"bid": 0.115,
|
|
"ask": 0.885,
|
|
"price": 0.115,
|
|
"spread": 0.77,
|
|
"volume": 29.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 74-75°F on April 20?",
|
|
"market_id": "2011148",
|
|
"range": [
|
|
74.0,
|
|
75.0
|
|
],
|
|
"bid": 0.145,
|
|
"ask": 0.855,
|
|
"price": 0.145,
|
|
"spread": 0.71,
|
|
"volume": 19.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 76-77°F on April 20?",
|
|
"market_id": "2011149",
|
|
"range": [
|
|
76.0,
|
|
77.0
|
|
],
|
|
"bid": 0.3,
|
|
"ask": 0.7,
|
|
"price": 0.3,
|
|
"spread": 0.4,
|
|
"volume": 179.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 78-79°F on April 20?",
|
|
"market_id": "2011150",
|
|
"range": [
|
|
78.0,
|
|
79.0
|
|
],
|
|
"bid": 0.195,
|
|
"ask": 0.805,
|
|
"price": 0.195,
|
|
"spread": 0.61,
|
|
"volume": 34.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 80-81°F on April 20?",
|
|
"market_id": "2011151",
|
|
"range": [
|
|
80.0,
|
|
81.0
|
|
],
|
|
"bid": 0.09,
|
|
"ask": 0.91,
|
|
"price": 0.09,
|
|
"spread": 0.82,
|
|
"volume": 75.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 82-83°F on April 20?",
|
|
"market_id": "2011152",
|
|
"range": [
|
|
82.0,
|
|
83.0
|
|
],
|
|
"bid": 0.04,
|
|
"ask": 0.96,
|
|
"price": 0.04,
|
|
"spread": 0.92,
|
|
"volume": 66.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 84-85°F on April 20?",
|
|
"market_id": "2011153",
|
|
"range": [
|
|
84.0,
|
|
85.0
|
|
],
|
|
"bid": 0.029,
|
|
"ask": 0.971,
|
|
"price": 0.029,
|
|
"spread": 0.942,
|
|
"volume": 64.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 86-87°F on April 20?",
|
|
"market_id": "2011154",
|
|
"range": [
|
|
86.0,
|
|
87.0
|
|
],
|
|
"bid": 0.0205,
|
|
"ask": 0.9795,
|
|
"price": 0.0205,
|
|
"spread": 0.959,
|
|
"volume": 127.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be 88°F or higher on April 20?",
|
|
"market_id": "2011155",
|
|
"range": [
|
|
88.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0095,
|
|
"ask": 0.9905,
|
|
"price": 0.0095,
|
|
"spread": 0.981,
|
|
"volume": 203.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:33:57.075280+00:00"
|
|
} |