Skip to content
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

Add futures pricing quote #99

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

asquare100
Copy link

What

I have added the function get_futures_quote. It fetches the live futures pricing quote of a stock with its NSE code as input. It also takes expiry date as input which is optional. Incase expiry date is not given as input, it fetches the futures quote with the nearest expiry date.

I have also added the test for the function in /tests/nse_tests.py and have properly tested its functioning and corner cases.

I have updated the documentation too in /docs/source/usage.rst for this function.

@gupta97
Copy link

gupta97 commented Aug 15, 2020

What is the delay here in receiving the data from NSE?

@asquare100
Copy link
Author

@gupta97 It gives the real time data as it's on the NSE website. You can look at the Readme.

@vatsalkgor
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants