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.10

Packages requirement

As mentioned in requirements.txt

Folder Structure

All required library files are in directory analyze_stocks_india

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,

Sample Scripts

Few sample scripts have been created in 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.0.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

analyze_stocks_india-1.0.0-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: analyze_stocks_india-1.0.0.tar.gz
  • Upload date:
  • Size: 32.7 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.0.tar.gz
Algorithm Hash digest
SHA256 165ad4e1ba6e36f972008cf67fa77f092416dfb8ae840e4fab29a8bd84a7e714
MD5 5f2138735e3adbc3c6ac7970f6e524d5
BLAKE2b-256 5d5b4909e71e2a1bce3caef5df59832a97974d21b525f38ed5d92cf364646286

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for analyze_stocks_india-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af9bc593b37f6845191ca66c29a052da75534a3c56d1333e087edaecc286460e
MD5 2efb07da464869bf51c40e5ea609ed85
BLAKE2b-256 693611d0274f0e212174ea5d0b4366db894f0594c717e714dcffd6907f266590

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