- Linux or macOS
- Rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/0xDmtri/bs-cli.git
sh ~/bs-cli/install.sh
bs -u <Underlying> -s <Strike> -d <Days> -r <Rate> -v <Volatility>
bs -u 100.0 -s 100.0 -d 0.25 -v 0.8
git clone --branch develop https://github.com/0xDmtri/bs-cli.git
cd bs-cli && cargo build
Currently, we are using hardcoded 360 days annualization convention for simplicity, feel free to submit a PR request to customize it!