Equities Project

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:52 PM on 10/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

50 Terms

1
New cards
Give me a 30-second overview of your project.
An equity options dashboard: Python/FastAPI calculates volatility, Black-Scholes prices, and Greeks; Next.js displays them.
2
New cards
Walk me through the data flow.
Ticker → Next.js → FastAPI → Yahoo price history → Python calculations → JSON → dashboard.
3
New cards
Why did you choose Python and FastAPI?
Python is strong for numerical work; FastAPI makes the calculations accessible through typed API endpoints.
4
New cards
What does the frontend do versus the backend?
Frontend handles inputs and charts. Backend handles market data, validation, and calculations.
5
New cards
What are the four dashboard sections?
Overview: prices. Volatility: HV20/HV30. Pricing Lab: theoretical options and Greeks. Option Chain: planned.
6
New cards
Where does your market data come from?
Yahoo Finance historical daily data. Useful for learning, but unofficial and not live option quotes.
7
New cards
Is the spot price in your app live?
No. It uses the latest available daily close, not an intraday executable quote.
8
New cards
What does the Pricing Lab actually calculate?
European call/put price, intrinsic and time value, Delta, Gamma, Vega, Theta, and sensitivity charts.
9
New cards
What does your project NOT do yet?
No live option chain, implied volatility solver, backtesting engine, or persistent database.
10
New cards
How does your news feature work?
Shows up to four matched ticker-related Yahoo headlines with links, not AI-written summaries.
11
New cards
What is a call option?
Right to buy stock at strike K. Expiry payoff: max(S − K, 0).
12
New cards
What is a put option?
Right to sell stock at strike K. Expiry payoff: max(K − S, 0).
13
New cards
What's the difference between payoff and profit?
Payoff is expiry value. Profit = payoff − premium paid (before fees).
14
New cards
Explain ITM, ATM, and OTM.
Call ITM: S > K. Put ITM: S < K. ATM: S ≈ K. OTM: no immediate exercise value.
15
New cards
What are intrinsic value and time value?
Intrinsic = immediate exercise value. Time value = option premium − intrinsic value.
16
New cards
European versus American options?
European: exercise only at expiry. American: exercise any time before expiry.
17
New cards
What is a bid-ask spread and why does it matter?
Bid = best buy offer; ask = lowest sell offer. Their spread is a trading cost and liquidity signal.
18
New cards
Explain put-call parity.
European parity: C − P = S·e^(−qT) − K·e^(−rT). It checks call/put consistency.
19
New cards
What is Black-Scholes used for in your project?
It estimates a European option's theoretical price from spot, strike, time, volatility, rates, and dividends.
20
New cards
What inputs go into Black-Scholes?
Spot S, strike K, time T, volatility σ, interest rate r, dividend yield q, and call/put type.
21
New cards
State the dividend-adjusted Black-Scholes call formula.
Call: C = S·e^(−qT)N(d1) − K·e^(−rT)N(d2). N = normal CDF.
22
New cards
What are d1 and d2?
d1 = [ln(S/K) + (r−q+σ²/2)T]/(σ√T); d2 = d1 − σ√T.
23
New cards
What are the key Black-Scholes assumptions?
European exercise, constant volatility/rates, frictionless trading, and lognormal stock returns.
24
New cards
Why does option value generally rise with volatility?
Greater uncertainty increases upside potential while a long option's downside stays limited.
25
New cards
What happens to an option's value at expiry?
Time value goes to zero. Call payoff: max(S−K,0); put: max(K−S,0).
26
New cards
Why does the risk-free rate matter?
It discounts the strike and changes risk-neutral carry; higher rates usually help calls and hurt puts.
27
New cards
Why include dividend yield q?
Dividends reduce expected stock carry: higher q usually lowers calls and raises puts.
28
New cards
What is Delta, with an example?
Sensitivity to a $1 stock move. Delta 0.60 ≈ option gains $0.60 if stock rises $1.
29
New cards
What is Gamma, with an example?
Change in Delta per $1 stock move. Gamma 0.03 ≈ Delta rises by 0.03.
30
New cards
What is Vega, with an example?
Sensitivity to volatility. Vega 0.40 ≈ option gains $0.40 for a 1-percentage-point vol rise.
31
New cards
What is Theta, with an example?
Daily time decay. Theta −0.02/day ≈ option loses $0.02 after one day, all else equal.
32
New cards
What is Rho? Is it shown in your app?
Sensitivity to interest rates. Not displayed among the app's four Greeks.
33
New cards
Why are Delta and Gamma important to hedging?
Delta estimates hedge shares; Gamma indicates how quickly that hedge needs rebalancing.
34
New cards
Where are Gamma and Vega often largest?
Gamma tends to peak near ATM close to expiry; Vega is often highest near ATM with more time.
35
New cards
Why can Greeks be wrong for large market moves?
Greeks approximate small moves. Large moves change Greeks, so reprice the whole option.
36
New cards
Simple returns versus log returns?
Simple: Pₜ/Pₜ₋₁ − 1. Log: ln(Pₜ/Pₜ₋₁). Log returns add across periods.
37
New cards
How do you calculate HV20 or HV30?
Sample standard deviation of 20/30 daily log returns × √252. Needs 21/31 prices.
38
New cards
Why multiply daily volatility by sqrt(252)?
Assuming stable, independent daily returns, variance grows with time; standard deviation with √time.
39
New cards
Why use adjusted close for realized volatility?
Adjusted close avoids split/dividend distortions in returns; the spot proxy uses daily Close.
40
New cards
Historical volatility versus implied volatility?
Historical vol measures past moves; implied vol backs out σ from market option prices. App uses historical.
41
New cards
How does a rolling volatility window work?
Move the return window forward one day, adding the newest and dropping the oldest.
42
New cards
How did you test the Black-Scholes engine?
Put-call parity, monotonic behavior, expiry edge cases, and Greeks versus finite differences.
43
New cards
What is a finite-difference check of Delta?
Approximate Delta by [V(S+h) − V(S−h)]/(2h); compare with the analytical result.
44
New cards
Why use central rather than forward differences?
Central differences usually reduce approximation error, but h must not be too small or large.
45
New cards
What edge cases can break option calculations?
Near-zero expiry/volatility, bad prices, or extreme strikes. Validate inputs and handle limits.
46
New cards
How do you prevent bad market data from creating fake outputs?
Sort and validate dates, reject duplicates, preserve missing values, and surface provider errors.
47
New cards
Why separate pure analytics functions from data fetching?
Pure math functions are reproducible, easier to unit-test, and independent of API failures.
48
New cards
How would you productionize this for a quant team?
Add licensed point-in-time data, storage, quote validation, monitoring, and repeatable testing.
49
New cards
How would you add implied volatility?
Use a valid market option quote; numerically solve Black-Scholes(σ) = market price.
50
New cards
What is the biggest limitation, and what would you build next?
Main gap: no live quotes/IV. Next: validated option chain and IV for market comparisons.