- 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": "paris",
|
|
"city_name": "Paris",
|
|
"date": "2026-04-18",
|
|
"unit": "C",
|
|
"station": "LFPG",
|
|
"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:01.592793+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 5.4,
|
|
"ecmwf": 19.8,
|
|
"hrrr": null,
|
|
"metar": 14.0,
|
|
"best": 19.8,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:32.283656+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 4.4,
|
|
"ecmwf": 19.8,
|
|
"hrrr": null,
|
|
"metar": 15.0,
|
|
"best": 19.8,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:01.592793+00:00",
|
|
"top_bucket": "20.0-20.0C",
|
|
"top_price": 0.375
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:32.283656+00:00",
|
|
"top_bucket": "20.0-20.0C",
|
|
"top_price": 0.345
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Paris be 13°C or below on April 18?",
|
|
"market_id": "1996300",
|
|
"range": [
|
|
-999.0,
|
|
13.0
|
|
],
|
|
"bid": 0.0,
|
|
"ask": 1.0,
|
|
"price": 0.0,
|
|
"spread": 1.0,
|
|
"volume": 9156.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 14°C on April 18?",
|
|
"market_id": "1996301",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.0,
|
|
"ask": 1.0,
|
|
"price": 0.0,
|
|
"spread": 1.0,
|
|
"volume": 10969.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 15°C on April 18?",
|
|
"market_id": "1996302",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.0,
|
|
"ask": 1.0,
|
|
"price": 0.0,
|
|
"spread": 1.0,
|
|
"volume": 1769.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 16°C on April 18?",
|
|
"market_id": "1996303",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 4336.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 17°C on April 18?",
|
|
"market_id": "1996304",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.0015,
|
|
"ask": 0.9985,
|
|
"price": 0.0015,
|
|
"spread": 0.997,
|
|
"volume": 10688.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 18°C on April 18?",
|
|
"market_id": "1996305",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.0145,
|
|
"ask": 0.9855,
|
|
"price": 0.0145,
|
|
"spread": 0.971,
|
|
"volume": 10457.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 19°C on April 18?",
|
|
"market_id": "1996306",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.0475,
|
|
"ask": 0.9525,
|
|
"price": 0.0475,
|
|
"spread": 0.905,
|
|
"volume": 7798.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 20°C on April 18?",
|
|
"market_id": "1996307",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.345,
|
|
"ask": 0.655,
|
|
"price": 0.345,
|
|
"spread": 0.31,
|
|
"volume": 5910.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 21°C on April 18?",
|
|
"market_id": "1996308",
|
|
"range": [
|
|
21.0,
|
|
21.0
|
|
],
|
|
"bid": 0.295,
|
|
"ask": 0.705,
|
|
"price": 0.295,
|
|
"spread": 0.41,
|
|
"volume": 8343.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 22°C on April 18?",
|
|
"market_id": "1996309",
|
|
"range": [
|
|
22.0,
|
|
22.0
|
|
],
|
|
"bid": 0.3015,
|
|
"ask": 0.6985,
|
|
"price": 0.3015,
|
|
"spread": 0.397,
|
|
"volume": 13843.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 23°C or higher on April 18?",
|
|
"market_id": "1996310",
|
|
"range": [
|
|
23.0,
|
|
999.0
|
|
],
|
|
"bid": 0.07,
|
|
"ask": 0.93,
|
|
"price": 0.07,
|
|
"spread": 0.86,
|
|
"volume": 18999.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:03.872301+00:00"
|
|
} |