fetch_chain
Fetches and analyzes the full options chain for a ticker via yfinance, returning max-pain, PCR, IV skew, and call/put quotes
max_pain
Calculates the max pain strike price from an options chain snapshot
put_call_ratio
Calculates the put/call ratio from an options chain snapshot
skew
Calculates the IV skew from an options chain snapshot
add_watchlist_item
Adds a ticker to the persistent watchlist with optional tags, notes, and alert price
remove_watchlist_item
Removes a ticker from the watchlist
list_watchlist
Lists all items in the watchlist
get_watchlist_item
Gets a specific watchlist item by ticker
tag_filter_watchlist
Filters watchlist items by tag
check_alerts
Checks watchlist items against current prices and returns items that trigger alerts
open_trade
Opens a simulated options trade with position tracking
close_trade
Closes an existing simulated options trade and records realized PnL
mark_to_market
Updates current values of all open positions using BSM model
get_portfolio_summary
Returns portfolio snapshot with total PnL, open positions, closed trades, win rate, max drawdown, and cash
rank_signals
Ranks tickers by composite signal strength across sentiment, IV rank, volume surge, momentum, and options flow dimensions
leaderboard
Returns top N ranked tickers with scores and tier labels as an ASCII leaderboard
run_backtest
Replays historical Reddit signals against price data and evaluates ATM options profitability