- 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": "london",
|
|
"city_name": "London",
|
|
"date": "2026-04-18",
|
|
"unit": "C",
|
|
"station": "EGLC",
|
|
"event_end_date": "2026-04-18T12:00:00Z",
|
|
"hours_at_discovery": 5.4,
|
|
"status": "open",
|
|
"position": null,
|
|
"actual_temp": null,
|
|
"resolved_outcome": null,
|
|
"pnl": null,
|
|
"forecast_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:57.508115+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 5.4,
|
|
"ecmwf": 17.6,
|
|
"hrrr": null,
|
|
"metar": 11.0,
|
|
"best": 17.6,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:27.602435+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 4.4,
|
|
"ecmwf": 17.6,
|
|
"hrrr": null,
|
|
"metar": 12.0,
|
|
"best": 17.6,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:57.508115+00:00",
|
|
"top_bucket": "17.0-17.0C",
|
|
"top_price": 0.575
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:27.602435+00:00",
|
|
"top_bucket": "17.0-17.0C",
|
|
"top_price": 0.595
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in London be 11°C or below on April 18?",
|
|
"market_id": "1996289",
|
|
"range": [
|
|
-999.0,
|
|
11.0
|
|
],
|
|
"bid": 0.0,
|
|
"ask": 1.0,
|
|
"price": 0.0,
|
|
"spread": 1.0,
|
|
"volume": 3133.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 12°C on April 18?",
|
|
"market_id": "1996290",
|
|
"range": [
|
|
12.0,
|
|
12.0
|
|
],
|
|
"bid": 0.0,
|
|
"ask": 1.0,
|
|
"price": 0.0,
|
|
"spread": 1.0,
|
|
"volume": 8302.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 13°C on April 18?",
|
|
"market_id": "1996291",
|
|
"range": [
|
|
13.0,
|
|
13.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 5348.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 14°C on April 18?",
|
|
"market_id": "1996292",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.0015,
|
|
"ask": 0.9985,
|
|
"price": 0.0015,
|
|
"spread": 0.997,
|
|
"volume": 8643.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 15°C on April 18?",
|
|
"market_id": "1996293",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.0125,
|
|
"ask": 0.9875,
|
|
"price": 0.0125,
|
|
"spread": 0.975,
|
|
"volume": 11577.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 16°C on April 18?",
|
|
"market_id": "1996294",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.105,
|
|
"ask": 0.895,
|
|
"price": 0.105,
|
|
"spread": 0.79,
|
|
"volume": 8200.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 17°C on April 18?",
|
|
"market_id": "1996295",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.595,
|
|
"ask": 0.405,
|
|
"price": 0.595,
|
|
"spread": -0.19,
|
|
"volume": 8121.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 18°C on April 18?",
|
|
"market_id": "1996296",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.24,
|
|
"ask": 0.76,
|
|
"price": 0.24,
|
|
"spread": 0.52,
|
|
"volume": 8713.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 19°C on April 18?",
|
|
"market_id": "1996297",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.0175,
|
|
"ask": 0.9825,
|
|
"price": 0.0175,
|
|
"spread": 0.965,
|
|
"volume": 5855.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 20°C on April 18?",
|
|
"market_id": "1996298",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.0015,
|
|
"ask": 0.9985,
|
|
"price": 0.0015,
|
|
"spread": 0.997,
|
|
"volume": 3990.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 21°C or higher on April 18?",
|
|
"market_id": "1996299",
|
|
"range": [
|
|
21.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 7058.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:00.197616+00:00"
|
|
} |