- 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": "munich",
|
|
"city_name": "Munich",
|
|
"date": "2026-04-18",
|
|
"unit": "C",
|
|
"station": "EDDM",
|
|
"event_end_date": "2026-04-18T12:00:00Z",
|
|
"hours_at_discovery": 5.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+0",
|
|
"hours_left": 5.4,
|
|
"ecmwf": 19.7,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 19.7,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:36.919217+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 4.4,
|
|
"ecmwf": 19.7,
|
|
"hrrr": null,
|
|
"metar": 13.0,
|
|
"best": 19.7,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:05.123715+00:00",
|
|
"top_bucket": "21.0-21.0C",
|
|
"top_price": 0.49
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:36.919217+00:00",
|
|
"top_bucket": "21.0-21.0C",
|
|
"top_price": 0.53
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Munich be 14°C or below on April 18?",
|
|
"market_id": "1996455",
|
|
"range": [
|
|
-999.0,
|
|
14.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 5908.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 15°C on April 18?",
|
|
"market_id": "1996456",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 8923.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 16°C on April 18?",
|
|
"market_id": "1996457",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 2878.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 17°C on April 18?",
|
|
"market_id": "1996458",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 2515.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 18°C on April 18?",
|
|
"market_id": "1996459",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.0025,
|
|
"ask": 0.9975,
|
|
"price": 0.0025,
|
|
"spread": 0.995,
|
|
"volume": 6752.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 19°C on April 18?",
|
|
"market_id": "1996460",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.0405,
|
|
"ask": 0.9595,
|
|
"price": 0.0405,
|
|
"spread": 0.919,
|
|
"volume": 6476.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 20°C on April 18?",
|
|
"market_id": "1996461",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.275,
|
|
"ask": 0.725,
|
|
"price": 0.275,
|
|
"spread": 0.45,
|
|
"volume": 3596.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 21°C on April 18?",
|
|
"market_id": "1996462",
|
|
"range": [
|
|
21.0,
|
|
21.0
|
|
],
|
|
"bid": 0.53,
|
|
"ask": 0.47,
|
|
"price": 0.53,
|
|
"spread": -0.06,
|
|
"volume": 2744.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 22°C on April 18?",
|
|
"market_id": "1996463",
|
|
"range": [
|
|
22.0,
|
|
22.0
|
|
],
|
|
"bid": 0.1475,
|
|
"ask": 0.8525,
|
|
"price": 0.1475,
|
|
"spread": 0.705,
|
|
"volume": 4270.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 23°C on April 18?",
|
|
"market_id": "1996464",
|
|
"range": [
|
|
23.0,
|
|
23.0
|
|
],
|
|
"bid": 0.011,
|
|
"ask": 0.989,
|
|
"price": 0.011,
|
|
"spread": 0.978,
|
|
"volume": 4274.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Munich be 24°C or higher on April 18?",
|
|
"market_id": "1996465",
|
|
"range": [
|
|
24.0,
|
|
999.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 5064.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:14.954102+00:00"
|
|
} |