- 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": "tokyo",
|
|
"city_name": "Tokyo",
|
|
"date": "2026-04-20",
|
|
"unit": "C",
|
|
"station": "RJTT",
|
|
"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:22.441395+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 20.4,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 20.4,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:06.328891+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 20.4,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 20.4,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:22.441395+00:00",
|
|
"top_bucket": "22.0-22.0C",
|
|
"top_price": 0.345
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:06.328891+00:00",
|
|
"top_bucket": "22.0-22.0C",
|
|
"top_price": 0.35
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 14°C or below on April 20?",
|
|
"market_id": "2011233",
|
|
"range": [
|
|
-999.0,
|
|
14.0
|
|
],
|
|
"bid": 0.007,
|
|
"ask": 0.993,
|
|
"price": 0.007,
|
|
"spread": 0.986,
|
|
"volume": 240.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 15°C on April 20?",
|
|
"market_id": "2011234",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.007,
|
|
"ask": 0.993,
|
|
"price": 0.007,
|
|
"spread": 0.986,
|
|
"volume": 240.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 16°C on April 20?",
|
|
"market_id": "2011235",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.0075,
|
|
"ask": 0.9925,
|
|
"price": 0.0075,
|
|
"spread": 0.985,
|
|
"volume": 308.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 17°C on April 20?",
|
|
"market_id": "2011236",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.0065,
|
|
"ask": 0.9935,
|
|
"price": 0.0065,
|
|
"spread": 0.987,
|
|
"volume": 203.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 18°C on April 20?",
|
|
"market_id": "2011237",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.0205,
|
|
"ask": 0.9795,
|
|
"price": 0.0205,
|
|
"spread": 0.959,
|
|
"volume": 194.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 19°C on April 20?",
|
|
"market_id": "2011238",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.045,
|
|
"ask": 0.955,
|
|
"price": 0.045,
|
|
"spread": 0.91,
|
|
"volume": 384.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 20°C on April 20?",
|
|
"market_id": "2011239",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.1,
|
|
"ask": 0.9,
|
|
"price": 0.1,
|
|
"spread": 0.8,
|
|
"volume": 114.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 21°C on April 20?",
|
|
"market_id": "2011240",
|
|
"range": [
|
|
21.0,
|
|
21.0
|
|
],
|
|
"bid": 0.235,
|
|
"ask": 0.765,
|
|
"price": 0.235,
|
|
"spread": 0.53,
|
|
"volume": 77.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 22°C on April 20?",
|
|
"market_id": "2011241",
|
|
"range": [
|
|
22.0,
|
|
22.0
|
|
],
|
|
"bid": 0.35,
|
|
"ask": 0.65,
|
|
"price": 0.35,
|
|
"spread": 0.3,
|
|
"volume": 171.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 23°C on April 20?",
|
|
"market_id": "2011242",
|
|
"range": [
|
|
23.0,
|
|
23.0
|
|
],
|
|
"bid": 0.25,
|
|
"ask": 0.75,
|
|
"price": 0.25,
|
|
"spread": 0.5,
|
|
"volume": 137.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tokyo be 24°C or higher on April 20?",
|
|
"market_id": "2011243",
|
|
"range": [
|
|
24.0,
|
|
999.0
|
|
],
|
|
"bid": 0.105,
|
|
"ask": 0.895,
|
|
"price": 0.105,
|
|
"spread": 0.79,
|
|
"volume": 364.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:25.258606+00:00"
|
|
} |