The goal of this project is to implement the Black-Scholes equation to determine an option's strike price using Apple Stock's time series data from 2022-05-03 to 2023-05-03. The project calculates the daily returns as a logarithmic difference, the stock's volatility, and determines the call option value based on the user's input.
This project is implemented using the following Python libraries:
pandas
numpy
matplotlib
seaborn
scipy
outlier-utils
The dataset used in this project is the Apple Stock time series from 2022-05-03 to 2023-05-03. The dataset is available in a CSV format, which is loaded using the pandas library.
The user is free to use this code for their purposes. To calculate the call option value, the user needs to input the strike price, the time to expiration in years, and the risk-free rate.
Contributions to this repository are welcome. If you find a bug or have suggestions for improvement, please open an issue or submit a pull request.
Based on the upward trend of the Apple Stock and evaluating the strike price, time to expiration, and the risk-free rate, the option to buy a share within the month would be $7.90 per share.
Note: If the Colab notebook is not being displayed, please copy the URL and paste it on nbviewer so you can see the code.
This project was created by Santiago Moreno Velasquez.