NSEPython Discussion and Feature Request

Discussions and Feature Request for NSEPython

1 Like

Hi,

I have been using and building my own database for years on some of these APIs now, but didnt know bulk results API, events API existed. I was using

https://www.nseindia.com/api/quote-equity?symbol=KTKBANK&section=corp_info

https://www.nseindia.com/api/historical/cm/equity?symbol=PEL

Thanks a lot for sharing those APIs. I think I can simplify some of my processing with your urls.

1 Like

TypeError: cannot unpack non-iterable NoneType object
Getting this error intermittently while using the function: df, ltp, crontime = oi_builder(“NIFTY”)
need to know a way to handle this

can we make the function to retry multiple times if there is no data?? because if i keep trying Iam getting data after some 10-15 seconds

2 Likes

Does anybody have list of all the apis provided by nseindia?

I will add a try except.

Make sure to update to the latest version.

Hello, I am not able to get mid month expiry futures price from nse_quote_ltp() , Say: nse_quote_ltp(“NIFTY”,“28-Jan-2021”,“Fut”). Is there any other method to get it?

Minor overlook as I don’t do calendar’s myself. I will make it work in the next update. :slight_smile:

Hi, Any way to access the currency futures data and the currency option chain also?
Thanks in advance

1 Like

I will check and add in the next update when I get time bro. :slight_smile:

This weekend I will update the NSEPython Code to the new module. If you want any features to be added, feel free to pitch in.

Any functions you want.

Can you please put FII DII deals, bulk orders fetching.

Bulk Orders… ? Just FII DII or You are saying Historical? I don’t see Historical APIs in new NSEIndia site. Let me know if you see endURL of them. I will add.

Current day as well as Historical.
I have seen somewhere on nse but not getting. To give you an idea
This gives data but it’s symbol wise.
https://www1.nseindia.com/products/content/equities/equities/bulk.htm

I am looking for something like this

Can we get symbol wise data of FII DII ?

And also this

  1. Fixed the OI problem as mentioned here. NSEPython Documentation
  2. Added ATM Strike Function as mentioned here - Getting the ATM strikes for all the FNO stocks
  3. Removed Pickle as suggested by everyone.

Adding this to main library.

I found out. It is at
https://nseindia.com/market-data/block-deal-watch

1 Like
  • Session 1: Morning Block Deal Window (first session): This window shall operate between 08:45 AM to 09:00 AM.
  • Session 2: Afternoon Block Deal Window (second session): This window shall operate between 02:05 PM to 2:20 PM.
  • %CHNG: % change is calculated with respect to adjusted price on ex-date for Corporate Actions like: Dividend, Bonus, Rights & Face Value Split and also adjusted for Past 365 days & 30 days.
  • Last Updated status display the last Block Deal transaction.

This is pretty interesting stuff.

This one is done too.