- 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": "atlanta",
|
|
"city_name": "Atlanta",
|
|
"date": "2026-04-19",
|
|
"unit": "F",
|
|
"station": "KATL",
|
|
"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:33:52.905589+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 71,
|
|
"hrrr": 70,
|
|
"metar": null,
|
|
"best": 70,
|
|
"best_source": "hrrr"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:22.555950+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 71,
|
|
"hrrr": 70,
|
|
"metar": null,
|
|
"best": 70,
|
|
"best_source": "hrrr"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:52.905589+00:00",
|
|
"top_bucket": "70.0-71.0F",
|
|
"top_price": 0.325
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:22.555950+00:00",
|
|
"top_bucket": "70.0-71.0F",
|
|
"top_price": 0.335
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be 55°F or below on April 19?",
|
|
"market_id": "2003733",
|
|
"range": [
|
|
-999.0,
|
|
55.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 1324.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 56-57°F on April 19?",
|
|
"market_id": "2003734",
|
|
"range": [
|
|
56.0,
|
|
57.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 982.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 58-59°F on April 19?",
|
|
"market_id": "2003735",
|
|
"range": [
|
|
58.0,
|
|
59.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 833.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 60-61°F on April 19?",
|
|
"market_id": "2003736",
|
|
"range": [
|
|
60.0,
|
|
61.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 720.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 62-63°F on April 19?",
|
|
"market_id": "2003737",
|
|
"range": [
|
|
62.0,
|
|
63.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 1775.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 64-65°F on April 19?",
|
|
"market_id": "2003738",
|
|
"range": [
|
|
64.0,
|
|
65.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 1150.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 66-67°F on April 19?",
|
|
"market_id": "2003739",
|
|
"range": [
|
|
66.0,
|
|
67.0
|
|
],
|
|
"bid": 0.0325,
|
|
"ask": 0.9675,
|
|
"price": 0.0325,
|
|
"spread": 0.935,
|
|
"volume": 1521.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 68-69°F on April 19?",
|
|
"market_id": "2003740",
|
|
"range": [
|
|
68.0,
|
|
69.0
|
|
],
|
|
"bid": 0.115,
|
|
"ask": 0.885,
|
|
"price": 0.115,
|
|
"spread": 0.77,
|
|
"volume": 2539.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 70-71°F on April 19?",
|
|
"market_id": "2003741",
|
|
"range": [
|
|
70.0,
|
|
71.0
|
|
],
|
|
"bid": 0.335,
|
|
"ask": 0.665,
|
|
"price": 0.335,
|
|
"spread": 0.33,
|
|
"volume": 1426.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be between 72-73°F on April 19?",
|
|
"market_id": "2003742",
|
|
"range": [
|
|
72.0,
|
|
73.0
|
|
],
|
|
"bid": 0.245,
|
|
"ask": 0.755,
|
|
"price": 0.245,
|
|
"spread": 0.51,
|
|
"volume": 1121.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Atlanta be 74°F or higher on April 19?",
|
|
"market_id": "2003743",
|
|
"range": [
|
|
74.0,
|
|
999.0
|
|
],
|
|
"bid": 0.275,
|
|
"ask": 0.725,
|
|
"price": 0.275,
|
|
"spread": 0.45,
|
|
"volume": 3535.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:33:56.622167+00:00"
|
|
} |