- 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": "wellington",
|
|
"city_name": "Wellington",
|
|
"date": "2026-04-20",
|
|
"unit": "C",
|
|
"station": "NZWN",
|
|
"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:48.896577+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 14.5,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 14.5,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:46.211842+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 14.5,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 14.5,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:48.896577+00:00",
|
|
"top_bucket": "16.0-16.0C",
|
|
"top_price": 0.31
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:46.211842+00:00",
|
|
"top_bucket": "15.0-15.0C",
|
|
"top_price": 0.29
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 9°C or below on April 20?",
|
|
"market_id": "2011189",
|
|
"range": [
|
|
-999.0,
|
|
9.0
|
|
],
|
|
"bid": 0.005,
|
|
"ask": 0.995,
|
|
"price": 0.005,
|
|
"spread": 0.99,
|
|
"volume": 205.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 10°C on April 20?",
|
|
"market_id": "2011190",
|
|
"range": [
|
|
10.0,
|
|
10.0
|
|
],
|
|
"bid": 0.0075,
|
|
"ask": 0.9925,
|
|
"price": 0.0075,
|
|
"spread": 0.985,
|
|
"volume": 173.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 11°C on April 20?",
|
|
"market_id": "2011191",
|
|
"range": [
|
|
11.0,
|
|
11.0
|
|
],
|
|
"bid": 0.0145,
|
|
"ask": 0.9855,
|
|
"price": 0.0145,
|
|
"spread": 0.971,
|
|
"volume": 97.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 12°C on April 20?",
|
|
"market_id": "2011192",
|
|
"range": [
|
|
12.0,
|
|
12.0
|
|
],
|
|
"bid": 0.0395,
|
|
"ask": 0.9605,
|
|
"price": 0.0395,
|
|
"spread": 0.921,
|
|
"volume": 153.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 13°C on April 20?",
|
|
"market_id": "2011193",
|
|
"range": [
|
|
13.0,
|
|
13.0
|
|
],
|
|
"bid": 0.055,
|
|
"ask": 0.945,
|
|
"price": 0.055,
|
|
"spread": 0.89,
|
|
"volume": 360.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 14°C on April 20?",
|
|
"market_id": "2011194",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.18,
|
|
"ask": 0.82,
|
|
"price": 0.18,
|
|
"spread": 0.64,
|
|
"volume": 133.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 15°C on April 20?",
|
|
"market_id": "2011195",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.29,
|
|
"ask": 0.71,
|
|
"price": 0.29,
|
|
"spread": 0.42,
|
|
"volume": 9.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 16°C on April 20?",
|
|
"market_id": "2011196",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.25,
|
|
"ask": 0.75,
|
|
"price": 0.25,
|
|
"spread": 0.5,
|
|
"volume": 6.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 17°C on April 20?",
|
|
"market_id": "2011197",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.15,
|
|
"ask": 0.85,
|
|
"price": 0.15,
|
|
"spread": 0.7,
|
|
"volume": 458.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 18°C on April 20?",
|
|
"market_id": "2011198",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.065,
|
|
"ask": 0.935,
|
|
"price": 0.065,
|
|
"spread": 0.87,
|
|
"volume": 1205.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 19°C or higher on April 20?",
|
|
"market_id": "2011199",
|
|
"range": [
|
|
19.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0175,
|
|
"ask": 0.9825,
|
|
"price": 0.0175,
|
|
"spread": 0.965,
|
|
"volume": 338.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:51.934237+00:00"
|
|
} |