- 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": "sao-paulo",
|
|
"city_name": "Sao Paulo",
|
|
"date": "2026-04-18",
|
|
"unit": "C",
|
|
"station": "SBGR",
|
|
"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:34:42.322054+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 5.4,
|
|
"ecmwf": 29.4,
|
|
"hrrr": null,
|
|
"metar": 21.0,
|
|
"best": 29.4,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:39.712047+00:00",
|
|
"horizon": "D+0",
|
|
"hours_left": 4.4,
|
|
"ecmwf": 29.4,
|
|
"hrrr": null,
|
|
"metar": 21.0,
|
|
"best": 29.4,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:42.322054+00:00",
|
|
"top_bucket": "29.0-29.0C",
|
|
"top_price": 0.385
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:39.712047+00:00",
|
|
"top_bucket": "29.0-29.0C",
|
|
"top_price": 0.405
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 24°C or below on April 18?",
|
|
"market_id": "1996311",
|
|
"range": [
|
|
-999.0,
|
|
24.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 2203.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 25°C on April 18?",
|
|
"market_id": "1996312",
|
|
"range": [
|
|
25.0,
|
|
25.0
|
|
],
|
|
"bid": 0.003,
|
|
"ask": 0.997,
|
|
"price": 0.003,
|
|
"spread": 0.994,
|
|
"volume": 2180.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 26°C on April 18?",
|
|
"market_id": "1996313",
|
|
"range": [
|
|
26.0,
|
|
26.0
|
|
],
|
|
"bid": 0.009,
|
|
"ask": 0.991,
|
|
"price": 0.009,
|
|
"spread": 0.982,
|
|
"volume": 3082.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 27°C on April 18?",
|
|
"market_id": "1996314",
|
|
"range": [
|
|
27.0,
|
|
27.0
|
|
],
|
|
"bid": 0.055,
|
|
"ask": 0.945,
|
|
"price": 0.055,
|
|
"spread": 0.89,
|
|
"volume": 2928.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 28°C on April 18?",
|
|
"market_id": "1996315",
|
|
"range": [
|
|
28.0,
|
|
28.0
|
|
],
|
|
"bid": 0.295,
|
|
"ask": 0.705,
|
|
"price": 0.295,
|
|
"spread": 0.41,
|
|
"volume": 1931.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 29°C on April 18?",
|
|
"market_id": "1996316",
|
|
"range": [
|
|
29.0,
|
|
29.0
|
|
],
|
|
"bid": 0.405,
|
|
"ask": 0.595,
|
|
"price": 0.405,
|
|
"spread": 0.19,
|
|
"volume": 1887.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 30°C on April 18?",
|
|
"market_id": "1996317",
|
|
"range": [
|
|
30.0,
|
|
30.0
|
|
],
|
|
"bid": 0.15,
|
|
"ask": 0.85,
|
|
"price": 0.15,
|
|
"spread": 0.7,
|
|
"volume": 2809.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 31°C on April 18?",
|
|
"market_id": "1996318",
|
|
"range": [
|
|
31.0,
|
|
31.0
|
|
],
|
|
"bid": 0.057,
|
|
"ask": 0.943,
|
|
"price": 0.057,
|
|
"spread": 0.886,
|
|
"volume": 3031.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 32°C on April 18?",
|
|
"market_id": "1996319",
|
|
"range": [
|
|
32.0,
|
|
32.0
|
|
],
|
|
"bid": 0.0065,
|
|
"ask": 0.9935,
|
|
"price": 0.0065,
|
|
"spread": 0.987,
|
|
"volume": 1552.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 33°C on April 18?",
|
|
"market_id": "1996320",
|
|
"range": [
|
|
33.0,
|
|
33.0
|
|
],
|
|
"bid": 0.0025,
|
|
"ask": 0.9975,
|
|
"price": 0.0025,
|
|
"spread": 0.995,
|
|
"volume": 1022.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 34°C or higher on April 18?",
|
|
"market_id": "1996321",
|
|
"range": [
|
|
34.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0005,
|
|
"ask": 0.9995,
|
|
"price": 0.0005,
|
|
"spread": 0.999,
|
|
"volume": 1100.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:44.398380+00:00"
|
|
} |