
Explore mathematical finance with Python, bridging theory and practice in financial modeling. Apply Python tools to analyze financial scenarios and concepts presented in the course.
Explore the fundamental elements of Python programming, including syntax and semantics, commands, objects, expressions, and variables, with practical examples of print, arithmetic, and area calculations.
Master the basic elements of Python, including print statements, variables and expressions, compute circle area using pi, and diagnose syntax errors and flexible quotes.
Explore branching programs and conditionals, using if, else, and nested ifs with indentation, to test conditions like x modulo 2 for even and odd, and divisibility by two and three.
Explore branching programs and conditionals by building Python-like if-else logic, including nested if statements, modulo checks for divisibility, and structured indentation, with practical outputs.
Learn how strings work in Python, including length, indexing, slicing, and string operations like concatenation and repetition, plus handling input with the input function and common type casting errors.
Explore Python string operations and input handling in this lab, demonstrating string arithmetic, concatenation, indexing, slicing, and type checking.
Explore iterations and loops. Use while and for loops to test conditions and execute commands, with examples like computing a square of an integer.
Demonstrates while loops, including iterations left and condition-based execution, to compute squares via repeated addition; introduces for loops and a do-loop variant.
Explore exhaustive enumeration and the decrement function in loops by building a cube-root checker that uses a while loop, absolute values, and a discriminating function to test for perfect cubes.
Engage in exhaustive enumeration and discriminating functions in a Python lab to test perfect cubes, compute cube roots, and apply while and for loops with nested logic.
Define functions and explore their parameters, distinguishing formal parameters from actual parameters, and study how scope and indentation control binding and return values with examples like x squared.
Define and use functions with formal and actual parameters, practice maximum and minimum, and explore scoping rules that govern parameter binding and function behavior.
Explore recursion in programming: a function that calls itself within its body, with examples like factorial and Fibonacci, and pseudocode to clarify their use in mathematical finance.
Explore recursion by implementing factorial both iteratively and recursively, and verify the result for four factorial equals twenty-four, illustrating function self-calls.
Explore recursion theory with practical Python examples, implementing factorial and Fibonacci through base cases, recursive calls, and functions.
define a python function to compute fibonacci numbers via recursion, with base cases for zero and one and a recursive step for n minus two, linking to financial modeling.
Explore tuples and lists as Python's structured data types, learning how tuples hold mixed elements and how lists are indexed, printed, and used in for loops for financial modelling.
Explore tuples and lists in Python, learn how to declare, manipulate, concatenate, and print them, and understand indexing, mutability, and basic loop use for iteration.
Explore immutability in Python lists, differentiating value equality, and see how variables act as names while list contents drive mutability.
Explore mutability in Python lists, distinguishing value equality from object identity, and understand how variables are just names tied to list objects, affecting memory and comparisons.
Explore cloning and mutation in lists, and learn to remove duplicates with list operations. Master list comprehension to compute squares and filter integers from mixed types.
Explore functions as objects, treating functions as data types, and apply a function to each list element, replacing items with the function output (e.g., integer conversion).
Explore how functions can be used as objects in Python by applying a function to each list element, using abs, factorial, and Fibonacci as objects.
Explore debugging concepts, focusing on identifying overt and covert bugs, distinguishing intermittent and persistent errors, and using intermediate outputs to methodically analyze and fix code.
Learn how to test and debug code with a palindrome checker, identify bugs, and use a temp copy and reverse it to compare with the original without mutation.
Explore the basics of object oriented programming in Python, including classes, objects, methods, instantiation, and inheritance, and see how objects drive code structure.
Learn object-oriented programming in Python by building a class with methods like insert and remove, while exploring instance creation, exception handling, and inheritance.
Define the capstone project for part one: build a lab program comparing standard monthly payments and credit-score adjusted payments using the monthly payment formula and a make payment function.
Compare two fixed-rate loan types, one with credit points and one without, by building Python classes to compute monthly payments, paid amounts, and total loan costs in a capstone project.
Explore basic statistics by defining mean, median, standard deviation, and mode, and learn how these measures reveal central tendency in datasets.
Explore basic statistics with live Kaggle data in Python, computing mean, median, and standard deviation, describing min, max, and quartiles, and visualizing with box plots on iris dataset using pandas.
Compute the theoretical fair value of a bond and its coupons by applying time value of money and yield to maturity, using Python and annual or semiannual compounding.
Model bond valuation by calculating face value and coupon value with Python, using semiannual coupons and a yield to maturity to discount cash flows.
Explore exponential and logarithmic functions, their bases (including e) and inverses, and how natural logarithms support financial modeling with Python.
Explore the behavior of exponential and logarithmic functions through a graphical lab, plotting F(x) to show exponential increase and decrease and their complementary relation.
Explore probability distributions from discrete to continuous, then dive into lognormal distributions for finance, deriving and modeling their probability density and cumulative density functions, with lab coding in Python.
Demonstrate how the natural logarithm of x being normal yields a lognormal distribution, and visualize its pdf and cdf in Python for finance.
Model option payoffs by stock movements and strike price, using call payoff max(F-K,0) and put payoff max(K-S,0) to capture the extra payoff beyond the option price.
Explore Python-based options payoff modeling, deriving call and put payoffs using max(stock - strike, 0) and max(0, strike - stock), with function-based implementation.
Price call and put options using the Black-Scholes model, as functions of stock price, time, strike, volatility, and the risk-free rate, with Python implementations.
Implement the Black Scholes Merton model in Python, coding call and put pricing formulas, and plot option values across varying stock prices.
Explore the Black-Scholes dividend model, deriving call and put prices with dividend yield Q using D1 and D2, and note dividends lower calls and raise puts.
We extend the Black-Scholes-M model to include dividends and compare call values for dividend-paying versus non-dividend stocks, highlighting changes in D1, D2 and dividend terms.
Analyze how the BSM model reacts to changes in stock price, volatility, and time to maturity, keeping strike and risk-free rate fixed, with call and put value graphs.
Explore how time to maturity and volatility shape Black-Scholes call and put values, with a fixed risk-free rate, using the model in a python notebook.
Explore delta, the sensitivity that measures how option value changes with the underlying stock price, using e^{-q t} N(d1). Learn how leverage relates to delta for calls and puts.
Explore delta, the key option greek, and see how dividend and time to expiration shape option price and sensitivity under the BSM dividend model.
Learn how delta, the key option sensitivity, links price changes to the underlying asset, and how dividend and time to expiration affect delta in the Black-Scholes framework.
The earlier lecture had a error in the code which was pointed out by a student. This new video contains the corrected content along with the explanation
Learn put-call parity by equating call and put prices under the dividend model, applying Black-Scholes, with r, q, and sigma adjustments.
Explore put-call parity in option pricing and verify its equality with the Black-Scholes price using Python functions and a dividend model.
This video gives a basic introduction to integration and differentiation. Though this content may not have any direct connection to the existing curriculum, calculus (differentiation and integration), is very important for mathematical finance. This is just a mild introduction towards that
Explore differentiation and integration through function behavior, slope, tangent, limits, and area under the curve, highlighting antiderivatives and the link between rate of change and accumulation.
Explore stochastic modeling in finance by contrasting deterministic and random outputs, and implement Python examples that illustrate randomness in financial modeling.
Implement a die roll simulator using Python's random library to generate 1–6 outcomes, illustrating randomness and stochastic modeling and its role in financial Monte Carlo simulations.
Explore probabilistic modelling in finance, showing how trials reduce uncertainty and drive convergence toward expected outcomes. Apply regress to mean and coin-flip simulations in Python to support decision making.
Simulate a fair coin flip to estimate heads probability and show how the observed frequency converges toward 0.5 as flips and trials increase.
Explore regression to the mean through extreme events, extremes in coin flips, and observe how averages revolve around mean with Monte Carlo simulation and stochastic modeling for financial predictive analytics.
Explore histogram creation from random number generation and learn how Monte Carlo simulation uses repeated trials to reveal data distributions, bin behavior, and uncertainty.
Explore Monte Carlo simulation with coin flips, showing how increasing trials drives the fraction of heads toward 0.5, sharpens the mean estimate, and reduces variance, with histograms illustrating convergence.
Explore geometric Brownian processes and random walks as models of continuous-time, continuous-value randomness in finance and science. See how these tools describe stock movements and dynamics in physics and biology.
Explore random walk modeling using Python by implementing a location class, a field, and step-based movement to simulate euclidean distances from the origin and analyze mean distances over multiple trials.
Explore biased random walks with south preference and restricted east-west movement, implement multiple drunk classes, and visualize how step choices affect distance from the origin through simulations.
Explore random walk simulations and final location analysis through Monte Carlo experiments, plotting final positions across steps and trials to illustrate stochastic modeling concepts in Python.
Explore Monte Carlo simulation as a technique that runs many trials on a stochastic model to infer patterns, illustrated by Buffon’s experiment estimating pi from circle and square areas.
Learn Monte Carlo simulation by running many trials on random inputs to estimate pi, using random x, y coordinates and a circle test, converging toward 3.14 as trials increase.
Construct a stochastic stock-price model using geometric Brownian motion and a Markov process, detailing drift and volatility. Demonstrate Python-based Monte Carlo simulation to estimate future prices.
Convert theory into a Monte Carlo stock-price estimator using geometric Brownian motion, exploring steps, trials, and inputs while highlighting the deterministic and stochastic parts.
Price options with Monte Carlo simulation under the Black-Scholes framework, including dividend considerations. Calculate terminal payoffs, average to the expected payoff, and visualize the distribution with histograms.
Estimate option prices using Monte Carlo simulation and Black-Scholes with dividends, comparing stochastic models to closed-form results and highlighting the role of volatility and present value.
Explore Monte Carlo simulation for options pricing, compare Black-Scholes results with simulated prices, and visualize outcomes using histograms of calls and puts across varying inputs like strike, volatility, and dividends.
Read live Kaggle stock data and explore S&P 500 and Dow 30 datasets, import libraries, and inspect head, tail, and descriptive statistics for data analytics and machine learning in finance.
Explore basic data visualization techniques for financial analytics with Amazon stock data from 2006 to 2018, including open, high, low, close, volume, and rolling mean plots.
Explore open-high-low-close charts and interactive OHLC visuals to analyze stock data, compare monthly and weekly windows, and identify bullish and bearish candlestick patterns.
Examine candlestick patterns in technical analysis using open, high, low, and close data with interactive plots, identifying bullish and bearish formations such as hammer, morning star, and evening star.
Analyze candlestick patterns, including bullish and bearish engulfing signals, and learn that such patterns do not guarantee next-day moves. Compare intraday trading with long-term investing using volume and data-point analysis.
Analyze stock data using market research techniques and candlestick pattern chart. Connect price moves to events and preview machine learning driven predictive analytics in finance.
Read and prepare a multi-stock dataset, filter Amazon 2013–2018, convert dates to datetime, and set up time-series plots to enable predictive analytics in finance.
Learn linear and nonlinear regression, including line of best fit and polynomial (quadratic, cubic) fits, to estimate and predict future values with generalized additive and moving-average time-series concepts.
Predict stock prices using the generalized additive model via the profit package, regressing only on date and close price to forecast one year ahead with confidence intervals.
Predict stock prices two years ahead using a machine learning approach, creating a future data frame, forecasting with seasonality and hedges, and analyzing forecast variance.
Explore moving average based techniques using 10, 50, and 200 day rolling means to regress and forecast stock prices, and compare smoothing with auto regressive integrated moving average models.
Explore the moving average technique to reveal stock price direction and trends by smoothing price data with customizable windows, without predicting exact future values.
Examine stock price trends with rolling means and moving averages across 20, 50, and 150 days, visualized as blue actual data and orange mean.
Concludes the mathematical finance with Python course with a closure video and congratulations, recapping theory and practice.
This course combines the right mix of programming concepts with Python, Mathematical Modelling, Quantitative Finance and Machine Learning. This course is divided into four parts.
Part one covers the essentials of python programming. This includes basic printing, data types, branching and iteration. This part also covers key topics like tuples, mutability, functions, recursion, classes and concepts of object oriented programming. This part culminates with a capstone project, wherein we would build a financial model to calculate mortgage payments.
Part two covers python and mathematics for finance. This part entails two capstone projects which would cover detailed modelling of options using the Black-Scholes Model and detailed modelling of valuation of bond instruments. This part clearly explain all the basic math concepts required for finance in a theoretical (white board fashion) and each concept session is followed by a hands-on lab session in python. The topics covered are exponential functions, logarithmic functions, Log-normal functions. There is also a special bonus session on modelling of options Greeks
Part three covers stochastic modelling for finance. This part is key for quantitative finance and we give a solid foundational understanding of the key concepts of stochastic finance. There is an exclusive and exhaustive coverage of Monte Carlo simulation techniques for Finance and its application by means of estimation of stock price and options price. Other topics covered are Random Walk Modelling, Geometric Brownian process simulation, Calculation of Pi using Monte Carlo Simulation.
Part four covers machine learning for finance . In this part , students would learn technical analysis of stocks with candlestick and OHLC charts, prediction of stock prices using advanced machine learning algorithms and real time market research.
This course covers mathematics of finance in detail. The USP of the course is that each concept is explained in a theoretical fashion (using a digital white board) and is immediately followed by a hands-on lab session. This powerful combination would ensure that the students learn the concepts very well.
Important concepts of python programming , mathematics and finance are explained in a way with which the student would have absolute clarity. Hard core coding in Python is involved, wherein the mathematical models are designed using user defined custom functions and not consumed from standard libraries. The student gets to learn the nuts and bolts of model creation in python.