Category

Trading

7-Day Challenge

Land Your First Data Science Job

A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.

Build portfolios that hiring managers love
Master the Python and SQL essentials to be industry-ready
Practice with real interview questions from tech companies
Access to the $100k/y Data Scientist Cheatsheet

Join thousands of developers who transformed their careers through our challenge. Unsubscribe anytime.

CAPM
1 min read
How to do the Capital Asset Pricing Model (CAPM) in Python
Learn how to calculate expected returns with Capital Asset Pricing Model (CAPM) and how to do it in Python.
4/13/2023Read More
Finance
2 min read
How to compute the efficient frontier with Pandas using Python
Learn how to compute the efficient frontier using Pandas in Python. A step-by-step guide on how to load financial data, calculate expected returns and covariance matrix, minimize portfolio variance. Use this method to analyze and optimize your portfolio's risk and returns.
4/9/2023Read More
Data Generative Process
1 min read
How to implement an ARIMA in Python
Learn how to implement an ARIMA model in Python using the statsmodels library by defining model parameters, fitting the model, and making predictions with the fitted model.
4/1/2023Read More
Stochastic Processes
1 min read
How to do a stochastic process in Python
Stochastic processes in Python can be modeled using Numpy or Scipy libraries by generating random numbers, defining the process parameters, simulating the process by iterating through the equations, and plotting the results using Matplotlib.
3/31/2023Read More
Brownian Motion
1 min read
How to do a geometric Brownian motion in Python
Learn how to predict stock price using Geometric Brownian Motion (GBM) process by updating the stock price over multiple time steps using randomly generated normal variables and the mean return and standard deviation of the stock's returns
3/30/2023Read More
Monte Carlo
1 min read
How to do a Monte Carlo simulation for price prediction in Python
Python script for Monte Carlo simulation of stock price prediction using the geometric Brownian motion model to determine the mean, upper, and lower bounds of the simulated prices.
3/29/2023Read More
Black-Scholes
1 min read
How to compute the Black Scholes model in Python
Compute Black-Scholes option pricing model in Python using numpy and scipy.stats.norm, formula calculates price of European call or put option based on inputs of underlying asset price, strike price, time to expiration, risk-free rate, volatility, and option type
3/28/2023Read More
Order Flow
5 min read
How to compute the order flow in Python
Python function calculates order flow by subtracting sell volume from buy volume. Call order_flow(buy_volume, sell_volume) with volume of buy and sell orders.
3/27/2023Read More
Bollinger Bands
1 min read
How to compute the Bollinger Bands using Python
Python script calculates Bollinger Bands by finding moving average, standard deviation, upper band (MA + 2STD), and lower band (MA - 2STD) of close prices. Default window is 20 and number of standard deviations is 2. Call bollinger_bands(prices) with close price data series.
3/25/2023Read More
Free Newsletter

Master Data Science in Days, Not Months 🚀

Skip the theoretical rabbit holes. Get practical data science skills delivered in bite-sized lessons – Approach used by real data scientist. Not bookworms. 📚

Weekly simple and practical lessons
Access to ready to use code examples
Skip the math, focus on results
Learn while drinking your coffee

By subscribing, you agree to receive our newsletter. You can unsubscribe at any time.