Download and analyze Indian stock data
Fetch and display option prices for a stock
Analyze and visualize payoffs for long and short straddle options
Convert currency amounts between USD, EUR, and GBP
Calculate buy or rent returns based on assumptions
Analyze financial texts with speech recognition, summarization, and entity extraction
Convert money between currencies
Display stock market data
Predict house prices based on input details
Uses Prophet to forecast crypto prices
Scan stocks for trading signals
Analyze stocks to make informed decisions
Optimize your bet sizes to grow a simulation account
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.