- 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": "buenos-aires",
|
|
"city_name": "Buenos Aires",
|
|
"date": "2026-04-19",
|
|
"unit": "C",
|
|
"station": "SAEZ",
|
|
"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:45.652558+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 29.4,
|
|
"ecmwf": 25.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 25.0,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:43.100694+00:00",
|
|
"horizon": "D+1",
|
|
"hours_left": 28.4,
|
|
"ecmwf": 25.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 25.0,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:45.652558+00:00",
|
|
"top_bucket": "25.0-25.0C",
|
|
"top_price": 0.285
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:43.100694+00:00",
|
|
"top_bucket": "25.0-25.0C",
|
|
"top_price": 0.28
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 18°C or below on April 19?",
|
|
"market_id": "2003667",
|
|
"range": [
|
|
-999.0,
|
|
18.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 4198.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 19°C on April 19?",
|
|
"market_id": "2003668",
|
|
"range": [
|
|
19.0,
|
|
19.0
|
|
],
|
|
"bid": 0.015,
|
|
"ask": 0.985,
|
|
"price": 0.015,
|
|
"spread": 0.97,
|
|
"volume": 4020.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 20°C on April 19?",
|
|
"market_id": "2003669",
|
|
"range": [
|
|
20.0,
|
|
20.0
|
|
],
|
|
"bid": 0.0035,
|
|
"ask": 0.9965,
|
|
"price": 0.0035,
|
|
"spread": 0.993,
|
|
"volume": 3612.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 21°C on April 19?",
|
|
"market_id": "2003670",
|
|
"range": [
|
|
21.0,
|
|
21.0
|
|
],
|
|
"bid": 0.0125,
|
|
"ask": 0.9875,
|
|
"price": 0.0125,
|
|
"spread": 0.975,
|
|
"volume": 4440.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 22°C on April 19?",
|
|
"market_id": "2003671",
|
|
"range": [
|
|
22.0,
|
|
22.0
|
|
],
|
|
"bid": 0.125,
|
|
"ask": 0.875,
|
|
"price": 0.125,
|
|
"spread": 0.75,
|
|
"volume": 1963.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 23°C on April 19?",
|
|
"market_id": "2003672",
|
|
"range": [
|
|
23.0,
|
|
23.0
|
|
],
|
|
"bid": 0.205,
|
|
"ask": 0.795,
|
|
"price": 0.205,
|
|
"spread": 0.59,
|
|
"volume": 1058.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 24°C on April 19?",
|
|
"market_id": "2003673",
|
|
"range": [
|
|
24.0,
|
|
24.0
|
|
],
|
|
"bid": 0.18,
|
|
"ask": 0.82,
|
|
"price": 0.18,
|
|
"spread": 0.64,
|
|
"volume": 841.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 25°C on April 19?",
|
|
"market_id": "2003674",
|
|
"range": [
|
|
25.0,
|
|
25.0
|
|
],
|
|
"bid": 0.28,
|
|
"ask": 0.72,
|
|
"price": 0.28,
|
|
"spread": 0.44,
|
|
"volume": 1100.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 26°C on April 19?",
|
|
"market_id": "2003675",
|
|
"range": [
|
|
26.0,
|
|
26.0
|
|
],
|
|
"bid": 0.095,
|
|
"ask": 0.905,
|
|
"price": 0.095,
|
|
"spread": 0.81,
|
|
"volume": 1241.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 27°C on April 19?",
|
|
"market_id": "2003676",
|
|
"range": [
|
|
27.0,
|
|
27.0
|
|
],
|
|
"bid": 0.062,
|
|
"ask": 0.938,
|
|
"price": 0.062,
|
|
"spread": 0.876,
|
|
"volume": 1499.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Buenos Aires be 28°C or higher on April 19?",
|
|
"market_id": "2003677",
|
|
"range": [
|
|
28.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0115,
|
|
"ask": 0.9885,
|
|
"price": 0.0115,
|
|
"spread": 0.977,
|
|
"volume": 668.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:48.157921+00:00"
|
|
} |