- 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": "dallas",
|
|
"city_name": "Dallas",
|
|
"date": "2026-04-19",
|
|
"unit": "F",
|
|
"station": "KDAL",
|
|
"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:43.603858+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 69,
|
|
"hrrr": 70,
|
|
"metar": null,
|
|
"best": 70,
|
|
"best_source": "hrrr"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:11.762952+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 69,
|
|
"hrrr": 70,
|
|
"metar": null,
|
|
"best": 70,
|
|
"best_source": "hrrr"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:43.603858+00:00",
|
|
"top_bucket": "-999.0-71.0F",
|
|
"top_price": 0.36
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:11.762952+00:00",
|
|
"top_bucket": "-999.0-71.0F",
|
|
"top_price": 0.445
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Dallas be 71°F or below on April 19?",
|
|
"market_id": "2003722",
|
|
"range": [
|
|
-999.0,
|
|
71.0
|
|
],
|
|
"bid": 0.445,
|
|
"ask": 0.555,
|
|
"price": 0.445,
|
|
"spread": 0.11,
|
|
"volume": 1914.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 72-73°F on April 19?",
|
|
"market_id": "2003723",
|
|
"range": [
|
|
72.0,
|
|
73.0
|
|
],
|
|
"bid": 0.275,
|
|
"ask": 0.725,
|
|
"price": 0.275,
|
|
"spread": 0.45,
|
|
"volume": 560.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 74-75°F on April 19?",
|
|
"market_id": "2003724",
|
|
"range": [
|
|
74.0,
|
|
75.0
|
|
],
|
|
"bid": 0.235,
|
|
"ask": 0.765,
|
|
"price": 0.235,
|
|
"spread": 0.53,
|
|
"volume": 1019.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 76-77°F on April 19?",
|
|
"market_id": "2003725",
|
|
"range": [
|
|
76.0,
|
|
77.0
|
|
],
|
|
"bid": 0.058,
|
|
"ask": 0.942,
|
|
"price": 0.058,
|
|
"spread": 0.884,
|
|
"volume": 606.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 78-79°F on April 19?",
|
|
"market_id": "2003726",
|
|
"range": [
|
|
78.0,
|
|
79.0
|
|
],
|
|
"bid": 0.0125,
|
|
"ask": 0.9875,
|
|
"price": 0.0125,
|
|
"spread": 0.975,
|
|
"volume": 1060.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 80-81°F on April 19?",
|
|
"market_id": "2003727",
|
|
"range": [
|
|
80.0,
|
|
81.0
|
|
],
|
|
"bid": 0.0045,
|
|
"ask": 0.9955,
|
|
"price": 0.0045,
|
|
"spread": 0.991,
|
|
"volume": 886.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 82-83°F on April 19?",
|
|
"market_id": "2003728",
|
|
"range": [
|
|
82.0,
|
|
83.0
|
|
],
|
|
"bid": 0.005,
|
|
"ask": 0.995,
|
|
"price": 0.005,
|
|
"spread": 0.99,
|
|
"volume": 672.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 84-85°F on April 19?",
|
|
"market_id": "2003729",
|
|
"range": [
|
|
84.0,
|
|
85.0
|
|
],
|
|
"bid": 0.0045,
|
|
"ask": 0.9955,
|
|
"price": 0.0045,
|
|
"spread": 0.991,
|
|
"volume": 1271.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 86-87°F on April 19?",
|
|
"market_id": "2003730",
|
|
"range": [
|
|
86.0,
|
|
87.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 1749.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be between 88-89°F on April 19?",
|
|
"market_id": "2003731",
|
|
"range": [
|
|
88.0,
|
|
89.0
|
|
],
|
|
"bid": 0.005,
|
|
"ask": 0.995,
|
|
"price": 0.005,
|
|
"spread": 0.99,
|
|
"volume": 1704.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Dallas be 90°F or higher on April 19?",
|
|
"market_id": "2003732",
|
|
"range": [
|
|
90.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0045,
|
|
"ask": 0.9955,
|
|
"price": 0.0045,
|
|
"spread": 0.991,
|
|
"volume": 2123.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:33:47.507208+00:00"
|
|
} |