by Suf | Oct 9, 2022 | Finance, Programming, Python, Tips

Implied volatility tells us the expected volatility of a stock over an option’s lifetime. Implied volatility is directly influenced by the supply and demand of the options and the market’s expectation of the direction of the price of the underlying...
by Suf | Sep 30, 2022 | C++, Finance, Programming, Python, R, Tips

Options Greeks are a set of quantities representing an option’s price sensitivity to its underlying parameters. Each of them measures a different dimension of the risk in an option position. They fall out elegantly from derivatives of the Black-Scholes options...
by Suf | Sep 27, 2022 | Finance, Programming, Python, Tips

The Black-Scholes or Black-Scholes-Merton model is a financial mathematical equation for pricing options contracts and other derivatives. Fischer Black and Myron Scholes published the formula in their 1973 paper “The Pricing of Options and Corporate...
by Suf | Aug 21, 2022 | Programming, Python, Tips

This tutorial will explain several ways to add new columns to an existing DataFrame in Pandas with code examples. Table of contentsUsing DataFrame.insert()Using DataFrame.assign()Declaring New List as a ColumnSummary Using DataFrame.insert() We can use the...
by Suf | Aug 19, 2022 | Programming, Python, Tips

The minimum value in a list is the element with the highest value. You can find the minimum value index in a list by passing the list to the built-in min() function and then using list.index(element) where the element is the minimum value. The list.index() method will...
by Suf | Aug 19, 2022 | Programming, Python, Tips

The maximum value in a list is the element with the highest value. You can find the maximum value index in a list by passing the list to the built-in max() function and then using list.index(element) where the element is the max value. The list.index() method will...