- 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": "seoul",
|
|
"city_name": "Seoul",
|
|
"date": "2026-04-19",
|
|
"unit": "C",
|
|
"station": "RKSI",
|
|
"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:19.250565+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 22.7,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 22.7,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:58.430248+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 22.7,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 22.7,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:19.250565+00:00",
|
|
"top_bucket": "24.0-999.0C",
|
|
"top_price": 0.53
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:58.430248+00:00",
|
|
"top_bucket": "24.0-999.0C",
|
|
"top_price": 0.515
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 14°C or below on April 19?",
|
|
"market_id": "2003678",
|
|
"range": [
|
|
-999.0,
|
|
14.0
|
|
],
|
|
"bid": 0.0015,
|
|
"ask": 0.9985,
|
|
"price": 0.0015,
|
|
"spread": 0.997,
|
|
"volume": 14565.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 15°C on April 19?",
|
|
"market_id": "2003679",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.0015,
|
|
"ask": 0.9985,
|
|
"price": 0.0015,
|
|
"spread": 0.997,
|
|
"volume": 7370.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 16°C on April 19?",
|
|
"market_id": "2003680",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.0015,
|
|
"ask": 0.9985,
|
|
"price": 0.0015,
|
|
"spread": 0.997,
|
|
"volume": 7574.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 17°C on April 19?",
|
|
"market_id": "2003681",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.0045,
|
|
"ask": 0.9955,
|
|
"price": 0.0045,
|
|
"spread": 0.991,
|
|
"volume": 5717.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 18°C on April 19?",
|
|
"market_id": "2003682",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.0075,
|
|
"ask": 0.9925,
|
|
"price": 0.0075,
|
|
"spread": 0.985,
|
|
"volume": 7333.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 19°C on April 19?",
|
|
"market_id": "2003683",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.023,
|
|
"ask": 0.977,
|
|
"price": 0.023,
|
|
"spread": 0.954,
|
|
"volume": 4712.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 20°C on April 19?",
|
|
"market_id": "2003684",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.036,
|
|
"ask": 0.964,
|
|
"price": 0.036,
|
|
"spread": 0.928,
|
|
"volume": 4118.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 21°C on April 19?",
|
|
"market_id": "2003685",
|
|
"range": [
|
|
21.0,
|
|
21.0
|
|
],
|
|
"bid": 0.105,
|
|
"ask": 0.895,
|
|
"price": 0.105,
|
|
"spread": 0.79,
|
|
"volume": 4702.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 22°C on April 19?",
|
|
"market_id": "2003686",
|
|
"range": [
|
|
22.0,
|
|
22.0
|
|
],
|
|
"bid": 0.17,
|
|
"ask": 0.83,
|
|
"price": 0.17,
|
|
"spread": 0.66,
|
|
"volume": 2886.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 23°C on April 19?",
|
|
"market_id": "2003687",
|
|
"range": [
|
|
23.0,
|
|
23.0
|
|
],
|
|
"bid": 0.175,
|
|
"ask": 0.825,
|
|
"price": 0.175,
|
|
"spread": 0.65,
|
|
"volume": 3859.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 24°C or higher on April 19?",
|
|
"market_id": "2003688",
|
|
"range": [
|
|
24.0,
|
|
999.0
|
|
],
|
|
"bid": 0.515,
|
|
"ask": 0.485,
|
|
"price": 0.515,
|
|
"spread": -0.03,
|
|
"volume": 6488.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:21.584046+00:00"
|
|
} |