Current Date: 2025-11-01, and the Future expired on 2025-10-28
op = client.historical_data(
"M", "D", 458303, "60m", "2025-10-26", "2025-10-27"
)
print(op)
Empty DataFrame
Columns: []
Index: []
Note that script data also does not contain the old/expired futures.
Removed row: M,D,458303,GOLDPETAL 30 SEP 2025,2025-09-30,XX,0,EX MUMBAI,1,1,10000,1,GOLDPETAL,Y,,GOLDPETAL 30 SEP 2025_20250930,
How do we fetch the old data for analysis?
feature request?
So,
-
the historical data requires ScripCode of the asset, but the latest scrip data does not contain the expired and previous asset's data, and
-
Even if we have the script code stored for further use, the data is empty from the historical_data API https://openapi.5paisa.com/V2/historical/..., maybe a deviation from the "Historical Data" feature.
Current Date: 2025-11-01, and the Future expired on 2025-10-28
Note that script data also does not contain the old/expired futures.
Removed row:
M,D,458303,GOLDPETAL 30 SEP 2025,2025-09-30,XX,0,EX MUMBAI,1,1,10000,1,GOLDPETAL,Y,,GOLDPETAL 30 SEP 2025_20250930,How do we fetch the old data for analysis?
feature request?
So,
the historical data requires ScripCode of the asset, but the latest scrip data does not contain the expired and previous asset's data, and
Even if we have the script code stored for further use, the data is empty from the historical_data API
https://openapi.5paisa.com/V2/historical/..., maybe a deviation from the "Historical Data" feature.