- 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-19",
|
|
"unit": "C",
|
|
"station": "NZWN",
|
|
"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:48.896577+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 16.5,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 16.5,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:46.211842+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 16.5,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 16.5,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:48.896577+00:00",
|
|
"top_bucket": "18.0-18.0C",
|
|
"top_price": 0.455
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:46.211842+00:00",
|
|
"top_bucket": "18.0-18.0C",
|
|
"top_price": 0.47
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 11°C or below on April 19?",
|
|
"market_id": "2003777",
|
|
"range": [
|
|
-999.0,
|
|
11.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 3310.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 12°C on April 19?",
|
|
"market_id": "2003778",
|
|
"range": [
|
|
12.0,
|
|
12.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 5879.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 13°C on April 19?",
|
|
"market_id": "2003779",
|
|
"range": [
|
|
13.0,
|
|
13.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 1378.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 14°C on April 19?",
|
|
"market_id": "2003780",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.007,
|
|
"ask": 0.993,
|
|
"price": 0.007,
|
|
"spread": 0.986,
|
|
"volume": 886.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 15°C on April 19?",
|
|
"market_id": "2003781",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.0105,
|
|
"ask": 0.9895,
|
|
"price": 0.0105,
|
|
"spread": 0.979,
|
|
"volume": 2143.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 16°C on April 19?",
|
|
"market_id": "2003782",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.11,
|
|
"ask": 0.89,
|
|
"price": 0.11,
|
|
"spread": 0.78,
|
|
"volume": 5028.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 17°C on April 19?",
|
|
"market_id": "2003783",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.225,
|
|
"ask": 0.775,
|
|
"price": 0.225,
|
|
"spread": 0.55,
|
|
"volume": 3864.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 18°C on April 19?",
|
|
"market_id": "2003784",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.47,
|
|
"ask": 0.53,
|
|
"price": 0.47,
|
|
"spread": 0.06,
|
|
"volume": 1207.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 19°C on April 19?",
|
|
"market_id": "2003785",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.11,
|
|
"ask": 0.89,
|
|
"price": 0.11,
|
|
"spread": 0.78,
|
|
"volume": 2683.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 20°C on April 19?",
|
|
"market_id": "2003786",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.0155,
|
|
"ask": 0.9845,
|
|
"price": 0.0155,
|
|
"spread": 0.969,
|
|
"volume": 891.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Wellington be 21°C or higher on April 19?",
|
|
"market_id": "2003787",
|
|
"range": [
|
|
21.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0085,
|
|
"ask": 0.9915,
|
|
"price": 0.0085,
|
|
"spread": 0.983,
|
|
"volume": 994.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:51.516723+00:00"
|
|
} |