Download and analyze Indian stock data
Optimize stock portfolios and visualize performance
Convert money between currencies
Select a database strategy for PrecissionCare's MedApp1 migration
Analyze stock options to gauge market sentiment
Analyze and visualize payoffs for long and short straddle options
Estimate stock value using P/E or P/S methods
Estimate stop-loss levels using ATR for trading strategies
Easily convert currencies with just a few clicks
Predict sales for a given date and conditions
Analyze stock price probability
Scan stocks for trading signals
house price predictions
Indian Stock Downloader.py is a Python-based tool designed to download and analyze Indian stock data. It simplifies the process of obtaining financial data for stocks listed on Indian exchanges, making it easier for traders and analysts to access the information they need for analysis and decision-making.
• Comprehensive Data Download: Fetch stock data from major Indian exchanges like NSE (National Stock Exchange) and BSE (Bombay Stock Exchange).
• Real-Time and Historical Data: Access both real-time stock quotes and historical price data for detailed analysis.
• Multiple Data Formats: Download data in various formats such as CSV, Excel, or JSON for compatibility with different analysis tools.
• Filtering Options: Customize data retrieval by specifying date ranges, intervals, and stock symbols.
• User-Friendly INTERFACE: Easy-to-use commands and optional parameters for efficient data extraction.
• Support for Multiple Stocks: Download data for single or multiple stocks in a single run.
• Error Handling: Built-in mechanisms to handle API limits, network issues, and other potential errors.
pip install pandas requests
python Indian_Stock_Downloader.py --stock <stock_symbol> --start <start_date> --end <end_date>
<stock_symbol> with the ticker symbol of the stock (e.g., "INFY" for Infosys).<start_date> and <end_date> with the desired date range (e.g., "2023-01-01" to "2023-12-31").python Indian_Stock_Downloader.py --stock <stock_symbol> --start <start_date> --end <end_date> --interval <interval> --output <format>
How do I know if the script is downloading real-time data?
The script fetches data directly from the exchange's API, ensuring it is up-to-date. You can verify the timestamps in the output file to confirm the data is current.
Can I download data for multiple stocks at once?
Yes, you can specify multiple stock symbols separated by commas in the --stock parameter. For example:
python Indian_Stock_Downloader.py --stock INFY,RELIANCE,SBIN --start 2023-01-01 --end 2023-12-31
Is there a limit to the amount of data I can download?
Yes, the script is designed to adhere to exchange API limits. Excessive requests may result in temporary blocking of your IP. Use the filtering options to download only the data you need.