Skip to content
FullStackCraftPublic

About

Python implementation of floe: options pricing, full Greeks, and IV surface modeling.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

floe-py

License Python

Zero-dependency Python library for options flow analytics: Black-Scholes, Greeks, IV surfaces, dealer exposures, implied PDFs, hedge flow, and more, with a clean, fully-typed API. Broker agnostic. Built for use in trading platforms, analytics pipelines, and fintech applications.

The same library that is used in Full Stack Craft's various fintech products including The Wheel Screener, LEAPS Screener, Option Screener, AMT JOY, and VannaCharm.

Quick Start / Documentation / Examples

fullstackcraft.github.io/floe-py

Dual License

This project is dual-licensed:

  • MIT License - Free for individuals, personal projects, and non-commercial use
  • Commercial License - Required for businesses and commercial applications

Read full licensing details | Get Commercial License


Features

  • Black-Scholes Pricing - Fast, full-precision options pricing
  • Profit and Loss - Price stock and multi-leg option strategies across spot, time, and volatility. Calculate exact expiration bounds, break-evens, zero-copy array('d') screener batches, and 2D scenario surfaces. Examples and strategy diagrams · API reference
  • Greeks Calculations - Delta, gamma, theta, vega, rho, charm, vanna, volga, speed, zomma, color, ultima
  • Dealer Exposure Metrics - GEX, VEX, and CEX exposures in three modes
  • Implied Volatility & Surfaces - Calculate IV from market prices and build volatility surfaces
  • Implied PDF - Risk-neutral probability density functions with exposure adjustment
  • Hedge Flow Analysis - Impulse curves, charm integrals, pressure clouds, regime classification
  • Model-Free IV - CBOE variance swap methodology
  • Realized Volatility - Quadratic variation from tick data
  • Vol Response Model - IV regression with z-score signal classification
  • Broker-Agnostic - Normalize data from any broker
  • Fully Typed - Complete type annotations with dataclasses
  • Zero Dependencies - Pure Python, no external packages required

Installation

pip install git+https://github.com/FullStackCraft/floe-py.git

The shorter pip install floe-py command will be documented after the 0.1.0 PyPI release is verified.

Quick Start

from floe import calculate_greeks, BlackScholesParams

greeks = calculate_greeks(BlackScholesParams(
    spot=100.0,
    strike=105.0,
    time_to_expiry=0.25,
    volatility=0.20,
    risk_free_rate=0.05,
    option_type="call",
))

print(f"Price: {greeks.price}")
print(f"Delta: {greeks.delta}")
print(f"Gamma: {greeks.gamma}")
print(f"Theta: {greeks.theta}")
print(f"Vega:  {greeks.vega}")

License

Free for Individuals - Use the MIT License for personal, educational, and non-commercial projects.

Commercial License Required - Businesses and commercial applications must obtain a commercial license.

See LICENSE.md for full details.

Need a Commercial License? Contact us at [email protected]

Also Available In

Contributing

Contributions are welcome! Please open an issue or PR.

By contributing, you agree that your contributions will be licensed under the same dual-license terms.

Credits

Copyright 2025 Built by Full Stack Craft LLC

About

Python implementation of floe: options pricing, full Greeks, and IV surface modeling.

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages