MQL5-Google-Onedrive/data/market_snapshot.json
google-labs-jules[bot] 85174d9a2b Bolt: Optimize market data fetching with bulk download
- Replaced sequential `yf.Ticker` loop with `yf.download`
- Added logic to handle MultiIndex DataFrame
- Reduced fetch time from ~0.86s to ~0.33s
2026-01-26 05:13:57 +00:00

53 lines
No EOL
970 B
JSON

{
"timestamp": "2026-01-26T05:09:09.850883",
"symbols": {
"EURUSD=X": {
"price": 1.1864,
"trend": "UP",
"volatility": "LOW",
"history_last_5_closes": [
1.1639,
1.1728,
1.1673,
1.1755,
1.1864
]
},
"GBPUSD=X": {
"price": 1.3661,
"trend": "UP",
"volatility": "LOW",
"history_last_5_closes": [
1.3418,
1.3441,
1.3419,
1.3501,
1.3661
]
},
"GC=F": {
"price": 5067.8999,
"trend": "UP",
"volatility": "HIGH",
"history_last_5_closes": [
4759.6001,
4831.7998,
4908.7998,
4976.2002,
5067.8999
]
},
"BTC-USD": {
"price": 87592.0078,
"trend": "DOWN",
"volatility": "HIGH",
"history_last_5_closes": [
89376.9609,
89462.4531,
89503.875,
89110.7344,
87592.0078
]
}
}
}