Reference
How the numbers are calculated
Where each number comes from, and the formulas ThetaWiz uses for Greeks, beta-weighting, option pricing, P/L, net liq, buying power, profit captured, max loss and DTE.
Where the data comes from
ThetaWiz reads your account from your own broker connection and does its math on your computer. Every number on screen comes from one of five places. The column tables on each screen page label each column with one of these sources.
| Source | What comes from it |
|---|---|
| Broker | Positions and quantities, cost basis (average open price), cash and balances, the broker's net liq, buying power and maintenance requirement, realized day gain, live quotes (bid, ask, mark). tastytrade also streams Greeks and implied volatility. Schwab streams quotes only; it sends Greeks in occasional snapshots, which ThetaWiz uses only when it can't work out its own. If you also connect tastytrade, it can stream Greeks for options you hold at Schwab. |
| Computed | Marks for options (from the bid/ask), Greeks and IV where no broker stream supplies them (usually Schwab), position and portfolio Greeks, βΔ$, unrealized P/L, ThetaWiz's net liq, BP usage %, profit captured, max loss, scenario P/L and margin estimates. |
| Yahoo | Five years of price history for beta, the SPY history for the benchmark on Performance, and quotes for symbols your broker has no fresh price for when you click Refresh Prices in the Status Center. Only ticker symbols are sent, never account details. |
| You | Settings you enter, such as the risk-free rate and the cash-equivalent symbol list. |
| Saved | Records synced to your ThetaWiz account: trade history and FIFO lots (realized P/L), daily account snapshots, strategies and campaigns, settings. Live quotes and Greeks are never stored. See Security for the full list. |
Two update speeds. Streamed quotes and Greeks arrive continuously. ThetaWiz merges them into the screens at most once a second (the Live refresh (ms) setting, default 1000). Positions and balances are rebuilt on a slower cycle: the Positions refresh (secs) setting, default 60, sets how often the position snapshot is rebuilt and when data counts as stale. Both are in Settings → Risk and need a restart to change.
Behind that, the app refetches positions from the broker after account events (fills, transfers), every 5 minutes while the broker's account stream is connected, and every 60 seconds when it is not. On Schwab, quotes for held symbols are also re-requested every 60 seconds. Press F5 or Ctrl+R to force a fresh fetch.
- Option marks. The mark is the bid/ask midpoint when the quote is two-sided and reasonably tight. When the spread is too wide, ThetaWiz keeps the previous mark (or the prior close) pulled inside the bid/ask. Last trade is never used for options.
- Stock, ETF and futures marks. The broker's mark, else the bid/ask midpoint, else the last trade.
- No mark at all. The leg keeps the broker's own P/L figure until a mark arrives.
Greeks
Per-share Greeks. tastytrade streams Delta, Gamma, Theta, Vega, Rho and IV for each option, and ThetaWiz uses them as sent. When no broker streams Greeks for an option (Schwab, or a tastytrade symbol without a fresh Greeks stream), ThetaWiz solves the IV from the option's bid/ask midpoint and computes the Greeks itself with Black-Scholes-Merton (see Option pricing and Implied volatility). Fresh streamed Greeks always win. Schwab's snapshot Greeks are the last resort, used only when ThetaWiz can't compute its own.
| Greek | Symbol | Unit |
|---|---|---|
| Delta | Δ | Option price change per $1 move in the underlying. Stock is 1.00 per share. |
| Gamma | Γ | Change in Δ per $1 move in the underlying. |
| Theta | Θ | Option price change per calendar day. |
| Vega | V | Option price change per 1 vol point (IV 20% → 21%). |
| Rho | ρ | Option price change per 1 percentage point move in the risk-free rate. |
Position Greeks. Each leg's per-share Greeks are scaled by its signed quantity and its contract multiplier (100 for standard equity options, 1 for stock). Short positions have negative quantity, so the sign is applied once, here. Group, account and portfolio Greeks are plain sums of the legs. A broker position that ThetaWiz splits across two strategy groups is counted once.
scale = signed quantity × multiplier Δ shares = Δ × scale Γ shares = Γ × scale Θ $/day = Θ × scale V $/vol pt = V × scale ρ $/1% rate = ρ × scale portfolio X = Σ legs X Γ $ per 1% = Γ × S² × 0.01 × scale (Risk → Exposure view)
Per share: Δ −0.2483 Γ 0.0123 Θ −0.1221 V 0.4539 ρ −0.1053 scale = −1 × 100 = −100 Δ shares = −0.2483 × −100 = +24.83 Γ shares = 0.0123 × −100 = −1.23 Θ $/day = −0.1221 × −100 = +$12.21 V $/vol pt = 0.4539 × −100 = −$45.39 ρ $/1% rate = −0.1053 × −100 = +$10.53
The title bar shows the portfolio totals as βΔ$, Γ, Θ, V and ρ. The tooltips read: Θ "$ per day", V "$ per vol point", ρ "$ per 1% rate move". Delta is shown beta-weighted; see Beta-weighting.
- An option with IV but no Greeks is modeled with BSM for exposure. Its time to expiry is floored at one day on expiration day.
- An option with neither Greeks nor IV is left out of the exposure totals, and the Risk screen counts it as excluded.
- Expired legs (negative DTE) carry no exposure.
Beta-weighting
Beta-weighting puts every position on one scale: dollars of P/L for a move in SPY. ThetaWiz estimates each underlying's beta against SPY from Yahoo price history.
- History. About 5 years of daily, dividend-adjusted closes for the symbol and for SPY.
- Returns. The last close of each calendar month gives a monthly return,
close(month) ÷ close(previous month) − 1. The current, partial month is included. - Regression. Beta is the ordinary least squares slope of the symbol's monthly returns on SPY's, matched month by month.
- Minimum history. At least 36 paired months are needed. With less, or when the Yahoo fetch fails or times out, ThetaWiz uses β = 1 and marks the beta-weighted figures built on it with
≈("Approximate — uses a fallback β for at least one position"). A position with no delta or no price is left out of βΔ$, and that also marks the total≈. Where the≈appears differs by screen: on the title bar and Today it is on βΔ$; on Positions it is on β and βΔ (SPY shares), not βΔ$; Risk's Exposure tab doesn't use it for beta. - Always 1. SPY, SPX, SPXW, VOO and IVV use β = 1 and are not flagged.
- Index futures use their ETF's beta: /ES and /MES use SPY, /NQ and /MNQ use QQQ, /RTY and /M2K use IWM, /YM and /MYM use DIA. Other futures get the flagged fallback β = 1.
- Caching. Betas are kept in memory for 24 hours and recomputed after a restart. A failed fetch is retried after 15 minutes.
r_sym(m) = close_sym(m) ÷ close_sym(m−1) − 1 r_spy(m) = close_spy(m) ÷ close_spy(m−1) − 1 β = Cov(r_sym, r_spy) ÷ Var(r_spy) βΔ$ (leg) = Δ × signed qty × multiplier × S × β βΔ$ (portfolio) = Σ legs βΔ$ βΔ$ per 1% SPY = βΔ$ ÷ 100 SPY-equiv shares = βΔ$ ÷ SPY price
S is the underlying's current mark. βΔ$ is a notional figure: the dollar exposure that moves like SPY. The title bar shows it per 1% SPY move, with SPY-equivalent shares in brackets, e.g. βΔ$ +$401 (+80 sh). Stock and ETF positions on your cash-equivalent list count as zero delta, and cash-equivalent groups such as a box spread you have marked as cash count as $0.
Short 1 SPY 485 put: Δ −0.25, β 1.00 βΔ$ = −0.25 × −1 × 100 × $500 × 1.00 = +$12,500 100 AAPL at $230, Δ 1.00, β 1.20 βΔ$ = 1.00 × 100 × 1 × $230 × 1.20 = +$27,600 Portfolio βΔ$ = $12,500 + $27,600 = +$40,100 Per 1% SPY move = $40,100 ÷ 100 = +$401 SPY-equivalent = $40,100 ÷ $500 = +80.2 shares, shown as +80 sh
Option pricing for scenarios
To show what a position is worth after a move (the Risk screen's scenario grid, payoff chart and hedge previews), ThetaWiz reprices each option leg with the Black-Scholes-Merton (BSM) model. It is the European-exercise model: early exercise of American-style equity options is not modeled. The dividend yield is set to 0. Stock legs move one-for-one with the price.
| Input | Value used |
|---|---|
| S, spot | The underlying's current mark, moved by the scenario's shock. On a SPY (mixed-underlying) axis and in Stress, the move is β × the SPY shock; when everything priced sits on one underlying, it moves by the shock itself. |
| K, strike | From the option symbol. |
| t, time | Calendar days to expiry minus the scenario horizon, ÷ 365. See DTE. |
| σ, volatility | The leg's IV plus the scenario's vol shift, floored at 1%. |
| r, rate | Set by Settings → Risk → Rate source. Treasury curve (the default) takes the rate for the option's time to expiry from the daily U.S. Treasury curve. Manual uses Risk-free rate %, default 4.0 (entered as a percent). See Settings. |
| q, dividend yield | 0. |
d1 = [ ln(S/K) + (r − q + σ²/2)·t ] ÷ (σ·√t) d2 = d1 − σ·√t Call = S·e^(−q·t)·N(d1) − K·e^(−r·t)·N(d2) Put = K·e^(−r·t)·N(−d2) − S·e^(−q·t)·N(−d1) N = standard normal CDF Scenario spot S' = S × (1 + β × shock) (SPY axis and Stress; β = 1 on a single-underlying axis) Time left t' = max(DTE − horizon days, 0) ÷ 365 If t' = 0 value = intrinsic: call max(S'−K, 0), put max(K−S', 0) Leg scenario P/L = (value(S', σ+shift, t') − value(S, σ, t)) × signed qty × multiplier
The baseline is the model value today at the current spot and full DTE, so a T+1 or T+7 cell with no price or vol change shows that horizon's time decay. The Matrix columns are −20%, −15%, −10%, −5%, −2%, 0%, +2%, +5%, +10%, +15% and +20% moves, priced at the date chosen on the Risk page's Date slider.
If a leg has Greeks but no IV, ThetaWiz estimates its scenario P/L from the Greeks instead (Δ·ΔS + ½·Γ·ΔS² + V·Δσ + Θ·Δt, Δσ in vol points, Δt in days) and marks the cell as a fallback. The estimate does not know about expiry, so on the Matrix and Stress tabs such a leg is not switched to intrinsic value when it expires before the scenario date (the Payoff chart does switch it). A leg with neither is excluded and counted.
Baseline: d1 = 0.680, d2 = 0.628 → put = $3.9154 SPY −5%, T+0, no vol change: S' = $475 → put = $14.6331 P/L = (14.6331 − 3.9154) × −1 × 100 = −$1,071.77, shown as −$1,072 SPY unchanged, T+7: t' = 23 ÷ 365 → put = $3.0171 P/L = (3.0171 − 3.9154) × −1 × 100 = +$89.83, shown as +$90
Because the model is European and ignores dividends, a deep in-the-money American put or a call ahead of an ex-dividend date can be worth more in the market than the model says. Treat scenario values as estimates.
Implied volatility
Where IV comes from. On tastytrade, IV is the volatility the broker streams with each option's Greeks. When no broker streams a fresh IV (usual on Schwab, unless a connected tastytrade account streams that option), ThetaWiz solves it from the option's quote: it finds the σ at which the BSM price equals the bid/ask midpoint, using the settings rate, a dividend yield of 0, and the exact time to the settlement moment.
- The solver searches σ from 1% to 500%. A midpoint outside that range has no IV.
- If the bid/ask is too wide to pin down IV, ThetaWiz keeps the last IV it trusted for that option for a while, as long as the underlying has not moved much. After that the option has no computed IV or Greeks until the quote tightens.
- No IV is solved at or after expiry, or when the settlement time (AM or PM) for that expiration is not known yet.
mid = (bid + ask) ÷ 2 IV = σ such that BSM(S, K, t, r, q = 0, σ) = mid Scenario σ = max(IV + shift, 1%) shift is additive: +5 vol pts on 18% IV → 23%
Vol shifts in the scenario grid are parallel and additive: every leg's IV moves by the same number of vol points (rows −5, −2, 0, +5, +10 and +20). Some views shift front-month legs (30 DTE or less today) and back-month legs separately.
IV 18% → put $3.9154 +5 vol pts → σ = 23% → put $6.2932 P/L = (6.2932 − 3.9154) × −1 × 100 = −$237.78, shown as −$238 Check with vega: −$45.39 per vol pt × 5 = −$227 (vega grows as IV rises) −50 vol pts would give −32%, so σ is floored at 1%
P/L and cost basis
Option prices are quoted per share. Every dollar figure multiplies the per-share price by the signed quantity and the contract multiplier (100 for standard equity options). Short quantities are negative, so a short position's cost basis and market value are negative (a credit).
entry price = |broker cost basis| ÷ (|qty| × multiplier) Cost Basis = entry × signed qty × multiplier MktVal = mark × signed qty × multiplier P&L (leg) = (mark − entry) × signed qty × multiplier P&L (group) = Σ legs P&L P&L% = P&L ÷ |Cost Basis| × 100
Cost Basis = 3.92 × −1 × 100 = −$392 (credit) MktVal = 2.10 × −1 × 100 = −$210 P&L = (2.10 − 3.92) × −1 × 100 = +$182 P&L% = 182 ÷ 392 = 46.4%
- Cost basis is the broker's average open price, so it matches your broker's position screen. ThetaWiz does not use its own lots for the Positions columns.
- Unrealized P/L is ThetaWiz's own figure from the live mark. Until a leg has a mark, it shows the broker's P/L for that leg.
- The P&L column covers open legs only. It excludes realized P/L from closed or rolled legs.
- Realized P/L comes from ThetaWiz's first-in, first-out (FIFO) matching of your trade history: each closing trade is matched to the oldest open lot. The strategy card shows Realized, Unrealized, Fees and Net P&L (after fees) = Realized + Unrealized − Fees. Performance shows realized P/L from the same closed lots.
- Day P/L on the Today accounts table is the broker's realized gain for today. It does not include today's mark-to-market change on open positions. Schwab does not report it, so Schwab accounts show —.
realized (per match) = (close price − open price) × qty closed × multiplier (sign flips for shorts) Realized (gross) = Σ matches Net P&L = Realized + Unrealized − Fees
Buy 100 AAPL at $150, then buy 50 at $155, then sell 120 at $160 Lot 1: (160 − 150) × 100 = $1,000 Lot 2: (160 − 155) × 20 = $100 Realized = $1,100; 30 shares remain at $155
Net liquidation value
ThetaWiz computes its own net liq from your cash and the live price of every position, so it moves with the market between broker balance updates. This is the number on the Today Net liq tile, the accounts table's Net Liq column and the Positions toolbar.
net liq = cash balance + Σ legs liquidation value stock, ETF or option leg = price × signed qty × multiplier outright future = (price − reference price) × signed qty × multiplier price = live mark, else last known price
- Cash is the broker's cash balance. Without it, net liq shows —.
- No price. A leg with neither a live mark nor a last known price counts as $0, and so does an outright future with no reference price. Net liq can then be off by that leg's value until a price arrives.
- Futures count only today's gain or loss, measured from the prior settlement (or your fill price if opened today), because futures P/L settles into cash daily.
- Cash-equivalent ETFs (default list BIL, SGOV, SHV, TBIL, USFR, TFLO; edit it in Settings → Risk → Cash-equivalent symbols) are ordinary positions at their mark. They are already in the sum, so nothing is added twice. They are also totaled under Cash Equiv.
- Box spreads are valued at the market price of their legs, not at strike width. A box you mark as a cash equivalent in your strategy definitions (European cash-settled index options such as SPX only) is shown under Cash Equiv.: positive when you are long the box, negative when short (a loan). If any leg of the box has no price, the box counts as 0 there.
Cash $40,000 300 SGOV × $100.50 $30,150 100 AAPL × $230 $23,000 Short 1 SPY 485 put × $2.10 −$210 Net liq = 40,000 + 30,150 + 23,000 − 210 = $92,940
Your broker's net liq can differ by a little. Brokers price positions their own way (for example at a different mark or close) and update their balance less often. ThetaWiz keeps the broker's figure only as a starting point before live prices arrive and does not display it.
Buying power
Buying power figures come from your broker's balance. ThetaWiz turns them into usage percentages.
BP used = broker maintenance requirement
(if not reported: broker net liq − broker buying power)
BP% = BP used ÷ broker net liq × 100 (clamped 0–100; 0 when broker net liq is 0 or missing)
BPxC% = (BP used − requirement on cash-equivalent holdings) ÷ broker net liq × 100
All accounts = Σ (BP% × net liq) ÷ Σ net liqBP% = 18,000 ÷ 93,000 = 19.4% BPxC% = (18,000 − 3,015) ÷ 93,000 = 16.1%
- The Today tile shows BP used ex-cash (BPxC%) as its headline when the broker reports a requirement per underlying, with BP used below it. Otherwise the headline is Buying power used.
- The accounts table has BP% and BPxC% columns.
- The Risk screen's assignment view shows available option buying power, summed across accounts. On tastytrade this is the broker's equity buying power.
- Box spreads are not subtracted in BPxC%; only symbols on your cash-equivalent list are.
- On a strategy card, Margin req. is the broker's requirement when it can be matched to exactly that strategy. Otherwise it is ThetaWiz's stand-alone estimate for your margin type (Reg T, portfolio margin, IRA or cash), and the card says so. Schwab reports requirements per underlying only, so Schwab cards use the estimate. Futures legs have no estimate.
Profit captured
The Capt% column measures progress toward a trade's goal. The formula depends on the strategy type. The basis is the net cost at entry, Σ entry × signed qty × multiplier: negative for a credit, positive for a debit.
Credit trades (short puts, credit spreads, iron condors, strangles…) Capt% = unrealized P&L ÷ opening credit × 100 Debit trades (long options, debit spreads, calendars, diagonals…) Capt% = unrealized P&L ÷ debit paid × 100 (return on debit) Covered calls Capt% = short call P&L ÷ short call credit × 100
Short put sold $2.00, mark $1.00: credit $200, P&L +$100 → 50% Long call bought $3.00, mark $4.50: debit $300, P&L +$150 → 50% 100 shares + short call sold $2.00, mark $0.50: credit $200, call P&L +$150 → 75%
- For a credit trade the opening credit is the maximum profit, so Capt% is the share of max profit kept. For a debit trade it is the return on the debit, which can exceed 100%; it is not measured against the spread's maximum profit.
- Values are not capped: a losing trade shows a negative percentage.
- Capt% is blank (—) for hedges and strategies without a profit target (collars, protective puts, stock, ratio spreads, custom), when no leg has an entry price, or when the trade's net credit or debit does not match its strategy type. If only some legs have an entry price, credit and debit trades are measured on those legs' basis alone.
- Profit targets are set in Settings → Risk (Profit target — credit %, — covered % and — debit %). The credit and covered-call targets default to 50%; the debit target is off by default. Reaching a target raises a Today item.
Max loss
The Max Loss column is measured from today's marks: the worst P/L the open legs can still reach if every option is held to expiry. ThetaWiz values each option at its expiry payoff (intrinsic value, no IV) at a $0 underlying and at every strike, and takes the lowest point. The result is a signed P/L, so a loss is negative.
value(S) = Σ legs units × payoff(S) units = signed qty × multiplier
payoff = stock S, call max(S−K, 0), put max(K−S, 0)
Unlimited if (stock units + call units) < 0 (net short calls or short stock)
otherwise S* = the S in {0, every strike} with the lowest value
Max Loss = value(S*) − Σ legs units × markvalue(0) = −100 × 485 + 100 × 480 = −$500 value(480) = −100 × 5 + 0 = −$500 value(485) = $0 Today's value = −100 × 2.10 + 100 × 1.40 = −$70 Max Loss = −500 − (−70) = −$430
- Defined-risk structures (verticals, iron condors, butterflies) show a finite loss: the spread width less what the position is worth today.
- Cash-secured or naked puts are finite: the loss at a $0 underlying.
- Covered calls and long stock are finite: the worst point is a $0 underlying.
- Undefined-risk structures with a net short call or short stock (naked calls, short strangles and straddles) show an Unlimited pill. TOTAL rows add the finite figures and note
+ N unlimited. - Hover a cell to see where the worst case occurs, e.g.
worst at 480 or below. - Max Loss is blank when a leg has no mark, legs span more than one underlying, or the group is cash or a cash equivalent.
- Mixed expirations (calendars, diagonals) are valued as if every leg were at its own expiry payoff, which ignores the time value left in the longer leg.
The campaign card's Max Campaign Loss is measured from entry instead: the net cash paid on every trade plus fees, minus dividends, minus what the open legs are worth at their worst point. In the example above, a spread opened for a $1.20 credit has a worst case of $500 − $120 = $380 before fees.
Days to expiration (DTE)
DTE on screen is a whole number of calendar days (weekends and holidays count) from today's date to the expiration date. Expiration day is 0 DTE. A group's DTE is that of its nearest-expiring leg.
DTE (shown) = expiration date − today's date (calendar days) t (scenarios) = max(DTE − horizon, 0) ÷ 365 t (model Greeks) = max(DTE, 1) ÷ 365 t (IV and Greeks from quotes) = time until settlement ÷ 365 days settlement = 9:30 a.m. ET (AM-settled) or 4:00 p.m. ET (PM-settled)
Today Wednesday, November 11 → DTE = 9 At 10:00 a.m. ET, time to the 4:00 p.m. ET settlement on the 20th = 9 days 6 hours = 9.25 days t = 9.25 ÷ 365 = 0.0253 years In a T+7 scenario: t = (9 − 7) ÷ 365 = 0.0055 years
- In a scenario, a leg whose DTE is at or below the horizon (including 0 DTE at T+0) is valued at intrinsic value. The exception is a leg with Greeks but no IV on the Matrix and Stress tabs, which keeps its Greeks estimate (see Option pricing).
- The DTE pill turns red at 2 days or less and amber within the Expiring-soon DTE setting (default 7).
The DTE shown on Positions rolls over at midnight UTC, which is 7 p.m. ET in winter (8 p.m. in summer). In the evening it can read one day lower than the Eastern-date count used by Today alerts.
Stale data markers
ThetaWiz never hides old data silently. When a price or snapshot is older than expected, it is greyed out or flagged, and the last good value stays on screen.
| Where | When it counts as stale | What you see |
|---|---|---|
| Positions, Flags column | The connection's newest data is older than Positions refresh (secs) (default 60 s), or its streaming connection has published nothing for 60 s, or a REST quote is older than 90 s | A ● dot. Hover it for the price source (stream, REST, computed or external) and its age, e.g. 75s, 3m. |
| Title bar βΔ$ and Greeks | The risk snapshot is older than 30 s | Values turn grey. The βΔ$ tooltip shows as of HH:MM:SS. A trailing * means some accounts show last-good data. |
| SPY and VIX header chips, watchlist | The quote is older than 30 s | Price and change turn grey, with as of HH:MM:SS in the tooltip. |
| Data warnings | Positions not refreshed for more than 10 minutes, or the fetch is failing | "Positions not refreshed in over 10 min for: …" or "Positions fetch failing; showing last good data for: …" |
| Status Center | No tick for 60 s or more | The tick age turns grey. Feed states: Live, Reconnecting, Offline, Connecting, Disconnected. |
- Before the first snapshot arrives (for example with no broker connected), the title bar shows
βΔ$ —rather than zeros. - Accounts whose data never loaded are named in an
excl. …note and left out of the totals. - When a feed drops, ThetaWiz switches to another connection's prices or to REST quotes where it can. With no broker connected, Refresh Prices in the Status Center fills prices from Yahoo.