- 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.3 KiB
JSON
194 lines
4.3 KiB
JSON
{
|
|
"city": "nyc",
|
|
"city_name": "New York City",
|
|
"date": "2026-04-18",
|
|
"unit": "F",
|
|
"station": "KLGA",
|
|
"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:33:27.912931+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 5.4,
|
|
"ecmwf": 66,
|
|
"hrrr": 65,
|
|
"metar": 55,
|
|
"best": 65,
|
|
"best_source": "hrrr"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:34:55.398733+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 4.4,
|
|
"ecmwf": 66,
|
|
"hrrr": 65,
|
|
"metar": 55,
|
|
"best": 65,
|
|
"best_source": "hrrr"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:33:27.912931+00:00",
|
|
"top_bucket": "64.0-65.0F",
|
|
"top_price": 0.375
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:34:55.398733+00:00",
|
|
"top_bucket": "64.0-65.0F",
|
|
"top_price": 0.34
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in New York City be 53°F or below on April 18?",
|
|
"market_id": "1996366",
|
|
"range": [
|
|
-999.0,
|
|
53.0
|
|
],
|
|
"bid": 0.0,
|
|
"ask": 1.0,
|
|
"price": 0.0,
|
|
"spread": 1.0,
|
|
"volume": 12480.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 54-55°F on April 18?",
|
|
"market_id": "1996367",
|
|
"range": [
|
|
54.0,
|
|
55.0
|
|
],
|
|
"bid": 0.002,
|
|
"ask": 0.998,
|
|
"price": 0.002,
|
|
"spread": 0.996,
|
|
"volume": 12242.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 56-57°F on April 18?",
|
|
"market_id": "1996368",
|
|
"range": [
|
|
56.0,
|
|
57.0
|
|
],
|
|
"bid": 0.009,
|
|
"ask": 0.991,
|
|
"price": 0.009,
|
|
"spread": 0.982,
|
|
"volume": 15642.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 58-59°F on April 18?",
|
|
"market_id": "1996369",
|
|
"range": [
|
|
58.0,
|
|
59.0
|
|
],
|
|
"bid": 0.0145,
|
|
"ask": 0.9855,
|
|
"price": 0.0145,
|
|
"spread": 0.971,
|
|
"volume": 7258.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 60-61°F on April 18?",
|
|
"market_id": "1996370",
|
|
"range": [
|
|
60.0,
|
|
61.0
|
|
],
|
|
"bid": 0.0585,
|
|
"ask": 0.9415,
|
|
"price": 0.0585,
|
|
"spread": 0.883,
|
|
"volume": 6984.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 62-63°F on April 18?",
|
|
"market_id": "1996371",
|
|
"range": [
|
|
62.0,
|
|
63.0
|
|
],
|
|
"bid": 0.205,
|
|
"ask": 0.795,
|
|
"price": 0.205,
|
|
"spread": 0.59,
|
|
"volume": 6337.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 64-65°F on April 18?",
|
|
"market_id": "1996372",
|
|
"range": [
|
|
64.0,
|
|
65.0
|
|
],
|
|
"bid": 0.34,
|
|
"ask": 0.66,
|
|
"price": 0.34,
|
|
"spread": 0.32,
|
|
"volume": 4414.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 66-67°F on April 18?",
|
|
"market_id": "1996373",
|
|
"range": [
|
|
66.0,
|
|
67.0
|
|
],
|
|
"bid": 0.305,
|
|
"ask": 0.695,
|
|
"price": 0.305,
|
|
"spread": 0.39,
|
|
"volume": 3583.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 68-69°F on April 18?",
|
|
"market_id": "1996374",
|
|
"range": [
|
|
68.0,
|
|
69.0
|
|
],
|
|
"bid": 0.0425,
|
|
"ask": 0.9575,
|
|
"price": 0.0425,
|
|
"spread": 0.915,
|
|
"volume": 7465.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be between 70-71°F on April 18?",
|
|
"market_id": "1996375",
|
|
"range": [
|
|
70.0,
|
|
71.0
|
|
],
|
|
"bid": 0.022,
|
|
"ask": 0.978,
|
|
"price": 0.022,
|
|
"spread": 0.956,
|
|
"volume": 8179.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in New York City be 72°F or higher on April 18?",
|
|
"market_id": "1996376",
|
|
"range": [
|
|
72.0,
|
|
999.0
|
|
],
|
|
"bid": 0.006,
|
|
"ask": 0.994,
|
|
"price": 0.006,
|
|
"spread": 0.988,
|
|
"volume": 9943.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:33:32.471369+00:00"
|
|
} |