How to Develop a Stock Market Analytical Tool using Shiny and R

R script and SML plot
CAPM solution and Shiny web framework

Introduction to CAPM

Expected return formula
Beta formula
Alpha formula

What is Shiny?

Shiny’s examples

UI part

Result table
Examples of plots

Server part

Progress bar


Admin panel


CAPM solution (desktop version)
CAPM solution (mobile version)




Data science & Quantitative finance

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

Recommended from Medium

What’s the most positive or negative religion? — Sentiment and Data Analysis of Holy Books with R

How to Use an Analog Multi-Tester

Sidestepping the pitfalls of an organically developing data system

Introducing the Cube SQL API: Building Metrics Stores with Cube

5 key benefits of the relation between AI and the Cloud.

Integrating Omics using UMAP and Clustering

Scatter plot of the two-dimensional UMAP embedding with subsequent density-based clustering of the joint data set

On 17 April 2020 I published a piece entitled “The COVID-19 Spread in Australia” on behalf of its…

Power BI Components

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
Sergey Malchevskiy

Sergey Malchevskiy

Data science & Quantitative finance

More from Medium

A Simple Python Guide To Find Carbon Intensity of Commodities

Top Data Science Trends For 2022 — What Do CEOs Have To Say?

Capital Asset Pricing Model and Security Market Line

Correlation or a Case for Causation?