This is a Python application built with Streamlit, Docker, and Docker Compose to compare the performances of two stocks.
- Docker
- Docker Compose
-
Clone this repository:
git clone https://github.com/your-username/stock-comparison-app.git
-
Navigate to the project directory:
cd stock-comparison-app
-
Build the Docker image:
docker-compose build
-
Run the Docker container:
docker-compose up
-
Open your web browser and go to
http://localhost:8501
to access the Stock Comparison App.
-
Enter the ticker symbol for the first stock in the input field. The default value is
APPL
. -
Enter the ticker symbol for the second stock in the input field. The default value is
NVDA
. -
Click the "Compare" button to submit the form.
-
The line chart will display the stock prices of the two stocks.
You can customize the default stock tickers by modifying the app/src/main.py
file.
This project is licensed under the MIT License. See the LICENSE file for details.