- 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-20",
|
|
"unit": "C",
|
|
"station": "SBGR",
|
|
"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:42.322054+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 53.4,
|
|
"ecmwf": 26.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 26.0,
|
|
"best_source": "ecmwf"
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:39.712047+00:00",
|
|
"horizon": "D+2",
|
|
"hours_left": 52.4,
|
|
"ecmwf": 26.0,
|
|
"hrrr": null,
|
|
"metar": null,
|
|
"best": 26.0,
|
|
"best_source": "ecmwf"
|
|
}
|
|
],
|
|
"market_snapshots": [
|
|
{
|
|
"ts": "2026-04-18T06:34:42.322054+00:00",
|
|
"top_bucket": "27.0-27.0C",
|
|
"top_price": 0.35
|
|
},
|
|
{
|
|
"ts": "2026-04-18T07:36:39.712047+00:00",
|
|
"top_bucket": "27.0-27.0C",
|
|
"top_price": 0.335
|
|
}
|
|
],
|
|
"all_outcomes": [
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 22°C or below on April 20?",
|
|
"market_id": "2011068",
|
|
"range": [
|
|
-999.0,
|
|
22.0
|
|
],
|
|
"bid": 0.0075,
|
|
"ask": 0.9925,
|
|
"price": 0.0075,
|
|
"spread": 0.985,
|
|
"volume": 163.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 23°C on April 20?",
|
|
"market_id": "2011069",
|
|
"range": [
|
|
23.0,
|
|
23.0
|
|
],
|
|
"bid": 0.0325,
|
|
"ask": 0.9675,
|
|
"price": 0.0325,
|
|
"spread": 0.935,
|
|
"volume": 183.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 24°C on April 20?",
|
|
"market_id": "2011070",
|
|
"range": [
|
|
24.0,
|
|
24.0
|
|
],
|
|
"bid": 0.05,
|
|
"ask": 0.95,
|
|
"price": 0.05,
|
|
"spread": 0.9,
|
|
"volume": 65.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 25°C on April 20?",
|
|
"market_id": "2011071",
|
|
"range": [
|
|
25.0,
|
|
25.0
|
|
],
|
|
"bid": 0.075,
|
|
"ask": 0.925,
|
|
"price": 0.075,
|
|
"spread": 0.85,
|
|
"volume": 33.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 26°C on April 20?",
|
|
"market_id": "2011072",
|
|
"range": [
|
|
26.0,
|
|
26.0
|
|
],
|
|
"bid": 0.26,
|
|
"ask": 0.74,
|
|
"price": 0.26,
|
|
"spread": 0.48,
|
|
"volume": 74.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 27°C on April 20?",
|
|
"market_id": "2011073",
|
|
"range": [
|
|
27.0,
|
|
27.0
|
|
],
|
|
"bid": 0.335,
|
|
"ask": 0.665,
|
|
"price": 0.335,
|
|
"spread": 0.33,
|
|
"volume": 87.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 28°C on April 20?",
|
|
"market_id": "2011074",
|
|
"range": [
|
|
28.0,
|
|
28.0
|
|
],
|
|
"bid": 0.3,
|
|
"ask": 0.7,
|
|
"price": 0.3,
|
|
"spread": 0.4,
|
|
"volume": 58.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 29°C on April 20?",
|
|
"market_id": "2011075",
|
|
"range": [
|
|
29.0,
|
|
29.0
|
|
],
|
|
"bid": 0.17,
|
|
"ask": 0.83,
|
|
"price": 0.17,
|
|
"spread": 0.66,
|
|
"volume": 83.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 30°C on April 20?",
|
|
"market_id": "2011076",
|
|
"range": [
|
|
30.0,
|
|
30.0
|
|
],
|
|
"bid": 0.0475,
|
|
"ask": 0.9525,
|
|
"price": 0.0475,
|
|
"spread": 0.905,
|
|
"volume": 43.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 31°C on April 20?",
|
|
"market_id": "2011077",
|
|
"range": [
|
|
31.0,
|
|
31.0
|
|
],
|
|
"bid": 0.0275,
|
|
"ask": 0.9725,
|
|
"price": 0.0275,
|
|
"spread": 0.945,
|
|
"volume": 48.0
|
|
},
|
|
{
|
|
"question": "Will the highest temperature in Sao Paulo be 32°C or higher on April 20?",
|
|
"market_id": "2011078",
|
|
"range": [
|
|
32.0,
|
|
999.0
|
|
],
|
|
"bid": 0.0115,
|
|
"ask": 0.9885,
|
|
"price": 0.0115,
|
|
"spread": 0.977,
|
|
"volume": 55.0
|
|
}
|
|
],
|
|
"created_at": "2026-04-18T06:34:45.281476+00:00"
|
|
} |