- 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": "lucknow",
|
|
"city_name": "Lucknow",
|
|
"date": "2026-04-20",
|
|
"unit": "C",
|
|
"station": "VILK",
|
|
"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:32.279705+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 41.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 41.6,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:27.765171+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 41.6,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 41.6,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:32.279705+00:00",
|
|
"top_bucket": "41.0-41.0C",
|
|
"top_price": 0.355
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:27.765171+00:00",
|
|
"top_bucket": "41.0-41.0C",
|
|
"top_price": 0.35
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 39°C or below on April 20?",
|
|
"market_id": "2011200",
|
|
"range": [
|
|
-999.0,
|
|
39.0
|
|
],
|
|
"bid": 0.085,
|
|
"ask": 0.915,
|
|
"price": 0.085,
|
|
"spread": 0.83,
|
|
"volume": 129.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 40°C on April 20?",
|
|
"market_id": "2011201",
|
|
"range": [
|
|
40.0,
|
|
40.0
|
|
],
|
|
"bid": 0.165,
|
|
"ask": 0.835,
|
|
"price": 0.165,
|
|
"spread": 0.67,
|
|
"volume": 4.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 41°C on April 20?",
|
|
"market_id": "2011202",
|
|
"range": [
|
|
41.0,
|
|
41.0
|
|
],
|
|
"bid": 0.35,
|
|
"ask": 0.65,
|
|
"price": 0.35,
|
|
"spread": 0.3,
|
|
"volume": 87.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 42°C on April 20?",
|
|
"market_id": "2011203",
|
|
"range": [
|
|
42.0,
|
|
42.0
|
|
],
|
|
"bid": 0.325,
|
|
"ask": 0.675,
|
|
"price": 0.325,
|
|
"spread": 0.35,
|
|
"volume": 55.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 43°C on April 20?",
|
|
"market_id": "2011204",
|
|
"range": [
|
|
43.0,
|
|
43.0
|
|
],
|
|
"bid": 0.155,
|
|
"ask": 0.845,
|
|
"price": 0.155,
|
|
"spread": 0.69,
|
|
"volume": 25.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 44°C on April 20?",
|
|
"market_id": "2011205",
|
|
"range": [
|
|
44.0,
|
|
44.0
|
|
],
|
|
"bid": 0.0175,
|
|
"ask": 0.9825,
|
|
"price": 0.0175,
|
|
"spread": 0.965,
|
|
"volume": 3.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 45°C on April 20?",
|
|
"market_id": "2011206",
|
|
"range": [
|
|
45.0,
|
|
45.0
|
|
],
|
|
"bid": 0.0145,
|
|
"ask": 0.9855,
|
|
"price": 0.0145,
|
|
"spread": 0.971,
|
|
"volume": 31.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 46°C on April 20?",
|
|
"market_id": "2011207",
|
|
"range": [
|
|
46.0,
|
|
46.0
|
|
],
|
|
"bid": 0.0145,
|
|
"ask": 0.9855,
|
|
"price": 0.0145,
|
|
"spread": 0.971,
|
|
"volume": 147.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 47°C on April 20?",
|
|
"market_id": "2011208",
|
|
"range": [
|
|
47.0,
|
|
47.0
|
|
],
|
|
"bid": 0.0075,
|
|
"ask": 0.9925,
|
|
"price": 0.0075,
|
|
"spread": 0.985,
|
|
"volume": 169.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 48°C on April 20?",
|
|
"market_id": "2011209",
|
|
"range": [
|
|
48.0,
|
|
48.0
|
|
],
|
|
"bid": 0.0095,
|
|
"ask": 0.9905,
|
|
"price": 0.0095,
|
|
"spread": 0.981,
|
|
"volume": 159.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Lucknow be 49°C or higher on April 20?",
|
|
"market_id": "2011210",
|
|
"range": [
|
|
49.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0065,
|
|
"ask": 0.9935,
|
|
"price": 0.0065,
|
|
"spread": 0.987,
|
|
"volume": 205.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:35.074668+00:00"
|
|
} |