Oi_chain_builder is not working

option_data = oi_chain_builder(stock_symbol, expiry="latest")

This API is reportedly not working . Could you explain why this is occurring? It was operational on Friday and Saturday, but has been down since Sunday night. I would appreciate it if you could provide a solution.

There has been no change in the API from our end.

Please note that this service is only a wrapper around NSE’s systems. Any disruption or modification in NSE’s own mechanisms will directly affect the wrapper’s functionality. If NSE is experiencing issues or has implemented internal changes, the wrapper may not operate as expected.

could you please provide any alternative for this

oi_data, underlyingValue, timestamp = oi_chain_builder(stock_symbol, expiry=“latest”)

i usually use like this and it works 100% correct , but today its down

Yes, the alternative solution is to goto NSE office and become an engineer and fix their APIs.

Dexter this is not the way to reply as you own this forum - we must collectively fix it

  1. Don’t fuck my head.
  2. The only reason you are in my fucking forum is I am the only guy who can fix it and I do not reply anywhere else.
  3. No one collectively does anything here except me.
  4. I am not paid for that.
  5. If you can fix it, go ahead and fix it.
  6. I gave my entire code for free? What you did? Its open source.
  7. NSE has done something on their end. Is it going on through your thick skull or what? Even if I want, I can not fucking fix it.

This is how I usually reply. I am an asshole with clear vision.

Also, I’m not a trader. I’m a bloody mathematician.

Go make your own fucking forum.

PS - I have alternative solution. You don’t. You can not have my alternative solution either. I have done many things for free. I am not willing to do many things for price either.

PPS - Stop being dumb.

give the open source link - I will give many options for this

I need API code for this

github nsepython

I am not seeking external help, moment being brother.

github nsepython

this is actually a very good suggestion so long as we know where/whom in NSE should be contacted.

I tried reaching out to NSE office the other day and the answer was that I should rather use what is available because they are not going to go back to what was there.

@Umesh_Hiremath if you can help with reaching out to NSE IT/tech office support/engineering department and let them know their API is broken (espeically /api/quote-derivative and lots of other api) and if you could help convince them to fix and repair the api for the greater good of all in India and others, then we would all be happy. That is the collective step we could take here.

I am having a problem with an encryption problem, and on top of that, I am in Bangkok now, where there is no access to NSE. Indian VPNs slow everything down.

This issue is aggreviating. For moment being I will change the solution to make sure unofficed site apis are working correctly.

well not just option chain builder but lots of other api routes are not working anymore, they are just made dormant resources on the api proxy of nse end. so yeah situation is grounds up again

I think I have a fair bit of idea what is going on and what needs to be done. I will work on the solution later today/tomorrow and see how that would fit in.

@Umesh_Hiremath feel free to fork the github link that @dexter shared and see if you want to take a first approach on the solution, do not have to wait up for me..

@Umesh_Hiremath just curious, if you were able to get going on with the code on github repo?

interesting to see that no other post/topic has been created after nseindia has made most of its earlier api dormant resources, is nsepythong loosing its utility even before it could attempt a fix?