Risk Analysis Of Stocks

In this article, I’ll explain about how can we perform risk analysis for certain public listed stocks. To perform this, we will look at the data of certain time frame and will try to analyze which stock is riskier than other one based on the price deviation and the average price.

Throughout this exercise, I’ll be using Python as a programming language.

Required Packages

Here is the list of packages we need to be install before proceeding:

  • pandas
  • numpy

--

--

--

I’m C# Corner MVP, mentor, speaker, YouTuber & developer. YouTube: https://www.youtube.com/channel/UCQVOeT4i5nezvPG_xvIFzdQ Blog: http://www.shwetalodha.in

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Using Machine Learning in Python to Predict World Series Winners

5 Minutes Data Visualization — US Medical Device Company Locations

Becoming a Data scientist

Wait… Is It A Trap?

Demographics are a spectrum

How to reduce the spread of Covid-19 using behaviour science.

What is Synthetic Data?

An image and a GIF side by side. The image on the left is of different versions of a Coca-Cola glass bottle. The GIF on the right is a digital 3D model of that same Coca-Cola bottle.

How to start your career in Data Science

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shweta Lodha

Shweta Lodha

I’m C# Corner MVP, mentor, speaker, YouTuber & developer. YouTube: https://www.youtube.com/channel/UCQVOeT4i5nezvPG_xvIFzdQ Blog: http://www.shwetalodha.in

More from Medium

Betting Right on Earning Option Premium with Probability Distribution

Portfolio and Investment Analysis with Python

Backtesting and Optimising Your Own Trading Strategy

A Great Way to Look at Stocks