- 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": "toronto",
|
|
"city_name": "Toronto",
|
|
"date": "2026-04-19",
|
|
"unit": "C",
|
|
"station": "CYYZ",
|
|
"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:34:39.006007+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 7.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 7.6,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:35.440708+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 7.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 7.6,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:39.006007+00:00",
|
|
"top_bucket": "8.0-8.0C",
|
|
"top_price": 0.325
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:35.440708+00:00",
|
|
"top_bucket": "8.0-8.0C",
|
|
"top_price": 0.335
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 0°C or below on April 19?",
|
|
"market_id": "2003689",
|
|
"range": [
|
|
-999.0,
|
|
0.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 1574.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 1°C on April 19?",
|
|
"market_id": "2003690",
|
|
"range": [
|
|
1.0,
|
|
1.0
|
|
],
|
|
"bid": 0.0025,
|
|
"ask": 0.9975,
|
|
"price": 0.0025,
|
|
"spread": 0.995,
|
|
"volume": 1099.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 2°C on April 19?",
|
|
"market_id": "2003691",
|
|
"range": [
|
|
2.0,
|
|
2.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 1119.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 3°C on April 19?",
|
|
"market_id": "2003692",
|
|
"range": [
|
|
3.0,
|
|
3.0
|
|
],
|
|
"bid": 0.0025,
|
|
"ask": 0.9975,
|
|
"price": 0.0025,
|
|
"spread": 0.995,
|
|
"volume": 1179.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 4°C on April 19?",
|
|
"market_id": "2003693",
|
|
"range": [
|
|
4.0,
|
|
4.0
|
|
],
|
|
"bid": 0.014,
|
|
"ask": 0.986,
|
|
"price": 0.014,
|
|
"spread": 0.972,
|
|
"volume": 742.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 5°C on April 19?",
|
|
"market_id": "2003694",
|
|
"range": [
|
|
5.0,
|
|
5.0
|
|
],
|
|
"bid": 0.0285,
|
|
"ask": 0.9715,
|
|
"price": 0.0285,
|
|
"spread": 0.943,
|
|
"volume": 1110.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 6°C on April 19?",
|
|
"market_id": "2003695",
|
|
"range": [
|
|
6.0,
|
|
6.0
|
|
],
|
|
"bid": 0.105,
|
|
"ask": 0.895,
|
|
"price": 0.105,
|
|
"spread": 0.79,
|
|
"volume": 1555.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 7°C on April 19?",
|
|
"market_id": "2003696",
|
|
"range": [
|
|
7.0,
|
|
7.0
|
|
],
|
|
"bid": 0.265,
|
|
"ask": 0.735,
|
|
"price": 0.265,
|
|
"spread": 0.47,
|
|
"volume": 648.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 8°C on April 19?",
|
|
"market_id": "2003697",
|
|
"range": [
|
|
8.0,
|
|
8.0
|
|
],
|
|
"bid": 0.335,
|
|
"ask": 0.665,
|
|
"price": 0.335,
|
|
"spread": 0.33,
|
|
"volume": 1005.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 9°C on April 19?",
|
|
"market_id": "2003698",
|
|
"range": [
|
|
9.0,
|
|
9.0
|
|
],
|
|
"bid": 0.145,
|
|
"ask": 0.855,
|
|
"price": 0.145,
|
|
"spread": 0.71,
|
|
"volume": 700.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 10°C or higher on April 19?",
|
|
"market_id": "2003699",
|
|
"range": [
|
|
10.0,
|
|
999.0
|
|
],
|
|
"bid": 0.115,
|
|
"ask": 0.885,
|
|
"price": 0.115,
|
|
"spread": 0.77,
|
|
"volume": 1599.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:41.520483+00:00"
|
|
} |