-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dates not working well on index data #29
Comments
Also the date returned is in a weird format 2023-06-04T18:30:00.000Z , this is not the case with equity, where date is returned in proper format and is easy to sort |
I'm looking into it, but the strange thing is that I'm getting different results from the NSE API. |
yes, its somehow inconsistent, equity is working all fine |
I want to download historical data of the below Indices but unable to do so. Can some please explain how can i do this because i cannot find any documentation.
|
@sandybansal83 Soon I will add it |
Removed Volume |
closing this issue please feel free to re-open or create a new issue |
I tried to get nifty50 data, but dates input and the output don't match, this problem does not happen with equity
code
from nsedt import indices as eq
from datetime import date
start_date = date(2023, 9, 4)
end_date = date(2023, 9, 7)
print(eq.get_price(start_date, end_date, symbol="NIFTY 50"))
output
Open Price High Price Close Price Low Price Date Total Traded Quantity Total Traded Value
0 19525.05 19545.15 19528.80 19432.85 2023-09-03T18:30:00.000Z 396071122 24822.79
1 19564.65 19587.05 19574.90 19525.75 2023-09-04T18:30:00.000Z 303958622 24029.89
2 19581.20 19636.45 19611.05 19491.50 2023-09-05T18:30:00.000Z 512974083 32500.52
Output is 3rd 4th and 5th of September whereas input was 4 to 7
The text was updated successfully, but these errors were encountered: