CoolFace
Apppublic

HITHV/options

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
App README

Options Strategies

Interactive educational guide to options trading strategies. Explains Long Call, Long Put, Covered Call, Bull Call Spread, Long Straddle, Long Strangle, and Iron Condor in plain English with live stock prices and interactive payoff diagrams.

Not a trading tool — designed purely for learning.

Endpoints

GET / — main app

GET /api/price/<ticker> — live stock price via yfinance

Variables and Secrets

Set these in HF Space Settings > Variables and Secrets.

NameTypeRequiredDescription
SITE_URLVariableYesPublic URL of this space, e.g. https://options.veederville.com
GOATCOUNTER_URLVariableNoGoatCounter base URL, e.g. https://options-website.goatcounter.com
HEALTHCHECK_URLVariableNoDaily ping URL for uptime monitoring

Local Development

bash
uv venv .venv
uv pip install -r requirements.txt
source .venv/bin/activate
python app.py