Derivatives Calculator

I created the following simple script while studying for a derivatives exam as part of my master’s of finance program. This calculator allows you to solve simple formulas such as optimal hedges/number of contracts and cost of carry derivations for calculating theoretical futures prices.