Skip to content

mlojek/wse-stock-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSE stock analysis

Using statistics to prove a stock trading strategy.

The strategy

We propose that buing stocks that dropped more than 8% in one day is a good and reliable trading strategy. To prove this, we'll use statistical tools and records of the 20 biggest stocks from Warsaw Stock Exchange (WSE) by market cap.

Dataset:

We're using this dataset from kaggle. It contains information about open, close, low and high prices for each stock for each trading day. We'll limit our tests to years 2010-2018, to exclude major global recessions.

How to run

Firstly, make sure you have all the necessary libraries installed. In your R interpreter run:

source('install.r')

Download the dataset and move the CSV file to this directory. Rename it to stock_data.csv. Then in R interpreter run:

source('main.r')

About

Using statistics to prove a stock trading strategy

Topics

Resources

Stars

Watchers

Forks

Languages