This is a tool written in Rust that fetches financial data from Yahoo Finance and calculates the max pain strike price for a given stock symbol.
Before you begin, make sure you have Rust installed on your machine. If not you can download it from here.
Follow these steps to get the Rust Max Pain up and running:
- Clone the repository:
git clone git@github.com:tomshaw/rust-maxpain.git - Navigate to the cloned directory:
cd rust-maxpain - Build the project:
cargo build - Run the executable with a stock symbol as a command line argument:
cargo run <stock-symbol>
This package is open-source software licensed under the License for more information.