Skip to content

sheddyranking/Time_Series_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time_Series_Analysis

This is a Time Series Analysis Project involving ( Stock Market Case-Study)

Problem Statment => Analyse Closing Price of all the Stocks.

The Stocks to be Analysed are AAPL,GOOG,MSFT and AMZN. Covert the date column to datetime before ploting, it's a object initially

Closing_price

Problem Statment => Analyse the Total Volume of Stock being Traded each day.

AAPL

AMZN

GOOG

MSFT

Problem Statment => Analysing the daily price change.

To archieve the daily price change create a column containing the change in df['close'] and df['open'].

1day % return = ((df['close']-df['open'])/df['close'])*100

1day % return

1day % return plot

Problem Statment => Analysing Monthly/Yearly mean close feature.

you can Choose a date range optional, set_index of any key your using before Resampling the data according to the month (M) or Year (Y).

Resamppled Monthly mean close features

mean_close_month_f

Resamppled Year mean close features

mean_close_year_f

Problem Statment => Analyse Whether Stock Prices of these Tech companies (Amazon,Google,Microsolft,Apple) are correlated or not.

Create a new df to contiain informations of [close] columns from Amzn,Goog,Msft and Appl Dataframe.

corr plot

corr_plot

heatmap

corr_heatmap

Problem Statment => Analyse Daily Return of each Stock and how they are correlated.

Stocks to be analysed are Amzn,Goog,Msft and Appl create a new df and store changes in % daily return in the new df.

changes in % daily return plot

daily_per_change_plot

heatmap of changes in % daily return

percentage_daily_return_corr

Problem Statment => Value at Risk Analysis for Tech Companies.

use displot from seaborn to visualized the change in percentage daily return of each stock and use std to analyse the value Risk on the stocks. Also you can use quantile() on the percentage daily return to discover the minimum daily return.

displot visualized changes in percentage daily return of appl.

appl_change_value_risk

std Value Risk Analysis sample

std_value_risk_analysis

About

This is a Time Series Analysis Project involving ( Stock Market Case-Study)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors