Skip to main content

A python package to download historic stock prices from NSE website and process them to find best stock to purchase

Project description

Objective

Library of functions for stock price trend prediction

Python Requirement

version >= 3.6

Packages requirement

As mentioned in requirements.txt

Stock Files
  • All the downloaded files are in directory data_files –> raw

  • All the processed data files are in directory data_files –> processed

  • Note: After installation of library ‘data_files’ folder will not be present, once you start downloading files these will be available at the same location where this library is installed.

Sample Scripts

Few sample scripts have been created in analyze_stocks_india_sample_scripts folder for ease of understanding.

Library Packages
  • create_plot.py –> to create plots of stock trend and trading volume

  • download_historic_data.py –> to download data files from nse webseite and process them

  • get_stock_moment_from_optionChain.py –> Recomends stocks using option chain data

  • Mean_Reverser_Strategy.py –> Apply Mean Reverser Strategy and recommend stocks

  • news_sentiment_analysis_Indian_Stocks.py –> performs a sentiment analysis on stock based on google news headline from last 7 days

Extra Information for different types of data from NSE website.
  • SYMBOL: Symbol of the listed company.

  • SERIES: Series of the equity. Values are [EQ, BE, BL, BT, GC and IL]

  • OPEN: The opening market price of the equity symbol on the date.

  • HIGH: The highest market price of the equity symbol on the date.

  • LOW: The lowest recorded market price of the equity symbol on the date.

  • CLOSE: The closing recorded price of the equity symbol on the date.

  • LAST: The last traded price of the equity symbol on the date.

  • PREVCLOSE: The previous day closing price of the equity symbol on the date.

  • TOTTRDQTY: Total traded quantity of the equity symbol on the date.

  • TOTTRDVAL: Total traded volume of the equity symbol on the date.

  • TIMESTAMP: Date of record.

  • TOTALTRADES: Total trades executed on the day.

  • ISIN: International Securities Identification Number.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

analyze_stocks_india-1.0.2.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

analyze_stocks_india-1.0.2-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file analyze_stocks_india-1.0.2.tar.gz.

File metadata

  • Download URL: analyze_stocks_india-1.0.2.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for analyze_stocks_india-1.0.2.tar.gz
Algorithm Hash digest
SHA256 138ea33878b59aba08accf7415026647d57c122c6fdba1d7ebd455d93c795836
MD5 4b2c1873a64bb83b97efcf7601b09a4d
BLAKE2b-256 ac8e7b96ff7ab38ad737060bcb5e585876e7e7b669a7cd5cecb59d4bd8c0d10e

See more details on using hashes here.

File details

Details for the file analyze_stocks_india-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for analyze_stocks_india-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 477a9a2fd3d556d6fa1ce67f39410876dd1c63e80a4ee8a0b372beaa1f737192
MD5 0b1750bc06e08418652accf4019859a9
BLAKE2b-256 a137a4bee9fc2dcd3e7a98efbe25a540fbcb7439af77e805c824dcd7838fdc8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page