- 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-19",
|
|
"unit": "C",
|
|
"station": "EGLC",
|
|
"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:33:57.508115+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 15.9,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 15.9,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:27.602435+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 15.9,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 15.9,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:57.508115+00:00",
|
|
"top_bucket": "15.0-15.0C",
|
|
"top_price": 0.41
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:27.602435+00:00",
|
|
"top_bucket": "15.0-15.0C",
|
|
"top_price": 0.42
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in London be 9°C or below on April 19?",
|
|
"market_id": "2003634",
|
|
"range": [
|
|
-999.0,
|
|
9.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 5791.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 10°C on April 19?",
|
|
"market_id": "2003635",
|
|
"range": [
|
|
10.0,
|
|
10.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 8262.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 11°C on April 19?",
|
|
"market_id": "2003636",
|
|
"range": [
|
|
11.0,
|
|
11.0
|
|
],
|
|
"bid": 0.0025,
|
|
"ask": 0.9975,
|
|
"price": 0.0025,
|
|
"spread": 0.995,
|
|
"volume": 1574.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 12°C on April 19?",
|
|
"market_id": "2003637",
|
|
"range": [
|
|
12.0,
|
|
12.0
|
|
],
|
|
"bid": 0.0085,
|
|
"ask": 0.9915,
|
|
"price": 0.0085,
|
|
"spread": 0.983,
|
|
"volume": 2789.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 13°C on April 19?",
|
|
"market_id": "2003638",
|
|
"range": [
|
|
13.0,
|
|
13.0
|
|
],
|
|
"bid": 0.0115,
|
|
"ask": 0.9885,
|
|
"price": 0.0115,
|
|
"spread": 0.977,
|
|
"volume": 2423.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 14°C on April 19?",
|
|
"market_id": "2003639",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.065,
|
|
"ask": 0.935,
|
|
"price": 0.065,
|
|
"spread": 0.87,
|
|
"volume": 3180.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 15°C on April 19?",
|
|
"market_id": "2003640",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.42,
|
|
"ask": 0.58,
|
|
"price": 0.42,
|
|
"spread": 0.16,
|
|
"volume": 1849.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 16°C on April 19?",
|
|
"market_id": "2003641",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.365,
|
|
"ask": 0.635,
|
|
"price": 0.365,
|
|
"spread": 0.27,
|
|
"volume": 1864.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 17°C on April 19?",
|
|
"market_id": "2003642",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.135,
|
|
"ask": 0.865,
|
|
"price": 0.135,
|
|
"spread": 0.73,
|
|
"volume": 1661.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 18°C on April 19?",
|
|
"market_id": "2003643",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.0115,
|
|
"ask": 0.9885,
|
|
"price": 0.0115,
|
|
"spread": 0.977,
|
|
"volume": 1524.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in London be 19°C or higher on April 19?",
|
|
"market_id": "2003644",
|
|
"range": [
|
|
19.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 1939.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:00.698047+00:00"
|
|
} |