This Python application allows users to visualize stock data and technical indicators (SMA, MACD, RSI, Bollinger Bands) for selected companies. The app fetches historical stock data using Yahoo Finance, computes various technical indicators, and displays the plots interactively through a Gradio interface.
This tool provides an intuitive way for business users and analysts to quickly visualize key technical indicators without needing deep expertise in coding or data processing, making stock analysis more accessible and engaging.
Exhibit 1. Hess Corporation -- Simple Moving Average
git clone https://github.com/LNshuti/energy.gitconda env create --file=environment.yamlconda activate stock-datapip install -r requirements.txtpython src/main.pyIf you found the app useful, please make sure to give us a star!
You can modify the COMPANY_TICKERS dictionary in the Python file to add or remove companies based on your needs.
COMPANY_TICKERS = {
'Constellation Energy Corp': 'CEG',
'Chevron Corporation': 'CVX',
'Total Energies': 'TTE',
'Exxon Mobil': 'XOM',
'BP': 'BP',
'Royal Dutch Shell': 'SHEL',
'ConocoPhillips': 'COP',
# Add more companies here...
}