Welcome to Richie Sawant's Blog.
All the Opinions are personal.

Code to Calculate The Value of a Call Price of a Stock Using C++
This code is a simple implementation of a Monte Carlo Simulation-based option pricer. We can add more complicated algorithms and build a...
Jane Street Jan2021 Puzzle Solution
Wrote a code to get the right solution for the last month's Jane Street Puzzle using Python Monte Carlo simulation to get the right...
Codes for Crude Monte Carlo Integration Approach and Importance Sampling for a given set of function
from math import exp from random import random import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm from...
Code to Calculate Volatility Smile
Volatility smiles are created by implied volatility changing as the underlying asset moves more ITM or OTM. The more an option is ITM or...
The Leslie Matrix Model of Population
An example of the Markov chain for a Leslie Model of Population growth We Consider the Following question to study the Leslie Model: This...
Project Euler #254
Define f(n) as the sum of the factorials of the digits of n. For example, f(342) = 3! + 4! + 2! = 32. Define sf(n) as the sum of the...
The Crypto Epoch (How Crypto-Currency is shaping the new Financial System) - The Tech (part 1)
What is Conventional Way? And why is there an issue? Usually, for a conventional transfer of "Payments," there is an intermediary for...
Code to calculate Binomial Pricing for a period
This MATLAB code calculates European and American Call and Put Option Price, This is a really basic code that I wrote in like 2-3 hrs...
Risk in Layman Terms for Absolute Beginners
Suppose you are to be a chief risk manager at HOME INC. You have a total of W = 1000$ at HOME INC. Suppose your company has an employee,...









