vsjha18 / nsetools

Realtime Data From National Stock Exchange (India)
http://nsetools.readthedocs.io
MIT License
817 stars 422 forks source link

Not able to Fetch Live Price? #79

Open subodhcjoshi82 opened 4 years ago

subodhcjoshi82 commented 4 years ago

Hi I tried this command nse.get_quote('infy', as_json=True)

Which showing price diffrent then the current price ...Currently its trading around 657 image

While API giving data 658.85 image

Is this API wont give Tik by Tik Data?

seedlit commented 4 years ago

It returns the data which is being displayed at the NSE website at the time you requested. The difference might be due to the time taken by API to return data. For example, in my case, it takes around 400 seconds to return data, and the prices might change within those 400 seconds. How much time does it take in your case to return data?

subodhcjoshi82 commented 4 years ago

I checked and around more than one minute same data its displaying