- 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.1 KiB
JSON
194 lines
4.1 KiB
JSON
{
|
|
"city": "toronto",
|
|
"city_name": "Toronto",
|
|
"date": "2026-04-20",
|
|
"unit": "C",
|
|
"station": "CYYZ",
|
|
"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:34:39.006007+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 3.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 3.0,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:35.440708+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 3.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 3.0,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:39.006007+00:00",
|
|
"top_bucket": "4.0-4.0C",
|
|
"top_price": 0.205
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:35.440708+00:00",
|
|
"top_bucket": "4.0-4.0C",
|
|
"top_price": 0.22
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 1°C or below on April 20?",
|
|
"market_id": "2011101",
|
|
"range": [
|
|
-999.0,
|
|
1.0
|
|
],
|
|
"bid": 0.04,
|
|
"ask": 0.96,
|
|
"price": 0.04,
|
|
"spread": 0.92,
|
|
"volume": 55.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 2°C on April 20?",
|
|
"market_id": "2011102",
|
|
"range": [
|
|
2.0,
|
|
2.0
|
|
],
|
|
"bid": 0.105,
|
|
"ask": 0.895,
|
|
"price": 0.105,
|
|
"spread": 0.79,
|
|
"volume": 0.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 3°C on April 20?",
|
|
"market_id": "2011103",
|
|
"range": [
|
|
3.0,
|
|
3.0
|
|
],
|
|
"bid": 0.16,
|
|
"ask": 0.84,
|
|
"price": 0.16,
|
|
"spread": 0.68,
|
|
"volume": 23.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 4°C on April 20?",
|
|
"market_id": "2011104",
|
|
"range": [
|
|
4.0,
|
|
4.0
|
|
],
|
|
"bid": 0.22,
|
|
"ask": 0.78,
|
|
"price": 0.22,
|
|
"spread": 0.56,
|
|
"volume": 3.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 5°C on April 20?",
|
|
"market_id": "2011105",
|
|
"range": [
|
|
5.0,
|
|
5.0
|
|
],
|
|
"bid": 0.15,
|
|
"ask": 0.85,
|
|
"price": 0.15,
|
|
"spread": 0.7,
|
|
"volume": 0.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 6°C on April 20?",
|
|
"market_id": "2011106",
|
|
"range": [
|
|
6.0,
|
|
6.0
|
|
],
|
|
"bid": 0.11,
|
|
"ask": 0.89,
|
|
"price": 0.11,
|
|
"spread": 0.78,
|
|
"volume": 90.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 7°C on April 20?",
|
|
"market_id": "2011107",
|
|
"range": [
|
|
7.0,
|
|
7.0
|
|
],
|
|
"bid": 0.115,
|
|
"ask": 0.885,
|
|
"price": 0.115,
|
|
"spread": 0.77,
|
|
"volume": 143.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 8°C on April 20?",
|
|
"market_id": "2011108",
|
|
"range": [
|
|
8.0,
|
|
8.0
|
|
],
|
|
"bid": 0.1,
|
|
"ask": 0.9,
|
|
"price": 0.1,
|
|
"spread": 0.8,
|
|
"volume": 169.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 9°C on April 20?",
|
|
"market_id": "2011109",
|
|
"range": [
|
|
9.0,
|
|
9.0
|
|
],
|
|
"bid": 0.0745,
|
|
"ask": 0.9255,
|
|
"price": 0.0745,
|
|
"spread": 0.851,
|
|
"volume": 88.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 10°C on April 20?",
|
|
"market_id": "2011110",
|
|
"range": [
|
|
10.0,
|
|
10.0
|
|
],
|
|
"bid": 0.018,
|
|
"ask": 0.982,
|
|
"price": 0.018,
|
|
"spread": 0.964,
|
|
"volume": 227.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Toronto be 11°C or higher on April 20?",
|
|
"market_id": "2011111",
|
|
"range": [
|
|
11.0,
|
|
999.0
|
|
],
|
|
"bid": 0.008,
|
|
"ask": 0.992,
|
|
"price": 0.008,
|
|
"spread": 0.984,
|
|
"volume": 600.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:41.919838+00:00"
|
|
} |