Getting Started
Install floe and start running options analytics in Python.
Installation
Install from PyPI:
pip install floe-py
Quick Start
from floe import BlackScholesParams, black_scholes, calculate_greeks
params = BlackScholesParams(
spot=100.0,
strike=105.0,
time_to_expiry=0.25,
risk_free_rate=0.05,
volatility=0.20,
dividend_yield=0.01,
option_type="call",
)
price = black_scholes(params)
greeks = calculate_greeks(params)
print(price)
print(greeks.delta, greeks.gamma, greeks.theta)
Package Layout
floe is organized by focused Python modules:
blackscholesfor pricing, Greeks, implied volatility, and time-to-expiry helpers.volatilityfor IV surfaces and smile smoothing.exposurefor canonical/state-weighted/flow-delta dealer exposures.hedgeflowfor impulse curve, charm integral, and pressure cloud analysis.impliedpdffor risk-neutral distribution estimation and adjusted PDFs.ivandrvfor model-free IV vs realized volatility workflows.volresponsefor IV response z-score classification.occ,adapters, andapiclientfor symbol utilities, broker normalization, and dataset APIs.
Notes
- Time-sensitive APIs take explicit millisecond timestamps.
calculate_implied_volatilityreturns IV in percent (20means20%).- Most chain-based functions consume
OptionChainandNormalizedOption.
Next Steps
- Read the API Reference
- Explore Recipes
- Run end-to-end patterns in Examples