- 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": "tel-aviv",
|
|
"city_name": "Tel Aviv",
|
|
"date": "2026-04-19",
|
|
"unit": "C",
|
|
"station": "LLBG",
|
|
"event_end_date": "2026-04-19T12:00:00Z",
|
|
"hours_at_discovery": 29.4,
|
|
"status": "open",
|
|
"position": null,
|
|
"actual_temp": null,
|
|
"resolved_outcome": null,
|
|
"pnl": null,
|
|
"forecast_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:35.480269+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 23.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 23.6,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:31.622523+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 23.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 23.6,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:35.480269+00:00",
|
|
"top_bucket": "23.0-23.0C",
|
|
"top_price": 0.365
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:31.622523+00:00",
|
|
"top_bucket": "23.0-23.0C",
|
|
"top_price": 0.43
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 16°C or below on April 19?",
|
|
"market_id": "2003810",
|
|
"range": [
|
|
-999.0,
|
|
16.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 2300.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 17°C on April 19?",
|
|
"market_id": "2003811",
|
|
"range": [
|
|
17.0,
|
|
17.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 861.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 18°C on April 19?",
|
|
"market_id": "2003812",
|
|
"range": [
|
|
18.0,
|
|
18.0
|
|
],
|
|
"bid": 0.0055,
|
|
"ask": 0.9945,
|
|
"price": 0.0055,
|
|
"spread": 0.989,
|
|
"volume": 624.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 19°C on April 19?",
|
|
"market_id": "2003813",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.012,
|
|
"ask": 0.988,
|
|
"price": 0.012,
|
|
"spread": 0.976,
|
|
"volume": 592.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 20°C on April 19?",
|
|
"market_id": "2003814",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.014,
|
|
"ask": 0.986,
|
|
"price": 0.014,
|
|
"spread": 0.972,
|
|
"volume": 998.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 21°C on April 19?",
|
|
"market_id": "2003815",
|
|
"range": [
|
|
21.0,
|
|
21.0
|
|
],
|
|
"bid": 0.0535,
|
|
"ask": 0.9465,
|
|
"price": 0.0535,
|
|
"spread": 0.893,
|
|
"volume": 988.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 22°C on April 19?",
|
|
"market_id": "2003816",
|
|
"range": [
|
|
22.0,
|
|
22.0
|
|
],
|
|
"bid": 0.17,
|
|
"ask": 0.83,
|
|
"price": 0.17,
|
|
"spread": 0.66,
|
|
"volume": 493.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 23°C on April 19?",
|
|
"market_id": "2003817",
|
|
"range": [
|
|
23.0,
|
|
23.0
|
|
],
|
|
"bid": 0.43,
|
|
"ask": 0.57,
|
|
"price": 0.43,
|
|
"spread": 0.14,
|
|
"volume": 395.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 24°C on April 19?",
|
|
"market_id": "2003818",
|
|
"range": [
|
|
24.0,
|
|
24.0
|
|
],
|
|
"bid": 0.25,
|
|
"ask": 0.75,
|
|
"price": 0.25,
|
|
"spread": 0.5,
|
|
"volume": 626.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 25°C on April 19?",
|
|
"market_id": "2003819",
|
|
"range": [
|
|
25.0,
|
|
25.0
|
|
],
|
|
"bid": 0.125,
|
|
"ask": 0.875,
|
|
"price": 0.125,
|
|
"spread": 0.75,
|
|
"volume": 444.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Tel Aviv be 26°C or higher on April 19?",
|
|
"market_id": "2003820",
|
|
"range": [
|
|
26.0,
|
|
999.0
|
|
],
|
|
"bid": 0.024,
|
|
"ask": 0.976,
|
|
"price": 0.024,
|
|
"spread": 0.952,
|
|
"volume": 838.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:38.147706+00:00"
|
|
} |