- 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-20",
|
|
"unit": "C",
|
|
"station": "LFPG",
|
|
"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:01.592793+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 14.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 14.0,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:32.283656+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 14.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 14.0,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:01.592793+00:00",
|
|
"top_bucket": "16.0-16.0C",
|
|
"top_price": 0.305
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:35:32.283656+00:00",
|
|
"top_bucket": "16.0-16.0C",
|
|
"top_price": 0.31
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Paris be 10°C or below on April 20?",
|
|
"market_id": "2011057",
|
|
"range": [
|
|
-999.0,
|
|
10.0
|
|
],
|
|
"bid": 0.011,
|
|
"ask": 0.989,
|
|
"price": 0.011,
|
|
"spread": 0.978,
|
|
"volume": 353.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 11°C on April 20?",
|
|
"market_id": "2011058",
|
|
"range": [
|
|
11.0,
|
|
11.0
|
|
],
|
|
"bid": 0.0195,
|
|
"ask": 0.9805,
|
|
"price": 0.0195,
|
|
"spread": 0.961,
|
|
"volume": 330.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 12°C on April 20?",
|
|
"market_id": "2011059",
|
|
"range": [
|
|
12.0,
|
|
12.0
|
|
],
|
|
"bid": 0.065,
|
|
"ask": 0.935,
|
|
"price": 0.065,
|
|
"spread": 0.87,
|
|
"volume": 151.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 13°C on April 20?",
|
|
"market_id": "2011060",
|
|
"range": [
|
|
13.0,
|
|
13.0
|
|
],
|
|
"bid": 0.06,
|
|
"ask": 0.94,
|
|
"price": 0.06,
|
|
"spread": 0.88,
|
|
"volume": 297.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 14°C on April 20?",
|
|
"market_id": "2011061",
|
|
"range": [
|
|
14.0,
|
|
14.0
|
|
],
|
|
"bid": 0.235,
|
|
"ask": 0.765,
|
|
"price": 0.235,
|
|
"spread": 0.53,
|
|
"volume": 143.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 15°C on April 20?",
|
|
"market_id": "2011062",
|
|
"range": [
|
|
15.0,
|
|
15.0
|
|
],
|
|
"bid": 0.205,
|
|
"ask": 0.795,
|
|
"price": 0.205,
|
|
"spread": 0.59,
|
|
"volume": 117.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 16°C on April 20?",
|
|
"market_id": "2011063",
|
|
"range": [
|
|
16.0,
|
|
16.0
|
|
],
|
|
"bid": 0.31,
|
|
"ask": 0.69,
|
|
"price": 0.31,
|
|
"spread": 0.38,
|
|
"volume": 59.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 17°C on April 20?",
|
|
"market_id": "2011064",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.11,
|
|
"ask": 0.89,
|
|
"price": 0.11,
|
|
"spread": 0.78,
|
|
"volume": 81.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 18°C on April 20?",
|
|
"market_id": "2011065",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.09,
|
|
"ask": 0.91,
|
|
"price": 0.09,
|
|
"spread": 0.82,
|
|
"volume": 178.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 19°C on April 20?",
|
|
"market_id": "2011066",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.019,
|
|
"ask": 0.981,
|
|
"price": 0.019,
|
|
"spread": 0.962,
|
|
"volume": 207.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Paris be 20°C or higher on April 20?",
|
|
"market_id": "2011067",
|
|
"range": [
|
|
20.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0105,
|
|
"ask": 0.9895,
|
|
"price": 0.0105,
|
|
"spread": 0.979,
|
|
"volume": 374.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:04.689830+00:00"
|
|
} |