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

https://github.com/Vaibhav/Stock-Analysis

Regression, Scrapers, and Visualization
https://github.com/Vaibhav/Stock-Analysis

hacktoberfest hacktoberfest2020 linear-regression prediction sentiment-analysis stock-analysis stock-prices stocks svm visualization

Last synced: 23 days ago
JSON representation

Regression, Scrapers, and Visualization

Awesome Lists containing this project

README

          

# Stock Analysis

This repository contains python scripts that I am devleoping to perform analysis on stock prices and visualization of stock prices and other data such as volume.

Some of the goals I want to achieve with this project include:
- Get the data I need from Yahoo Finance or other API. Able to specify what I need and the time range.
- Different regression implementations on the close price data. (Linear, SVM, etc.) Possibly try to fit a polynomial function which follows the data.
- Predicting Stock price for the next day.

## Trends

TrendLine.py Results

![trendy](readme/figure_1.png)

![trendy](readme/figure_1-1.png)

![trendy](readme/figure_1-3.png)

![trendy](readme/figure_1-4.png)

## Regression

Using my code for linear regression and Nvidia's (NVDA) stock prices of each day. I got a slope of 0.1850399032986727 and a y intercept of 24.54867003005582. The 50.08 number is the price predicted for the next day based on the linear formula it calculated.

```python
[0.1850399032986727, 24.54867003005582]
50.0841766853
```

### Screenshots

![Linear Regression performed on NVDA Stock data from January 2016](/Regression/NVDA2016.png)

#### New Screenshots

#### AEIS
![AEIS February 20](readme/AEIS-feb20.png)
#### FB
![Facebook February 20](readme/FB-feb20.png)

## Version

1.0.0 - Released Stock Scraper

1.0.1 - Minor bug fixes with duplicate entries in the CSV File

### Todo

- [ ] Use Machine Learning algorithms to predict stock close price for the next day
- [ ] Add data visualization with technical indicators such as moving average, volume, STOCH.
- [ ] Add Stock screener, to screen through every stock and see which ones are best buys.

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=Vaibhav/Stock-Analysis&type=Date)](https://star-history.com/#Vaibhav/Stock-Analysis&Date)

#### License

MIT

**Free Software, Hell Yeah!**