- 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": "munich",
|
|
"city_name": "Munich",
|
|
"date": "2026-04-20",
|
|
"unit": "C",
|
|
"station": "EDDM",
|
|
"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:05.123715+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 12.1,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 12.1,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:36.919217+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 12.1,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 12.1,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:05.123715+00:00",
|
|
"top_bucket": "12.0-12.0C",
|
|
"top_price": 0.25
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:36.919217+00:00",
|
|
"top_bucket": "13.0-13.0C",
|
|
"top_price": 0.325
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Munich be 6°C or below on April 20?",
|
|
"market_id": "2011211",
|
|
"range": [
|
|
-999.0,
|
|
6.0
|
|
],
|
|
"bid": 0.0075,
|
|
"ask": 0.9925,
|
|
"price": 0.0075,
|
|
"spread": 0.985,
|
|
"volume": 159.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 7°C on April 20?",
|
|
"market_id": "2011212",
|
|
"range": [
|
|
7.0,
|
|
7.0
|
|
],
|
|
"bid": 0.014,
|
|
"ask": 0.986,
|
|
"price": 0.014,
|
|
"spread": 0.972,
|
|
"volume": 170.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 8°C on April 20?",
|
|
"market_id": "2011213",
|
|
"range": [
|
|
8.0,
|
|
8.0
|
|
],
|
|
"bid": 0.019,
|
|
"ask": 0.981,
|
|
"price": 0.019,
|
|
"spread": 0.962,
|
|
"volume": 160.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 9°C on April 20?",
|
|
"market_id": "2011214",
|
|
"range": [
|
|
9.0,
|
|
9.0
|
|
],
|
|
"bid": 0.0395,
|
|
"ask": 0.9605,
|
|
"price": 0.0395,
|
|
"spread": 0.921,
|
|
"volume": 53.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 10°C on April 20?",
|
|
"market_id": "2011215",
|
|
"range": [
|
|
10.0,
|
|
10.0
|
|
],
|
|
"bid": 0.0765,
|
|
"ask": 0.9235,
|
|
"price": 0.0765,
|
|
"spread": 0.847,
|
|
"volume": 28.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 11°C on April 20?",
|
|
"market_id": "2011216",
|
|
"range": [
|
|
11.0,
|
|
11.0
|
|
],
|
|
"bid": 0.11,
|
|
"ask": 0.89,
|
|
"price": 0.11,
|
|
"spread": 0.78,
|
|
"volume": 185.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 12°C on April 20?",
|
|
"market_id": "2011217",
|
|
"range": [
|
|
12.0,
|
|
12.0
|
|
],
|
|
"bid": 0.25,
|
|
"ask": 0.75,
|
|
"price": 0.25,
|
|
"spread": 0.5,
|
|
"volume": 58.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 13°C on April 20?",
|
|
"market_id": "2011218",
|
|
"range": [
|
|
13.0,
|
|
13.0
|
|
],
|
|
"bid": 0.325,
|
|
"ask": 0.675,
|
|
"price": 0.325,
|
|
"spread": 0.35,
|
|
"volume": 80.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 14°C on April 20?",
|
|
"market_id": "2011219",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.28,
|
|
"ask": 0.72,
|
|
"price": 0.28,
|
|
"spread": 0.44,
|
|
"volume": 21.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 15°C on April 20?",
|
|
"market_id": "2011220",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.095,
|
|
"ask": 0.905,
|
|
"price": 0.095,
|
|
"spread": 0.81,
|
|
"volume": 29.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 16°C or higher on April 20?",
|
|
"market_id": "2011221",
|
|
"range": [
|
|
16.0,
|
|
999.0
|
|
],
|
|
"bid": 0.065,
|
|
"ask": 0.935,
|
|
"price": 0.065,
|
|
"spread": 0.87,
|
|
"volume": 208.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:15.809220+00:00"
|
|
} |