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

Enhancement : To Include Stock Options #8

Closed
starson007 opened this issue Jan 20, 2021 · 7 comments
Closed

Enhancement : To Include Stock Options #8

starson007 opened this issue Jan 20, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@starson007
Copy link

Hi Varun

First of all, Great Job done and big thanks for sharing.

Will it be possible for you to change the URL "https://www.nseindia.com/api/option-chain-indices" to "https://www.nseindia.com/api/quote-derivative?symbol" and provide option of "TATASTEEL". It would be great to include all stock options. I can help in creating a list in a particular format, if you need.

I tried doing that but got following error. I am not a hardcore developer to get into it.

Fatal error: PyInstaller does not include a pre-compiled bootloader for your
platform. For more details and instructions how to build the bootloader see
https://pyinstaller.readthedocs.io/en/stable/bootloader-building.html

@VarunS2002
Copy link
Owner

@starson007 What OS and version are you using?

@starson007
Copy link
Author

@VarunS2002 : Windows 10 & Version is 2004.

image

@VarunS2002
Copy link
Owner

@starson007 What did you do to get the PyInstaller error?

@starson007
Copy link
Author

Hi Varun

Thanks for prompt response. All issues have been resolved.

The issue can be closed.

@VarunS2002
Copy link
Owner

@starson007 Have you added support for stocks in this program?

@starson007
Copy link
Author

starson007 commented Jan 22, 2021

Yes. Currently I have added only one Stock "TataSteel" i.e of my intersest. But we can add more without any much changes.

One more change was required like many parameters for indices were being divided by 1000. But Stocks i am dividing by 10 as the number of contracts are much lower.

Are you trading with this program. How effective is this for intraday.

@VarunS2002
Copy link
Owner

Thanks!
And no I'm not trading with this program it's for my boss.

VarunS2002 added a commit that referenced this issue Feb 3, 2021
  - Set Index Mode or Stock Mode then select your preferred Index or Stock
  - Values are in 10s in Stock mode and 1000s in Index mode (to compensate for low values of stocks)
  - Symbol of the Stock is present in the names of the .csv files
  - Appropriate Units are reflected in the .csv files
- Added Saving New settings for subsequent runs
  - New Saved settings:
    * Stock/ Index Mode
    * Selected Stock
- Fixed possible issues while reading configuration
- Optimised retrieving data from the API
- All URLs are now in \__init\__ method
@VarunS2002 VarunS2002 added the enhancement New feature or request label Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants