- 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.1 KiB
JSON
194 lines
4.1 KiB
JSON
{
|
|
"city": "seoul",
|
|
"city_name": "Seoul",
|
|
"date": "2026-04-20",
|
|
"unit": "C",
|
|
"station": "RKSI",
|
|
"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:19.250565+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 16.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 16.6,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:58.430248+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 16.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 16.6,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:19.250565+00:00",
|
|
"top_bucket": "17.0-999.0C",
|
|
"top_price": 0.455
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:58.430248+00:00",
|
|
"top_bucket": "17.0-999.0C",
|
|
"top_price": 0.435
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 7°C or below on April 20?",
|
|
"market_id": "2011090",
|
|
"range": [
|
|
-999.0,
|
|
7.0
|
|
],
|
|
"bid": 0.004,
|
|
"ask": 0.996,
|
|
"price": 0.004,
|
|
"spread": 0.992,
|
|
"volume": 218.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 8°C on April 20?",
|
|
"market_id": "2011091",
|
|
"range": [
|
|
8.0,
|
|
8.0
|
|
],
|
|
"bid": 0.0065,
|
|
"ask": 0.9935,
|
|
"price": 0.0065,
|
|
"spread": 0.987,
|
|
"volume": 213.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 9°C on April 20?",
|
|
"market_id": "2011092",
|
|
"range": [
|
|
9.0,
|
|
9.0
|
|
],
|
|
"bid": 0.0115,
|
|
"ask": 0.9885,
|
|
"price": 0.0115,
|
|
"spread": 0.977,
|
|
"volume": 323.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 10°C on April 20?",
|
|
"market_id": "2011093",
|
|
"range": [
|
|
10.0,
|
|
10.0
|
|
],
|
|
"bid": 0.0205,
|
|
"ask": 0.9795,
|
|
"price": 0.0205,
|
|
"spread": 0.959,
|
|
"volume": 223.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 11°C on April 20?",
|
|
"market_id": "2011094",
|
|
"range": [
|
|
11.0,
|
|
11.0
|
|
],
|
|
"bid": 0.037,
|
|
"ask": 0.963,
|
|
"price": 0.037,
|
|
"spread": 0.926,
|
|
"volume": 149.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 12°C on April 20?",
|
|
"market_id": "2011095",
|
|
"range": [
|
|
12.0,
|
|
12.0
|
|
],
|
|
"bid": 0.037,
|
|
"ask": 0.963,
|
|
"price": 0.037,
|
|
"spread": 0.926,
|
|
"volume": 631.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 13°C on April 20?",
|
|
"market_id": "2011096",
|
|
"range": [
|
|
13.0,
|
|
13.0
|
|
],
|
|
"bid": 0.1,
|
|
"ask": 0.9,
|
|
"price": 0.1,
|
|
"spread": 0.8,
|
|
"volume": 135.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 14°C on April 20?",
|
|
"market_id": "2011097",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.145,
|
|
"ask": 0.855,
|
|
"price": 0.145,
|
|
"spread": 0.71,
|
|
"volume": 173.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 15°C on April 20?",
|
|
"market_id": "2011098",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.155,
|
|
"ask": 0.845,
|
|
"price": 0.155,
|
|
"spread": 0.69,
|
|
"volume": 148.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 16°C on April 20?",
|
|
"market_id": "2011099",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.235,
|
|
"ask": 0.765,
|
|
"price": 0.235,
|
|
"spread": 0.53,
|
|
"volume": 63.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Seoul be 17°C or higher on April 20?",
|
|
"market_id": "2011100",
|
|
"range": [
|
|
17.0,
|
|
999.0
|
|
],
|
|
"bid": 0.435,
|
|
"ask": 0.565,
|
|
"price": 0.435,
|
|
"spread": 0.13,
|
|
"volume": 250.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:22.019418+00:00"
|
|
} |