Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shaadclt/time-series-analysis-stocks

This is a Streamlit application that performs time series analysis on stocks. It allows users to input a stock ticker symbol and displays various visualizations for the selected stock.
https://github.com/shaadclt/time-series-analysis-stocks

plotly streamlit yfinance

Last synced: 6 days ago
JSON representation

This is a Streamlit application that performs time series analysis on stocks. It allows users to input a stock ticker symbol and displays various visualizations for the selected stock.

Awesome Lists containing this project

README

        

# Time Series Analysis - Stocks

This is a Streamlit application that performs time series analysis on stocks. It allows users to input a stock ticker symbol and displays various visualizations for the selected stock.

## Installation

1. Clone the repository:
```shell
git clone https://github.com/shaadclt/Time-Series-Analysis-Stocks.git
```

2. Install the required dependencies:

```shell
pip install -r requirements.txt
```

## Usage
1. Run the Streamlit application:

```shell
streamlit run app.py
```
2. Enter the stock ticker symbol in the sidebar text input and click the "Enter" button.

3. The application will retrieve the historical stock data from Yahoo Finance and display the following visualizations:

* Line Plot: A line chart showing the closing prices over time.
* Candlestick Chart: A candlestick chart displaying the open, high, low, and close prices.
* Bar Plot: A bar chart representing the closing prices.
* Additionally, a candlestick chart with buttons and a slider is displayed, allowing you to zoom in and out of different time periods.

4. Explore the visualizations and analyze the stock's time series data.

## Examples
Here are some examples of how the visualizations look:

### Line Plot
![image](https://github.com/shaadclt/Time-Series-Analysis-Stocks/assets/98437584/93f30b41-f217-4454-aabd-5165ca2ff0a2)

### Candlestick Chart
![image](https://github.com/shaadclt/Time-Series-Analysis-Stocks/assets/98437584/57858853-efad-44c9-b99a-f4f52ce3b52a)

### Bar Plot
![image](https://github.com/shaadclt/Time-Series-Analysis-Stocks/assets/98437584/83e73be4-cb7b-4129-b8b7-ef70f63cc971)

### Candlestick Chart with Buttons and Slider
![image](https://github.com/shaadclt/Time-Series-Analysis-Stocks/assets/98437584/f6bed3ac-bc71-4234-a636-417f445ca4f2)

## Contributing
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

## License
This project is licensed under the MIT License. See the LICENSE file for details.