>
COMMANDS Global: GP Symbol: IBM FA
↑↓ Navigate Enter Open Esc Close ` Toggle

AI + New Chat

How CLI Commands Work

KlickAnalytics CLI commands follow a simple structure:

ka [command] [flags]
  • ka = the CLI program
  • command = the action you want to perform
  • flags = optional parameters that modify the command

Flags usually start with - provide additional input like symbol, date ranges, or limits.

Example 1 — Company Profile
ka profile -s TSLA
  • profile = command to fetch company profile information
  • -s = symbol
Example 2 — Historical Prices
ka prices -s TSLA -sd 2025-01-01 -ed 2025-12-31 -limit 100
  • prices = command to fetch historical price data
  • -s = symbol
  • -sd = start date
  • -ed = end date
  • -limit = number of rows to return
Common Flags
Flag Meaning
-s Symbol
-sd Start date (YYYY-MM-DD)
-ed End date (YYYY-MM-DD)
-limit Limit number of results
-period Period length
-tf Timeframe
-datatype Output format (json or text)
Tip

You can always view command help:

ka help
ka help profile
ka help prices

This will show examples and available flags for each command.

Level All Basic Intermediate Advanced
Audience All Traders Investors Researchers Developers
Quick Start 4
help
How to use the ka commands
Company Profile
Full company profile including business description, sector, industry, CEO, employees, IPO date, exchange, country, and website. Output includes a structured summary with key company identifiers and a narrative business overview.
ka profile -s TSLA
Tesla company profile with business description and key details
ka profile -s AAPL
Apple company profile: sector, industry, employees, CEO
Latest Quote
Real-time or latest market quote for any symbol. Returns bid, ask, open, high, low, close, volume, 52-week high/low, market cap, P/E ratio, and day change percentage. Output is a formatted market snapshot.
ka quote -s TSLA
Latest quote for Tesla with price, change, volume
ka quote -s AAPL
Apple latest quote: open, high, low, close, volume
Stock Screener
Advanced multi-table stock screener filtering across price data (returns, volume, range, gap, trend), technical indicators (RSI, SMA/EMA, ADX, Bollinger Bands, CCI, signals), and company fundamentals (sector, industry, market cap, country). Filter syntax: 'field op value' with AND logic. Operators: > < >= <= = != IN NOT IN LIKE. Supports multi-value filters (sector IN Technology,Healthcare), glob patterns (sector LIKE Tech*), and custom sort/limit. Use -fields 1 to see available filter fields.
ka screener -filter "return_1m > 5 AND rsi14 < 70 AND sector = Technology"
Tech stocks up 5%+ with RSI below 70
ka screener -filter "return_1w > 3 AND volume_avg_20d > 1000000" -sort return_1w
High-volume weekly gainers
ka screener -filter "rsi14 < 30 AND sma50 > sma200" -limit 20
Oversold stocks in uptrend
ka screener -filter "sector IN Technology,Healthcare AND marketcap > 10000000000"
Large-cap tech and healthcare
ka screener -filter "adx14 > 30 AND return_1m > 0" -sort adx14 -sort_dir desc
Strongest trending stocks
ka screener -fields 1
List all available screener filter fields
ka screener -filter "return_1d > 5 AND volume_ratio > 2" -limit 10
Today's volume breakout movers
ka screener -filter "rsi14 > 70 AND return_3m > 20" -output json
Overbought momentum stocks as JSON
Price & Market Data 6
Historical Prices
Historical OHLCV (Open, High, Low, Close, Volume) price data with split and dividend adjustments. Supports custom date ranges and result limits. Output includes adjusted and unadjusted close prices for each trading day.
ka prices -s TSLA
Last 1 year of daily prices for Tesla
ka prices -s SPY -l 252
Last 252 trading days (1 year) for SPY
ka prices -s MSFT -sd 2023-01-01
Microsoft prices since January 2023
ka prices -s NVDA -l 60
Last 60 days of NVIDIA prices
ka prices -s BTCUSD -l 365
Bitcoin daily prices for last year
ka prices -s TSLA -output json
Tesla prices as JSON for charting or analysis
ka prices -s AAPL -sd 2020-01-01 -ed 2020-12-31
Apple prices during 2020
Best & Worst Days
Top N best and worst single-day return events in a symbol's history. Shows date, return percentage, and surrounding market context. Useful for understanding tail risk, volatility events, and how the stock behaves during extreme market moves.
ka bestdays -s TSLA
Tesla's top 10 best and worst single-day returns ever
ka bestdays -s AAPL
Apple's biggest up and down days in history
ka bestdays -s SPY
S&P 500 extreme daily moves: crashes and rallies
ka bestdays -s NVDA
NVIDIA best/worst days with AI-era context
ka bestdays -s BTCUSD
Bitcoin's most extreme daily price swings
ka bestdays -s AMZN -l 20
Amazon's top 20 best and worst days
ka bestdays -s TSLA -output json
Tesla extreme days data as JSON
ka bestdays -s GME
GameStop: extreme short squeeze and collapse days
Seasonal Patterns
Monthly and quarterly seasonal return patterns based on full price history. Shows average return, win rate, and best/worst months for each calendar period. Useful for timing entries and exits based on historical tendencies.
ka seasonality -s TSLA
Tesla monthly seasonality: avg return and win rate by month
ka seasonality -s AAPL
Apple seasonal patterns: best and worst months historically
ka seasonality -s SPY
S&P 500 ETF seasonality: classic sell-in-May patterns
ka seasonality -s TSLA -output json
Tesla seasonality data as JSON
Price Distribution
Statistical price distribution analysis showing where a stock has spent most of its time. Includes frequency histogram, percentile ranking of current price, mean, median, standard deviation, and skewness of the price distribution. Useful for understanding price ranges and current price context.
ka price-dist -s TSLA
Tesla price distribution: histogram, percentile of current price
ka price-dist -s AAPL
Apple price distribution over full history
ka price-dist -s SPY
S&P 500 price distribution and current percentile
Up/Down Rally Analysis
Analyzes historical rally and pullback cycles. Shows average rally duration (days), average rally magnitude (%), average pullback duration, average pullback magnitude, and current cycle status. Useful for estimating how long and how far typical moves last for a given symbol.
ka updown -s TSLA
Tesla rally/pullback cycles: duration and magnitude stats
ka updown -s AAPL
Apple up/down cycle analysis over full history
ka updown -s SPY
S&P 500 bull/bear cycle statistics
Gap Analysis
Statistical analysis of historical price gaps. Categorizes gaps by type (gap-up / gap-down), shows fill rate (how often gaps close), average gap size, median time to fill, and frequency. Useful for gap trading strategies and understanding price behavior after gaps.
ka gap-analysis -s TSLA
Tesla gap analysis: fill rate, avg size, time to fill
ka gap-analysis -s AAPL
Apple historical gap statistics and fill rates
ka gap-analysis -s NVDA
NVIDIA gap analysis: frequent earnings gaps
ka gap-analysis -s TSLA -output json
Tesla gap data as JSON
Earnings & Fundamentals 6
Earnings History
Quarterly and annual earnings data including EPS (actual vs estimate), revenue (actual vs estimate), surprise percentage, and reporting date. Useful for tracking earnings trends and beat/miss history over time.
ka earnings -s TSLA
Tesla earnings history: EPS actual vs estimate
ka earnings -s AAPL
Apple quarterly EPS and revenue with surprise %
ka earnings -s MSFT -l 12
Last 12 quarters of Microsoft earnings
ka earnings -s TSLA -output json
Tesla earnings data as JSON
Earnings Reaction Moves
Historical earnings reaction analysis: how much the stock moved in the trading session immediately after each earnings report. Shows pre-earnings implied move vs actual move, gap direction, and trend over recent quarters. Useful for options traders and earnings event strategies.
ka earnings-moves -s TSLA
Tesla earnings reaction: actual vs implied move each quarter
ka earnings-moves -s TSLA -output json
Tesla earnings moves as JSON
Stock Split History
Historical stock split data for a symbol. Shows split dates, split ratios (e.g., 4:1, 3:1, 2:1), and pre/post split prices. Important for understanding historical price context — a stock at $150 that did a 4:1 split was effectively $600. Relevant for back-adjusting prices, options analysis around split events, and historical performance review.
ka splits -s AMZN
Amazon 20:1 split and historical splits
ka splits -s MSFT
Microsoft historical stock splits
ka splits -s TSLA -output json
Tesla split data as JSON
Dividend History
Historical dividend payment data for a symbol. Shows ex-dividend dates, payment dates, dividend amounts, frequency, and yield calculation. Useful for income-focused investors analyzing dividend growth, consistency, and payout trends. Also important for options sellers managing covered call strategies around ex-dividend dates.
ka dividends -s KO
Coca-Cola dividend history: decades of growth
ka dividends T -l 20
AT&T last 20 dividend payments
ka dividends -s TSLA
Tesla dividend history (if any)
ka dividends -s AAPL -output json
Apple dividend data as JSON
Earnings Summary
Summary of recent earnings performance trends. Shows EPS and revenue trajectory over the last 8-12 quarters, growth rates, beat/miss streak, and forward estimates if available. Provides a quick fundamental health check through the earnings lens.
ka earnings-summary -s TSLA
Tesla earnings summary: EPS trend and growth trajectory
ka earnings-summary -s AAPL
Apple quarterly earnings trend with beat streak
ka earnings-summary -s NVDA
NVIDIA earnings summary: revenue growth acceleration
ka earnings-summary -s MSFT
Microsoft earnings summary with forward estimates
ka earnings-summary -s AMZN
Amazon earnings trend: AWS vs retail breakdown
ka earnings-summary -s TSLA -output json
Tesla earnings summary as JSON
ka earnings-summary -s META
Meta earnings summary: margin and revenue trend
ka earnings-summary -s GOOGL
Alphabet earnings summary: search and cloud
Post-Earnings Drift
Post-earnings price drift analysis: how the stock performs in the 1, 5, 10, 20, and 60 days after each earnings report. Shows average drift by beat/miss/in-line outcome, and cumulative drift chart. Based on the academic Post-Earnings Announcement Drift (PEAD) effect.
ka earnings-drift -s TSLA
Tesla post-earnings drift: 1/5/10/20/60 day returns after EPS
ka earnings-drift -s AAPL
Apple PEAD: drift after beats vs misses
ka earnings-drift -s NVDA
NVIDIA earnings drift: strong beat momentum
Technical Analysis 9
Chart Pattern Scanner
Comprehensive chart pattern scanner detecting 50+ patterns across 8 categories: reversal (Head & Shoulders, Double/Triple Top/Bottom, V-Top), continuation (Flag, Pennant, Wedge, Cup & Handle), bilateral (Symmetrical Triangle, Broadening), directional (Ascending/Descending Triangle, Channel), volatility (VCP, Inside Bar, NR4/NR7, Compression Breakout), harmonic (ABCD, Gartley, Bat, Butterfly, Crab), price action (BOS, CHOCH, FVG, Liquidity Sweep), and hybrid patterns. Each pattern scored 0-100 for confidence.
ka patterns -s SPY -lookback 500
S&P 500 pattern scan over 2 years
ka patterns -s TSLA -output json
Tesla chart patterns as JSON
Candlestick Patterns
Detected candlestick patterns in recent price history. Identifies reversal and continuation patterns including Doji, Hammer, Shooting Star, Engulfing, Morning/Evening Star, and Harami. Each pattern shows detection date, direction (bullish/bearish), and signal strength.
ka candle_patterns -s TSLA
Recent candlestick patterns detected for Tesla
ka candle_patterns -s AAPL
Apple candle patterns: reversals and continuations
ka candle_patterns -s SPY
S&P 500 candlestick pattern scan
ka candle_patterns -s NVDA
NVIDIA pattern detection: doji, hammer, engulfing
ka candle_patterns -s MSFT -l 60
Microsoft patterns in last 60 days
ka candle_patterns -s TSLA -output json
Tesla patterns as JSON
Fibonacci Levels
Fibonacci retracement and extension levels calculated from the most significant recent swing high and low. Shows key levels at 23.6%, 38.2%, 50%, 61.8%, 78.6%, and extension levels at 127.2% and 161.8%. Useful for identifying potential support, resistance, and price targets.
ka fib -s NVDA
NVIDIA Fibonacci levels with extension targets
ka fib -s BTCUSD
Bitcoin Fibonacci levels: major swing analysis
ka fib -s TSLA -output json
Tesla Fibonacci levels as JSON
Price Action Strategies
Price action signal analysis including breakout detection, support/resistance tests, trend line breaks, and inside/outside bar patterns. Shows recent signals with date, pattern type, direction, and historical success rate for each pattern type.
ka price-actions -s TSLA
Tesla price action signals: breakouts and S/R tests
ka price-actions -s AAPL
Apple price action analysis: recent pattern signals
ka price-actions -s TSLA -output json
Tesla price action signals as JSON
Technical Analysis Report
Full technical analysis report combining price data with key indicators. Includes RSI (9/14/20), MACD line/signal/histogram, Bollinger Bands, ATR, ADX/+DI/-DI, all moving averages (SMA/EMA 20/50/100/200), and a composite signal summary. Best for a quick complete technical picture of any symbol.
ka ta -s TSLA
Full technical analysis report for Tesla
ka ta -s AAPL
Apple TA: RSI, MACD, Bollinger Bands, MAs, ADX
Technical Analysis Signals
Comprehensive technical signal pack covering 15+ indicators. Includes MA crossover signals (SMA/EMA 20/50/200), RSI overbought/oversold, MACD crossover, Bollinger Band squeeze/breakout, Stochastic, ADX trend strength, and CCI signals. Output: signal table with direction (buy/sell/neutral) and strength.
ka ta-signals -s TSLA
Tesla full signal pack: MA, RSI, MACD, Bollinger, ADX
ka ta-signals -s AAPL
Apple technical signals across 15+ indicators
ka ta-signals -s SPY
S&P 500 signal pack for market timing
ka ta-signals -s NVDA
NVIDIA signals: trending stock indicator sweep
ka ta-signals -s MSFT
Microsoft TA signals: current buy/sell/neutral status
ka ta-signals -s TSLA -output json
Tesla signals as JSON for automation
ka ta-signals -s QQQ
NASDAQ 100 comprehensive signal scan
ka ta-signals -s BTCUSD
Bitcoin technical signal pack
Technical Rank
Multi-symbol 0-100 composite score leaderboard. Ranks symbols across 6 components: Momentum (25%), Trend Quality (20%), Relative Strength (15%), RSI Positioning (15%), Volume Confirmation (15%), and ATH Distance (10%). Outputs a ranked leaderboard for quick comparative screening.
ka technical-rank -s AAPL,MSFT,NVDA,TSLA,GOOGL,META
Tech giants ranked by composite technical score
ka technical-rank -s SPY,QQQ,IWM,DIA,GLD,TLT,SLV,USO
Major ETF technical ranking
ka technical-rank -s AAPL,MSFT,GOOGL,AMZN,META,NVDA,TSLA,AVGO,AMD,ORCL
Top 10 tech stocks ranked
ka technical-rank -s JPM,BAC,WFC,GS,MS,C
Bank sector technical ranking
ka technical-rank -s XOM,CVX,COP,SLB,EOG
Energy sector technical ranking
ka technical-rank -s TSLA,RIVN,NIO,LCID,F,GM
EV and auto sector ranking
ka technical-rank -s AAPL,MSFT,NVDA,TSLA -output json
Top tech ranking as JSON
ka technical-rank -s SPY,QQQ,IWM,EFA,EEM,GLD,TLT,BND
Global asset class ranking
Support & Resistance Levels
Identifies key support and resistance levels using three methods: volume profile (high-volume nodes), swing pivot analysis (local H/L extremes), and price clustering density (KDE-based). Levels are scored 0-100 based on volume, touches, density, recency, and method overlap. Outputs separate support and resistance lists sorted by proximity to current price.
ka levels -s TSLA
Tesla S/R levels from volume profile, swings, and clustering
ka levels -s AAPL -tf 2y
Apple support/resistance from 2 years of data
ka levels -s NVDA -n_levels 10
NVIDIA top 10 S/R levels by strength score
ka levels -s TSLA -output json
Tesla levels data as JSON
Trend Quality Score
5-component trend quality score (0-100) covering: R² of log-price regression (30%), ADX strength (25%), Higher High/Higher Low consistency (20%), volume-adjusted slope t-statistic (15%), and percentage of trending days (10%). Output includes multi-timeframe scores (20d, 63d, 126d) plus full window, with detailed component breakdown.
ka trend -s TSLA
Tesla trend quality score: 5-component analysis
ka trend -s AAPL
Apple trend score: R², ADX, HH/HL, slope, trend days
ka trend -s TSLA -tf 2y
Tesla 2-year trend quality analysis
ka trend -s SPY -adx_period 20
S&P 500 trend with 20-period ADX
ka trend -s NVDA -output json
NVIDIA trend data as JSON
Volume & Volatility 3
Historical Volatility
Historical (realized) volatility analysis across multiple rolling windows (10d, 20d, 30d, 60d, 90d, 1y). Shows annualized volatility percentages, volatility trend, and comparison to 52-week average. Useful for options pricing, risk assessment, and position sizing.
ka volatility -s TSLA
Tesla realized volatility across all windows
ka volatility -s AAPL
Apple volatility: 10d, 20d, 30d, 60d, 90d annualized
ka volatility -s VIX
VIX index volatility analysis
Volume Profile
Volume profile analysis showing price levels with the highest and lowest trading activity. Identifies the Point of Control (highest volume price), Value Area High/Low (70% of volume range), and high-volume nodes (HVN) / low-volume nodes (LVN). Key for institutional-level support/resistance analysis.
ka vol-profile -s TSLA
Tesla volume profile: POC, value area, HVN/LVN
ka vol-profile -s AAPL
Apple volume profile analysis over lookback period
ka vol-profile -s SPY
S&P 500 volume profile: key institutional levels
ka vol-profile -s NVDA
NVIDIA volume profile: high-activity price zones
Unusual Volume
Detects days with statistically unusual trading volume — both spikes and unusually low volume. Shows date, actual volume, average volume, volume ratio, and price return on that day. Useful for spotting institutional accumulation, distribution, or news-driven volume events.
ka vol-unusual -s TSLA
Tesla unusual volume days: spikes vs 20-day average
ka vol-unusual -s AAPL
Apple volume anomalies: institutional activity signals
Analytics 12
Quant Statistics
Comprehensive quantitative statistics report. Includes CAGR, Sharpe ratio, Sortino ratio, Calmar ratio, max drawdown, win rate, profit factor, average gain/loss, best/worst day, monthly returns breakdown, and risk-adjusted performance metrics.
ka quantstats -s TSLA
Full quant stats for Tesla: CAGR, Sharpe, drawdown
ka quantstats -s AAPL
Apple performance analytics: risk-adjusted returns
ka quantstats -s SPY -l 252
S&P 500 stats for last 1 year
ka quantstats -s NVDA -l 504
NVIDIA 2-year quant stats
ka quantstats -s BTCUSD
Bitcoin quantitative performance report
ka quantstats -s MSFT -output json
Microsoft quant stats as JSON
ka quantstats -s QQQ -l 756
NASDAQ 100 3-year quantitative report
ka quantstats -s GLD
Gold ETF risk-return statistics
Stretch & Reversion Analysis
How far is price from its mean, and what historically happens next? Computes z-score of close vs SMA20/SMA50/SMA200, Bollinger %B and bandwidth, RSI(14), and percent deviation from each MA. The key insight: finds every historical stretch event (crossing the z-score threshold) in the same direction as the current stretch, then measures forward returns at 5d/10d/20d/63d and reversion probability. Quantifies whether buying the dip or fading the rip has edge on this specific symbol.
ka mean-reversion -s SPY
S&P 500 reversion analysis with forward returns
ka mean-reversion -s TSLA -output json
Tesla mean reversion data as JSON
Trader Statistics
Trading-focused statistics: win rate, average gain, average loss, profit factor, expectancy, average holding period, largest win/loss, and consecutive win/loss streaks. Helps evaluate the historical tradability and edge of a symbol.
ka traderstats -s TSLA
Tesla trader stats: win rate, profit factor, expectancy
ka traderstats -s AAPL
Apple trading statistics across full history
ka traderstats -s SPY -l 252
S&P 500 trader stats for last year
ka traderstats -s TSLA -output json
Tesla trader stats as JSON
Market Regime Detection
Classifies the current market regime using five independent statistical lenses: Trend (ADX, +DI/-DI, SMA alignment), Volatility (HV short/long ratio, percentile), Memory (Hurst exponent via R/S analysis), Momentum (return autocorrelation at lag-1 and lag-5), and Structure (price vs SMA50/200, slope). Primary regimes: TRENDING-UP, TRENDING-DOWN, RANGING, BREAKOUT. Volatility regime: HIGH-VOL, NORMAL-VOL, LOW-VOL. Memory: PERSISTENT, RANDOM, MEAN-REVERTING. Suggests optimal strategy per regime.
ka regime -s AAPL -lookback 500
Apple regime over 2-year lookback
ka regime -s SPY -adx_period 20
S&P 500 regime with 20-period ADX
ka regime -s TSLA -output json
Tesla regime data as JSON
Correlation Matrix
Pearson correlation matrix for 2-10 symbols over a selected time period. Shows pairwise correlations from -1 (perfectly inverse) to +1 (perfectly correlated). Useful for portfolio diversification analysis and identifying hedging relationships. Includes a formatted heatmap-style text output.
ka corr-matrix -s TSLA,AAPL,MSFT,NVDA,GOOGL
Correlation matrix for 5 major tech stocks
ka corr-matrix -s SPY,QQQ,IWM,DIA
Major US ETF correlations: diversification check
ka corr-matrix -s TSLA,GLD,TLT,SPY
Tesla vs defensive assets correlation
ka corr-matrix -s AAPL,MSFT,GOOGL,META,AMZN -tf 2y
Big Tech 2-year correlation matrix
ka corr-matrix -s BTCUSD,ETHUSD,SPY,GLD
Crypto vs traditional assets correlation
ka corr-matrix -s XOM,CVX,COP,SLB -tf 1y
Energy sector internal correlation
ka corr-matrix -s TSLA,RIVN,NIO,LCID
EV manufacturers correlation matrix
ka corr-matrix -s AAPL,MSFT,NVDA,TSLA,GOOGL,META,AMZN -output json
Big Tech correlation as JSON
Drawdown Analysis
Comprehensive drawdown analysis showing all historical drawdown periods. Includes maximum drawdown, average drawdown, median recovery time, current drawdown from peak, longest drawdown period, and underwater equity curve. Essential for risk assessment and strategy evaluation.
ka drawdown -s TSLA
Tesla drawdown analysis: max DD, recovery, underwater periods
ka drawdown -s AAPL
Apple drawdown history with recovery times
ka drawdown -s TSLA -tf 3y
Tesla drawdown analysis for last 3 years
ka drawdown -s TSLA -output json
Tesla drawdown data as JSON
Momentum Analysis
Multi-period momentum analysis showing returns across 1-day, 1-week, 1-month, 3-month, 6-month, and 1-year timeframes. Includes momentum rank within peer group, RSI, trend direction, and 52-week high/low context. Useful for momentum screening and trend confirmation.
ka momentum -s TSLA
Tesla momentum: 1d/1w/1m/3m/6m/1y returns with RSI
ka momentum -s AAPL
Apple momentum analysis across all timeframes
ka momentum -s NVDA
NVIDIA momentum: AI-driven multi-period strength
Multi-Symbol Comparison
Side-by-side comparison of 2-10 symbols across key metrics: returns (1d/1m/3m/1y), volatility, Sharpe ratio, beta vs SPY, RSI, ADX, max drawdown, and market cap. Output is a formatted comparison table. Ideal for peer analysis, ETF comparison, and portfolio candidate screening.
ka compare -s AAPL,MSFT,GOOGL,META,AMZN
Big Tech 5-way comparison: returns, vol, Sharpe
ka compare -s TSLA,RIVN,NIO,LCID
EV manufacturers head-to-head comparison
ka compare -s SPY,QQQ,IWM,DIA,GLD,TLT
Major ETF comparison: all asset classes
ka compare -s TSLA,AAPL -tf 2y
Tesla vs Apple 2-year performance comparison
ka compare -s JPM,BAC,WFC,GS,MS
Major bank comparison
ka compare -s BTCUSD,ETHUSD,GLD,SPY
Crypto vs traditional assets
ka compare -s NVDA,AMD,INTC,TSM
Semiconductor sector comparison
ka compare -s AAPL,MSFT,GOOGL,AMZN -output json
Big 4 tech comparison as JSON
Beta Analysis
Beta analysis vs a benchmark (default: SPY). Reports beta, alpha, R-squared, correlation, and tracking error over multiple timeframes. Includes rolling beta chart to show how beta has changed over time. Useful for understanding a stock's systematic risk and market sensitivity.
ka beta -s TSLA
Tesla beta vs SPY: alpha, R², correlation, rolling beta
ka beta -s AAPL
Apple beta analysis vs S&P 500
ka beta -s TSLA -b QQQ
Tesla beta vs NASDAQ 100 (tech-adjusted beta)
ka beta -s TSLA -tf 2y
Tesla 2-year beta analysis
Relative Strength Rating
Relative strength rating (0-99) measuring price performance vs a universe of stocks and a benchmark over multiple periods. A score of 99 means the stock outperformed 99% of the universe. Includes 1-month, 3-month, 6-month, and 1-year RS components with composite score.
ka rel-strength -s TSLA
Tesla relative strength rating vs market universe
ka rel-strength -s AAPL
Apple RS rating: 1m/3m/6m/1y components
ka rel-strength -s TSLA -tf 2y
Tesla relative strength over 2-year window
ka rel-strength -s NVDA -output json
NVIDIA RS data as JSON
streaks
Multi-type streak analysis for a symbol. Tracks consecutive up/down price days, days trading above or below key moving averages (SMA20, SMA50, SMA200), consecutive high or low volume days, and RSI zone streaks (overbought, oversold, bullish, bearish). Each streak type shows the current active streak, historical stats (count, average length, max length, average return), and the top longest historical streaks. Use -type to focus on a specific streak category, -threshold to filter noise from small price moves, and -lookback to control the analysis window.
ka streaks -s AAPL
show all streak types for AAPL (price, SMA, volume, RSI)
ka streaks -s TSLA -type price
price up/down streaks only
ka streaks -s NVDA -type sma
consecutive days above/below SMA20/50/200
ka streaks -s MSFT -type volume
consecutive high/low volume day streaks
ka streaks -s AAPL -type rsi
RSI zone streaks (overbought/oversold/bullish/bearish)
ka streaks -s TSLA -lookback 504
analyse streaks over last 2 years (~504 bars)
ka streaks -s AAPL -type price -threshold 1
price streaks with moves > 1% only
ka streaks -s GOOGL -top_n 10 -output json
top 10 streaks per type as JSON
Pairs Trading Analysis
Quantitative pairs trading analysis for two symbols. Computes hedge ratio via OLS regression, spread statistics, rolling z-score (current divergence from mean), ADF cointegration test with p-value, half-life of mean reversion, correlation, historical spread extremes, and entry/exit signals at configurable z-score thresholds. Supports log-price and raw-price spread types. Essential for statistical arbitrage and market-neutral strategies.
ka pairs -s TSLA,RIVN
Tesla vs Rivian pairs analysis with cointegration test
ka pairs -s NVDA,AMD
NVIDIA vs AMD: spread z-score, hedge ratio, half-life
ka pairs -s AAPL,MSFT -lookback 500
Apple vs Microsoft 2-year pairs analysis
ka pairs -s KO,PEP
Coke vs Pepsi: classic pairs trade analysis
ka pairs -s XOM,CVX -entry_z 2.5
Exxon vs Chevron with 2.5-sigma entry
ka pairs -s GOOGL,META -spread_type price
Google vs Meta raw price spread
ka pairs -s GLD,GDX
Gold vs gold miners pairs analysis
ka pairs -s TSLA,RIVN -output json
Tesla/Rivian pairs data as JSON
Portfolio & Risk 3
Formula Scanner
Custom OHLCV formula scanner. Evaluate any mathematical expression over historical price data and see when the condition was true. Supports functions like avg(), std(), max(), min() over rolling windows. Useful for backtesting entry signals and custom indicator research.
ka formula-scan -s TSLA -expr "(C > O) and (V > avg(V,10))"
Tesla: up days with above-average volume
ka formula-scan -s SPY -output json -expr "C > avg(C,20)"
SPY above 20-day MA as JSON
Portfolio Analytics
Portfolio-level analytics for 2-20 symbols with optional position details (shares, cost basis, purchase date). Computes weighted returns, portfolio volatility, Sharpe ratio, correlation matrix, individual risk contribution, and minimum-variance optimization. Holdings format: SYMBOL:shares:avg_cost:purchase_date (all fields after symbol are optional).
ka portfolio -s AAPL,MSFT,GOOGL,TSLA
Equal-weight portfolio of 4 tech stocks
ka portfolio -s SPY,QQQ,GLD,TLT,BND
Diversified ETF portfolio analysis
ka portfolio -holdings "AAPL:100:150.50:2024-01-15,MSFT:50:280.00:2023-06-01,TSLA:20:350.00"
Portfolio with shares, cost basis and purchase dates
ka portfolio -holdings "SPY:200:420.00,QQQ:150:340.00,GLD:100:185.00,TLT:100:95.00"
ETF portfolio with position sizes
ka portfolio -s AAPL,MSFT,GOOGL,TSLA -weights 0.4,0.3,0.2,0.1
Custom weighted portfolio
ka portfolio -s AAPL,MSFT,GOOGL,TSLA -tf 2y -rf 4.5
2-year analysis with 4.5% risk-free rate
ka portfolio -s AAPL,MSFT,NVDA,TSLA,META,GOOGL,AMZN -tf 3y
7-stock tech portfolio 3-year analysis
ka portfolio -s AAPL,MSFT,GOOGL,TSLA -output json
Portfolio data as JSON for integration
Risk Dashboard
Comprehensive risk dashboard computing: VaR (95% and 99% confidence), CVaR/Expected Shortfall, Ulcer Index, Pain Ratio, Tail Ratio, Skewness, Excess Kurtosis, Downside Deviation, Sortino Ratio, and Calmar Ratio. All computed from raw price history in Python — no reliance on external risk databases.
ka risk -s TSLA
Tesla risk dashboard: VaR, CVaR, Sortino, Calmar, tail metrics
ka risk -s AAPL -tf 3y
Apple 3-year risk analysis with all metrics
ka risk -s SPY
S&P 500 risk baseline: VaR, Ulcer Index, Sharpe metrics
ka risk -s TSLA -rf 0.045
Tesla risk with 4.5% risk-free rate for Sortino/Calmar
ka risk -s NVDA -output json
NVIDIA risk metrics as JSON
Research & AI 3
Peer Comparison
Side-by-side comparison of peer companies in the same sector/industry. Shows current price, 1-month and 1-year return, market cap, P/E ratio, and RSI for each peer. Useful for sector rotation and relative value analysis.
ka peers -s TSLA
Tesla peer companies: EV and auto sector comparison
ka peers -s AAPL
Apple peers: consumer tech and hardware companies
News Summary
AI-generated summary of the latest news and sentiment for a symbol. Aggregates recent news articles, extracts key themes, and provides an overall sentiment assessment (bullish/bearish/neutral). Useful for quick fundamental event scanning.
ka news-summary -s TSLA
AI summary of latest Tesla news and sentiment
ka news-summary -s AAPL
Apple recent news: earnings, products, regulatory
ka news-summary -s NVDA
NVIDIA news: AI chip demand and competition updates
ka news-summary -s TSLA -output json
Tesla news summary as JSON
AI Chart Analysis
AI-powered technical chart pattern analysis. Identifies chart patterns (head & shoulders, cup & handle, triangles, flags, double tops/bottoms), evaluates trend structure, key support/resistance, and provides a narrative summary of the current technical setup. Powered by Claude AI.
ka analyze-chart -s TSLA
AI chart analysis: patterns, trend, and S/R for Tesla
ka analyze-chart -s AAPL
Apple chart analysis: current technical setup narrative
ka analyze-chart -s SPY
S&P 500 chart pattern analysis: market structure
ka analyze-chart -s NVDA
NVIDIA AI chart read: trend and pattern detection
ka analyze-chart -s BTCUSD
Bitcoin chart analysis: crypto technical patterns
ka analyze-chart -s TSLA -tf 6m
Tesla chart analysis for last 6 months
ka analyze-chart -s TSLA -output json
Tesla chart analysis as JSON
Other 50
List Commands
List all available KlickAnalytics CLI commands with descriptions and sample usage.
ka list-commands
Show all available commands with descriptions
Changelog
View the KlickAnalytics CLI changelog — lists all recent updates, new commands, and improvements.
ka changelog
View all recent CLI updates and new commands
AI Chat
Ask AI any market question — uses GPT to answer with context from KlickAnalytics data. Supports free-form queries about stocks, markets, earnings, and more.
ka ai-chat -q "latest information on TSLA"
Ask about Tesla news
ka ai-chat -m "summarize MSFT latest earnings"
Summarize Microsoft earnings
ka ai-chat -q "compare NVDA vs AMD revenue growth"
Compare two companies
ka ai-chat -q "what happened to AAPL stock today"
Daily recap
Financial Statements
Income statement, balance sheet, cash flow statement, and key financial metrics from quarterly and annual filings. Shows revenue, gross profit, operating income, net income, EPS, total assets, total debt, free cash flow, margins, ROE, ROIC, and more. Supports quarterly and annual periods with configurable history depth. Essential for fundamental analysis, financial modeling, and company valuation.
ka financials -s MSFT -period annual -l 5
Microsoft 5-year annual financials
ka financials -s GOOGL -period quarter
Alphabet quarterly financial data
ka financials -s TSLA -output json
Tesla financial statements as JSON
Analyst Estimates & Consensus
Forward analyst estimates for EPS and revenue, price targets, and recommendation consensus (Strong Buy/Buy/Hold/Sell/Strong Sell). Shows consensus EPS estimate, high/low range, number of analysts, and price target range for upcoming quarters. Useful for understanding market expectations and identifying potential earnings surprises when actual results deviate from consensus.
ka estimates -s MSFT
Microsoft consensus estimates and price target range
ka estimates -s GOOGL
Alphabet forward estimates and recommendation
ka estimates -s TSLA -output json
Tesla estimates as JSON
Institutional Ownership
Institutional holder analysis: top holders, percentage of shares held by institutions, and quarterly changes in position size. Shows holder name, shares held, portfolio weight, change from prior quarter, and market value. Useful for tracking smart money positioning — increasing institutional ownership can signal confidence, while decreasing may signal distribution.
ka institutional -s MSFT
Microsoft institutional ownership changes
ka institutional -s GOOGL
Alphabet institutional ownership data
ka institutional -s TSLA -output json
Tesla institutional data as JSON
Earnings Calendar
Upcoming and recent earnings announcement dates for a symbol. Shows next earnings date, days until next report, previous earnings dates, and reporting time (before market / after market). Critical for swing traders who need to avoid holding through binary earnings events, and for event traders who position around earnings catalysts.
ka earnings-calendar -s MSFT
Microsoft earnings calendar
ka earnings-calendar -s GOOGL
Alphabet next earnings date
ka earnings-calendar -s TSLA -output json
Tesla earnings calendar as JSON
Social Sentiment
Social media sentiment analysis from StockTwits and Twitter/X. Shows post counts, comments, likes, impressions, and sentiment trends over a configurable window (default 30 days). Tracks bullish vs bearish sentiment shifts and volume of social discussion. Useful for gauging retail crowd positioning and identifying sentiment extremes that may signal contrarian opportunities.
ka sentiment -s GME
GameStop sentiment: meme stock crowd positioning
ka sentiment -s TSLA -output json
Tesla sentiment data as JSON
Analyst Estimate Revisions
Tracks how analyst EPS and revenue estimates have changed over time for upcoming quarters. Rising estimates signal positive earnings momentum, falling estimates signal deterioration. Shows current consensus estimate, estimate 30/60/90 days ago, revision direction and magnitude, number of analysts, and consensus recommendation (strong buy / buy / hold / sell / strong sell). A leading indicator of earnings surprise direction.
ka estimate-revisions -s MSFT
Microsoft consensus estimates and revisions
ka estimate-revisions -s GOOGL
Alphabet analyst estimate changes
ka estimate-revisions -s TSLA -output json
Tesla estimate revisions as JSON
Insider Trading Activity
Recent insider trading activity from SEC Form 4 filings. Shows insider name, title (CEO, CFO, Director, etc.), transaction type (buy/sell/exercise), shares traded, price, total value, and filing date. Insider buying is a strong bullish signal — executives putting their own money into the stock. Cluster buying (multiple insiders buying) is especially significant.
ka insiders -s MSFT
Microsoft insider transactions
ka insiders -s JPM
JPMorgan insider buying: bank CEO confidence
ka insiders -s TSLA -output json
Tesla insider trades as JSON
HMM Regime Detection
Hidden Markov Model regime detection fitting a 2-3 state Gaussian HMM to daily returns via the Baum-Welch (EM) algorithm. Probabilistically identifies bull, bear, and sideways regimes. Returns current regime probabilities, state transition matrix, expected duration per regime, full regime history timeline, and per-regime statistics (mean return, volatility, Sharpe). Pure Python implementation — no external ML dependencies.
ka regime-hmm -s AAPL -tf 10y
Apple HMM regime over 10-year history
ka regime-hmm -s SPY -max_iter 200
S&P 500 HMM with more EM iterations
ka regime-hmm -s TSLA -output json
Tesla HMM regime data as JSON
Chart Image Generator
Composable chart image generator — build any technical chart by stacking overlays on the price axis and indicator panels below. Overlays: sma(), ema(), bb(), kc(), vwap, env(). Panels: vol, rsi(), macd(), stoch(), adx(), obv, atr(), cci(), willr(), mfi(). Each indicator takes inline params like bb(20,2.5) or macd(12,26,9). Special types: compare (multi-symbol), drawdown, histogram. Custom title via -title. Dark and light themes. Returns image/png or base64 JSON.
ka chart -s TSLA
Default candlestick + volume chart
ka chart -s AAPL -type line -tf 1y
Clean line chart with 1-year lookback
ka chart -s SPY -type ohlc -tf 3m -size sm
OHLC bar chart, small size
ka chart -s TSLA -overlay sma(20),sma(50),sma(200) -panel vol -tf 1y
Triple SMA overlay with volume
ka chart -s NVDA -overlay bb(20,2) -panel rsi(14),vol -tf 6m -size lg
BB + RSI + Volume, large
ka chart -s AAPL -overlay ema(12),ema(26) -panel macd(12,26,9) -tf 1y
EMA crossover with MACD
ka chart -s SPY -overlay bb(20,2),sma(200) -panel rsi(14),macd(12,26,9) -tf 1y -title "SPY Full Setup" -size lg
Full technical setup, large
ka chart -s TSLA -overlay kc(20,1.5),bb(20,2) -panel vol -tf 6m -title "TSLA Squeeze"
BB inside KC = squeeze visual
ka chart -s MSFT -panel rsi(9),rsi(14),rsi(21) -tf 1y
Triple RSI comparison
ka chart -s NVDA -overlay sma(50) -panel adx(14),vol -tf 2y -title "NVDA Trend" -size xl
Trend strength, extra large
ka chart -s TSLA -overlay bb(20,3) -panel stoch(14,3),vol -tf 3m -size sm
Wide BB + Stochastic, thumbnail
ka chart -s AAPL -panel rsi(14),macd(12,26,9),adx(14),vol -tf 1y -title "AAPL Indicator Stack"
4-panel stack
ka chart -s NVDA,AMD,TSLA,AAPL -type compare -tf 1y -title "AI vs Tech 2025"
Multi-symbol comparison
ka chart -s SPY -type drawdown -tf 5y -title "SPY Drawdown" -size lg
5-year drawdown chart, large
ka chart -s TSLA -type histogram -tf 3y -title "TSLA Return Dist"
Return distribution histogram
ka chart -s BTCUSD -overlay bb(20,2.5) -panel rsi(14),vol -tf 2y -title "BTC Technical"
Bitcoin with wider BB
ka chart -s META -overlay sma(20),sma(50),sma(200) -panel macd(12,26,9),vol -theme light
Full MA stack, light theme
ka chart -s TSLA -overlay bb(10,1.5),bb(20,2),bb(20,3) -tf 3m -title "TSLA Multi-BB"
Three BB bands
ka chart -s JPM -overlay vwap,sma(20) -panel obv,mfi(14) -tf 6m -title "JPM Flow" -size xl
Flow analysis, extra large
ka chart -s GOOGL -panel stoch(14,3),cci(20) -sd 2024-06-01 -title "GOOGL Momentum" -size md
Momentum panels, medium
BB Squeeze Detector
Bollinger Band squeeze detector (TTM Squeeze inspired). When Bollinger Bands contract inside Keltner Channels, volatility is compressed and a directional explosion is imminent. Shows current squeeze status (on/off/fired), squeeze duration, momentum direction bias, BB width percentile, historical squeeze events with 5d/10d/20d post-squeeze returns, win rates, and bullish/bearish outcome ratios. Includes recent bar-by-bar squeeze + momentum table.
ka squeeze -s TSLA
Tesla squeeze: current status, momentum bias, historical outcomes
ka squeeze -s NVDA
NVIDIA squeeze detection with post-squeeze return stats
ka squeeze -s AAPL -tf 2y
Apple squeeze analysis over last 2 years
ka squeeze -s SPY -tf 3y
S&P 500 squeeze history: 3-year lookback
ka squeeze -s TSLA -bb_len 20 -kc_mult 1.5
Tesla with default TTM squeeze params
ka squeeze -s MSFT -sd 2023-01-01
Microsoft squeezes since Jan 2023
ka squeeze -s QQQ -tf 1y
NASDAQ 100 ETF: current squeeze state
ka squeeze -s BTCUSD -tf 2y
Bitcoin squeeze: crypto volatility compression
ka squeeze -s AMD -tf 5y
AMD 5-year squeeze history with outcome stats
ka squeeze -s TSLA -bb_mult 2.0 -kc_mult 1.0
Tighter Keltner for more frequent signals
Multi-TF Trend Sweep
Multi-timeframe trend sweep for 1-20 symbols. For each symbol, analyzes trend direction on daily, weekly, and monthly timeframes using SMA alignment (10/20/50/200), ADX trend strength, DI+/DI- directional indicators, and 10-bar rate of change. Master alignment table shows which symbols are aligned across all timeframes (ALIGNED UP/DOWN) vs conflicted. Includes per-symbol detail with price-vs-MA checks, SMA stack order, and ADX strength labels.
ka sweep -s NVDA,AMD,TSLA,AAPL,META
Sweep 5 tech stocks: who is aligned across all timeframes?
ka sweep -s SPY,QQQ,IWM,DIA
Major index ETFs: daily/weekly/monthly trend alignment
ka sweep -s TSLA
Tesla single-symbol deep multi-timeframe analysis
ka sweep -s AAPL,MSFT,GOOGL,AMZN,META,NVDA,TSLA -tf 3y
Mag 7 sweep with 3-year lookback
ka sweep -s XOM,CVX,COP,SLB,EOG -sd 2023-01-01
Energy sector sweep since Jan 2023
ka sweep -s JPM,BAC,WFC,GS,MS,C -sd 2022-01-01 -ed 2024-12-31
Bank sector sweep 2022-2024
ka sweep -s GLD,SLV,TLT,BND -tf 2y
Safe havens: are gold and bonds aligned?
ka sweep -s BTCUSD,ETHUSD,SPY
Crypto vs equity multi-TF trend comparison
ka sweep -s TSLA,RIVN,NIO,LCID -tf 1y
EV sector sweep: last 1 year alignment
ka sweep -s NVDA,AMD,TSM,AVGO,INTC -sd 2020-01-01 -ed 2025-03-28
Semiconductor sweep 2020-2025
Entry/Exit Zones
Entry/exit zone calculator combining Fibonacci retracements, pivot points (daily/weekly/monthly), VWAP anchored levels (YTD/QTD/MTD with sigma bands), and ATR-based stop/target zones into one actionable table. Shows ATR stops (tight/normal/wide), targets at 1R/2R/3R reward, all pivot levels, Fibonacci retracement and extension levels, nearest support/resistance with distance, and a unified sorted level map with current price marker.
ka entry-exit -s TSLA
Tesla entry/exit zones: stops, targets, Fib, pivots, VWAP
ka entry-exit -s NVDA
NVIDIA actionable levels for trade planning
ka entry-exit -s AAPL -tf 1y
Apple zones with 1-year Fibonacci swing
ka entry-exit -s SPY
S&P 500 key levels: pivots, VWAP, ATR stops
ka entry-exit -s TSLA -atr_mult 2.0
Tesla with wider 2x ATR stops
ka entry-exit -s MSFT -tf 3m
Microsoft zones from 3-month swings
ka entry-exit -s BTCUSD
Bitcoin entry/exit zones with all level types
ka entry-exit -s AMD -sd 2024-01-01
AMD zones using 2024+ price action
ka entry-exit -s QQQ -tf 6m
NASDAQ 100 ETF 6-month entry/exit map
ka entry-exit -s GOOGL -atr_mult 1.0
Google with tight 1x ATR stops
Trend Exhaustion Scanner
Trend exhaustion scanner — detects when a trend is running on fumes before reversal. Combines 5 signals: RSI divergence (price new high, RSI lower high), volume divergence (price extends on fading volume), DeMark TD Sequential countdown (9/13 setups), MA extension z-score (distance from 20/50/200 SMA), and RSI overbought/oversold extremes. Outputs a 0-100 composite exhaustion score with active signal list and per-component detail.
ka exhaustion -s NVDA
NVIDIA exhaustion scan: is the AI rally running out of steam?
ka exhaustion -s TSLA
Tesla trend exhaustion: divergences, TD Sequential, MA extension
ka exhaustion -s SPY -tf 2y
S&P 500 exhaustion analysis over 2 years
ka exhaustion -s AAPL
Apple exhaustion: RSI div, volume div, DeMark countdown
ka exhaustion -s QQQ -tf 6m
NASDAQ 100 short-term exhaustion check
ka exhaustion -s AMD -tf 1y
AMD 1-year exhaustion scan
ka exhaustion -s MSFT -sd 2024-01-01
Microsoft exhaustion since Jan 2024
ka exhaustion -s BTCUSD -tf 2y
Bitcoin trend exhaustion analysis
ka exhaustion -s META
Meta exhaustion: is momentum fading?
ka exhaustion -s IWM -tf 3y
Russell 2000 exhaustion: small-cap cycle top/bottom
Relative Rotation Graph
Relative Rotation Graph (RRG) analysis placing each symbol in one of 4 quadrants based on JdK RS-Ratio (relative strength vs benchmark, normalized to 100) and JdK RS-Momentum (rate of change of RS-Ratio). Quadrants: LEADING (outperforming & accelerating), WEAKENING (outperforming but decelerating), LAGGING (underperforming & decelerating), IMPROVING (underperforming but accelerating). Shows the clockwise rotation path and identifies which symbols are entering leadership.
ka relative-rotation -s NVDA,AMD,AVGO,QCOM,INTC
Semiconductor RRG vs SPY
ka relative-rotation -s XLK,XLF,XLE,XLV,XLI,XLP -benchmark SPY
Sector ETF rotation
ka relative-rotation -s AAPL,MSFT,GOOGL,META,AMZN
Big Tech RRG: who's leading?
ka relative-rotation -s TSLA,RIVN,NIO,LCID -benchmark QQQ
EV stocks rotation vs NASDAQ
ka relative-rotation -s SPY,QQQ,IWM,DIA -benchmark SPY
Major index ETF rotation
ka relative-rotation -s JPM,BAC,WFC,GS,MS
Bank sector relative rotation
ka relative-rotation -s XOM,CVX,COP,SLB -lookback 500
Energy sector 2-year RRG
ka relative-rotation -s NVDA,AMD,AVGO,TSM -output json
Semis RRG as JSON
Performance Heatmap
Multi-symbol performance heatmap across timeframes. Shows returns for each symbol across 1-day, 1-week, 1-month, 3-month, 6-month, YTD, and 1-year periods in an ASCII color-coded table. Provides at-a-glance comparison of which symbols are leading or lagging across all timeframes. Ideal for sector comparison, portfolio review, and identifying momentum leaders and laggards in a basket.
ka heatmap -s AAPL,MSFT,NVDA,TSLA,GOOGL,META,AMZN
Big Tech performance heatmap
ka heatmap -s XLK,XLF,XLE,XLV,XLI,XLP,XLU
Sector ETF heatmap: who's hot?
ka heatmap -s SPY,QQQ,IWM,DIA,GLD,TLT
Multi-asset class heatmap
ka heatmap -s TSLA,RIVN,NIO,LCID
EV manufacturer performance comparison
ka heatmap -s JPM,BAC,WFC,GS,MS,C
Bank sector heatmap
ka heatmap -s NVDA,AMD,TSM,AVGO,QCOM
Semiconductor heatmap
ka heatmap -s BTC-USD,ETH-USD,SOL-USD,ADA-USD
Crypto heatmap across timeframes
ka heatmap -s AAPL,MSFT,NVDA,TSLA -output json
Tech leaders heatmap as JSON
Cross-Sectional Dispersion
Cross-sectional dispersion measuring how spread out returns are within a basket. High dispersion = stock-picking market (alpha opportunity), low dispersion = macro-driven / correlated (trade the index instead). Computes daily cross-sectional standard deviation, rolling dispersion (20d default), current percentile vs historical range, per-symbol deviation from basket mean (outlier detection), dispersion regime (HIGH/NORMAL/LOW/VERY_LOW), and average pairwise correlation.
ka dispersion -s TSLA,NVDA,AAPL,MSFT,META,AMZN,GOOGL
Big Tech dispersion analysis
ka dispersion -s XLK,XLF,XLE,XLV,XLI,XLP -period 1y
Sector dispersion over 1 year
ka dispersion -s NVDA,AMD,AVGO,TSM,QCOM -window 30
Semiconductor 30-day rolling dispersion
ka dispersion -s SPY,QQQ,IWM,DIA -period 2y
Index ETF dispersion over 2 years
ka dispersion -s JPM,BAC,WFC,GS,MS -period 6m
Bank sector 6-month dispersion
ka dispersion -s TSLA,RIVN,NIO,LCID
EV stock dispersion: idiosyncratic vs correlated
ka dispersion -s AAPL,MSFT,GOOGL,META,AMZN -output json
Big Tech dispersion as JSON
ka dispersion -s BTC-USD,ETH-USD,SOL-USD -period 6m
Crypto dispersion analysis
Event Study
Multi-symbol event study inspired by Kensho-style analytics. Define conditions on one or more trigger symbols (e.g. TSLA|C>avg(C,50)) and the engine finds every date where ALL conditions fire simultaneously. Then it measures how a basket of target symbols performs around those events: buy N days before, sell M days after. Returns event count, year/month occurrence matrix, average returns, win rate, profit factor, median return, and best/worst trades per symbol. Historical trades table is available on request with -trades flag.
ka event-study -cond "TSLA
C>avg(C,50)" -trade "-2,2" -s TSLA|TSLA above 50-day MA: buy 2d before, sell 2d after
ka event-study -cond "AAPL
C>avg(C,20),AAPL|V>2*avg(V,20)" -trade "-1,3" -tf 5y -s AAPL,MSFT,GOOGL|AAPL breakout with volume over last 5 years: test across big tech
ka event-study -cond "SPY
(C-O)/O*100>2" -trade "0,5" -tf 10y -s TSLA,AAPL,NVDA|SPY gaps up 2%+ over last 10 years: how do tech stocks react
ka event-study -cond "TSLA
C<avg(C,200)" -trade "-2,10" -tf 3y -s TSLA|TSLA below 200-day MA last 3 years: mean reversion test
ka event-study -cond "SPY
C<avg(C,50),VIX|C>30" -trade "0,5" -sd 2015-01-01 -ed 2025-12-31 -s SPY,QQQ,IWM|SPY below 50-day MA + VIX>30 from 2015 to 2025
ka event-study -cond "AAPL
(H-L)/C*100>3" -trade "-1,1" -trades -tf 2y -s AAPL|AAPL wide-range days last 2 years: show all historical trades
ka event-study -cond "IBM
avg(C,20)>avg(C,50),MSFT|avg(C,20)>avg(C,50)" -trade "-3,5" -s IBM,MSFT,AAPL|IBM+MSFT golden cross together: basket response
ka event-study -cond "TSLA
V>3*avg(V,20)" -trade "0,3" -sd 2022-01-01 -s TSLA,RIVN,NIO|TSLA volume spike since 2022: does it pull EV peers
ka event-study -cond "GLD
C>avg(C,50),TLT|C>avg(C,50)" -trade "-1,5" -tf 5y -s GLD,TLT,SPY|Gold+Bonds both strong last 5y: flight to safety study
ka event-study -cond "NVDA
C>avg(C,20)" -trade "-2,5" -sd 2020-01-01 -ed 2025-03-26 -s NVDA,AMD,TSM,AVGO|NVDA above 20-day MA: semiconductor basket 2020-2025
Tail Risk Analysis
Deep tail risk analytics for 1-10 symbols. Computes Value-at-Risk (95/99) using historical, normal, and Cornish-Fisher methods. Includes CVaR/Expected Shortfall, skewness, excess kurtosis, tail ratio, multi-horizon risk (1d/5d/20d), drawdown-at-risk, loss frequency distribution, and the 5 worst historical days, weeks, and months. Shows dollar VaR on a $10k position. Multi-symbol mode adds a comparison table. What's the real downside beyond standard deviation?
ka tail-risk -s TSLA
Tesla tail risk: VaR, CVaR, skewness, kurtosis, worst days
ka tail-risk -s TSLA,NVDA,SPY
Compare tail risk across Tesla, NVIDIA, and S&P 500
ka tail-risk -s AAPL,MSFT,GOOGL,META,AMZN -tf 3y
Big Tech tail risk over last 3 years
ka tail-risk -s SPY -tf 5y
S&P 500 5-year tail risk: crash history and VaR
ka tail-risk -s BTCUSD -tf 2y
Bitcoin tail risk: extreme crypto downside
ka tail-risk -s TSLA -sd 2022-01-01 -ed 2023-12-31
Tesla tail risk during 2022-2023 bear market
ka tail-risk -s QQQ,IWM,DIA -tf 1y
Major index ETFs: which has the fattest tails?
ka tail-risk -s NVDA,AMD,TSM,AVGO -tf 3y
Semiconductor tail risk comparison
ka tail-risk -s GLD,TLT,SPY -tf 5y
Safe havens vs equity: tail risk comparison
ka tail-risk -s TSLA,NVDA,SPY -tf 10y
10-year deep history tail risk analysis
Signal Decay Analysis
Signal decay analysis — after RSI, MACD, MA-cross, Bollinger Band, volume spike, or gap signals fire, what are the forward returns at 1d/3d/5d/10d/20d horizons? Shows hit count, average return, median, win rate, profit factor, t-statistic, and a verdict on whether the signal has statistically significant alpha or is noise. Supports individual signals (rsi, macd, bb, ma, vol, gap) or all at once for comparison. 11 built-in signal types with automatic detection.
ka decay -s TSLA -signal rsi
Tesla RSI oversold/overbought signal decay
ka decay -s TSLA -signal all
Tesla: test ALL 11 signals and compare alpha
ka decay -s NVDA -signal macd -tf 3y
NVIDIA MACD cross decay over 3 years
ka decay -s AAPL -signal bb
Apple Bollinger Band touch signal decay
ka decay -s SPY -signal ma -tf 10y
S&P 500 golden/death cross over 10 years
ka decay -s TSLA -signal vol -tf 5y
Tesla volume spike signal: does it predict moves?
ka decay -s MSFT -signal gap
Microsoft gap up/down forward return analysis
ka decay -s QQQ -signal rsi_oversold -tf 5y
QQQ RSI oversold only: mean reversion alpha?
ka decay -s TSLA -signal all -sd 2022-01-01 -ed 2024-12-31
Tesla all signals 2022-2024
ka decay -s AMD -signal macd_bull -tf 3y
AMD MACD bullish cross only: is there edge?
Gap Fade Probability
Gap fade probability engine — analyzes every historical gap (up/down) by size category (tiny/small/medium/large/huge) and calculates same-day fill rate, multi-day fill rate, average fill time, continuation %, and average close return. Shows today's gap with a fade/no-fade verdict based on historical fill rate for that gap type. Includes day-of-week fill rates, recent gap history, and a fade strategy guide.
ka gap-fade -s TSLA
Tesla gap fade analysis: fill rates by gap type
ka gap-fade -s NVDA -tf 3y
NVIDIA gap fade over last 3 years
ka gap-fade -s AAPL -tf 5y
Apple 5-year gap history: which gaps fill?
ka gap-fade -s SPY
S&P 500 gap fade: index gap behavior
ka gap-fade -s TSLA -min_gap 1.0
Tesla gaps 1%+ only: large gap analysis
ka gap-fade -s AMD -tf 2y
AMD gap fade: semiconductor gap patterns
ka gap-fade -s QQQ -sd 2022-01-01
QQQ gaps since 2022: bear market gap behavior
ka gap-fade -s MSFT -tf 10y
Microsoft 10-year gap fade history
ka gap-fade -s BTCUSD -tf 3y
Bitcoin gap fade analysis
ka gap-fade -s META -sd 2023-01-01 -ed 2025-03-28
Meta gaps 2023-2025
Covariance Matrix
Variance-covariance matrix with eigenvalue decomposition for 2-10 symbols. Returns the full covariance matrix, correlation matrix, explained variance by principal components (PCA), diversification ratio, and flags indicating diversification quality. Shows how much of the basket's risk is driven by the first few factors. Essential for portfolio construction, risk budgeting, and understanding concentration risk.
ka covariance -s NVDA,AMD,TSLA,AAPL,MSFT
5-stock covariance matrix with PCA
ka covariance -s SPY,QQQ,GLD,TLT -period 2y
Multi-asset covariance over 2 years
ka covariance -s AAPL,MSFT,GOOGL,META,AMZN -period 1y
Big Tech 1-year covariance
ka covariance -s JPM,BAC,WFC,GS -period 1y
Bank sector covariance structure
ka covariance -s XOM,CVX,COP -period 6m
Energy sector 6-month covariance
ka covariance -s TSLA,RIVN,NIO -period 1y
EV manufacturer covariance
ka covariance -s BTC-USD,ETH-USD,SPY,GLD
Crypto vs traditional asset covariance
ka covariance -s NVDA,AMD,TSLA,AAPL -output json
Tech covariance matrix as JSON
Copula Tail Dependence
Tail dependence analysis via Student-t copula fitting. Pearson correlation misses tail co-movement — this quantifies whether assets crash (or rally) together more than linear correlation implies. Fits t-copula parameters (correlation rho, degrees of freedom nu) via maximum pseudo-likelihood, then computes upper and lower tail dependence coefficients. Compares with Gaussian copula baseline (zero tail dependence). Critical for understanding portfolio risk during market stress.
ka copula -s TSLA,NVDA
Tesla/NVIDIA tail dependence: do they crash together?
ka copula -s AAPL,MSFT,GOOGL,META,AMZN
Big Tech tail dependence matrix
ka copula -s SPY,GLD,TLT -tf 5y
Equity/Gold/Bond tail dependence over 5 years
ka copula -s NVDA,AMD,TSM,AVGO
Semiconductor tail co-movement
ka copula -s BTC-USD,ETH-USD,SPY
Crypto vs equity tail dependence
ka copula -s JPM,BAC,WFC,GS -tf 3y
Bank sector tail risk concentration
ka copula -s TSLA,RIVN,NIO -tf 2y
EV sector tail dependence
ka copula -s AAPL,MSFT,NVDA,TSLA -output json
Tech tail dependence as JSON
Spread Trading Analysis
Price ratio tracking between 2-3 symbols for relative value monitoring. Shows ratio mean, current z-score, Bollinger Bands on the ratio, and reversion signals. Simpler than the full pairs command (no cointegration or hedge ratios) — focuses on the raw price ratio with band analysis for quick relative value assessment and spread reversion signals.
ka spread -s TSLA,NVDA
Tesla/NVIDIA price ratio with z-score and bands
ka spread -s AAPL,MSFT -period 2y
Apple/Microsoft spread over 2 years
ka spread -s KO,PEP -period 1y
Coke/Pepsi 1-year relative value spread
ka spread -s XOM,CVX
Exxon/Chevron price ratio and reversion signals
ka spread -s GLD,SLV -bb_window 30
Gold/Silver spread with 30-day BB
ka spread -s NVDA,AMD -bb_mult 2.5
NVIDIA/AMD spread with wider bands
ka spread -s SPY,QQQ -period 1y
S&P vs NASDAQ relative value tracking
ka spread -s TSLA,NVDA -output json
Tesla/NVIDIA spread data as JSON
Lead-Lag Analysis
Cross-correlation at various lags (1-5 days) between all pairs in a basket. Finds predictive relationships: does AMD move before NVDA? Does SPY lead the group or follow? Returns a lead-lag matrix with strongest predictive pairs highlighted, per-pair optimal lag and correlation at that lag, leader/follower ranking (who leads the most pairs), and Granger-style directional score per symbol.
ka lead-lag -s NVDA,AMD,TSLA,AAPL,SPY
Tech stocks lead-lag: who moves first?
ka lead-lag -s SPY,QQQ,IWM,DIA -period 1y
Index ETF lead-lag over 1 year
ka lead-lag -s NVDA,AMD,TSM,AVGO -max_lag 3
Semiconductor 3-day lead-lag
ka lead-lag -s TSLA,RIVN,NIO -period 6m
EV stocks lead-lag over 6 months
ka lead-lag -s JPM,BAC,WFC,GS -period 1y
Bank sector lead-lag analysis
ka lead-lag -s BTC-USD,ETH-USD,SPY -period 1y
Crypto vs equity lead-lag
ka lead-lag -s XOM,CVX,COP,SLB
Energy sector predictive relationships
ka lead-lag -s NVDA,AMD,TSLA,AAPL -output json
Tech lead-lag as JSON
Basket Performance Tracker
Basket performance tracker computing cumulative equal-weight or custom-weighted basket return over time. Like a mini-fund NAV with daily P&L attribution showing which symbols contributed most and least. Includes rolling Sharpe ratio, max drawdown, best/worst contributor per period, and correlation between basket members. Ideal for tracking thematic baskets, sector groups, or custom portfolios.
ka basket -s AAPL,MSFT,GOOGL,TSLA,NVDA
Equal-weight Big Tech basket performance
ka basket -s AAPL,MSFT,GOOGL,TSLA,NVDA -weights 0.3,0.2,0.2,0.15,0.15
Custom-weighted tech basket
ka basket -s NVDA,AMD,TSM,AVGO,QCOM -period 1y
Semiconductor basket 1-year performance
ka basket -s SPY,QQQ,GLD,TLT -period 2y
Multi-asset basket over 2 years
ka basket -s TSLA,RIVN,NIO,LCID -period 6m
EV basket 6-month tracking
ka basket -s JPM,BAC,WFC,GS,MS -period 1y
Bank sector basket performance
ka basket -s BTC-USD,ETH-USD,SOL-USD -period 6m
Crypto basket 6-month NAV
ka basket -s AAPL,MSFT,NVDA,TSLA -output json
Tech basket data as JSON
Signal Dashboard
Aggregate technical signal scan across a watchlist. For each symbol: RSI zone (overbought/neutral/oversold), MACD signal (bullish/bearish crossover), MA alignment (bullish/bearish stack), ADX trend strength, and a net signal score. One table showing which names have the most bullish or bearish signal confluence. Ideal for quickly scanning a watchlist to find the strongest and weakest names.
ka signal-dashboard -s TSLA,NVDA,AAPL,MSFT,META
Big Tech signal dashboard
ka signal-dashboard -s NVDA,AMD,TSM,AVGO,QCOM,INTC
Semiconductor signal scan
ka signal-dashboard -s SPY,QQQ,IWM,DIA,GLD,TLT
Multi-asset signal dashboard
ka signal-dashboard -s TSLA,RIVN,NIO,LCID
EV sector signal comparison
ka signal-dashboard -s JPM,BAC,WFC,GS,MS,C
Bank sector signal scan
ka signal-dashboard -s XOM,CVX,COP,SLB,EOG
Energy sector signals
ka signal-dashboard -s AAPL,MSFT,GOOGL,META,AMZN,NVDA,TSLA
Magnificent 7 signals
ka signal-dashboard -s TSLA,NVDA,AAPL,MSFT -output json
Tech signals as JSON
Strategy Backtester
Expression-based strategy backtester. Define entry and exit conditions using a custom expression language with OHLCV variables (O, H, L, C, V with bar offsets like C[-1]), operators (+, -, *, /, >, <, and, or), and 50+ functions including SMA, EMA, RSI, ATR, MACD, Bollinger Bands, ADX, Stochastic, CCI, crossup/crossdown, and more. Reports total return, win rate, profit factor, max drawdown, Sharpe, and optional trade-by-trade history table.
ka backtest -s SPY -entry "crossup(sma(C,20),sma(C,50))" -exit "crossdown(sma(C,20),sma(C,50))" -tf 10y
SPY golden/death cross 10yr
ka backtest -s TSLA -entry "stochk(14,3)<20" -exit "stochk(14,3)>80" -output json
Tesla stochastic strategy as JSON
Factor Exposure Analysis
Multi-factor exposure analysis for 1-10 symbols across five dimensions: Momentum (3m/6m/12m returns, RSI, relative strength), Value (P/E, P/B, EV/EBITDA, dividend yield), Quality (ROE, net margin, operating margin, debt/equity), Size (market cap, rank within group), and Volatility (annualized vol, beta proxy, max drawdown). Scores each factor 1-5 within the group (quintile rank), computes a composite score, and shows a factor radar profile.
ka factor -s TSLA,NVDA,AAPL,MSFT,META
Big Tech 5-factor exposure comparison
ka factor -s SPY,QQQ,IWM,DIA
Major ETF factor profiles
ka factor -s JPM,BAC,WFC,GS,MS
Bank sector factor analysis
ka factor -s NVDA,AMD,TSM,AVGO,QCOM
Semiconductor factor comparison
ka factor -s AAPL,MSFT,GOOGL,AMZN
Big 4 tech factor radar
ka factor -s XOM,CVX,COP,SLB
Energy sector factor exposure
ka factor -s TSLA,RIVN,NIO,LCID
EV manufacturer factor comparison
ka factor -s AAPL,MSFT,NVDA,TSLA -output json
Tech factor data as JSON
Composite Quantitative Ranking
Ranks 2-20 symbols across 6 quantitative dimensions: Momentum (3m/6m/12m returns), Quality (Sharpe, Sortino), Risk (max drawdown, volatility), Trend (ADX, MA alignment), Mean-Reversion (z-score distance from mean), and Volume (relative volume, OBV trend). Each dimension scored 0-100 within the peer group and weighted into a composite score. Outputs a ranked leaderboard for systematic screening and selection.
ka rank -s NVDA,AMD,TSM,AVGO,QCOM,INTC
Semiconductor composite ranking
ka rank -s AAPL,MSFT,GOOGL,META,AMZN,NVDA,TSLA
Big Tech 7-stock ranking
ka rank -s SPY,QQQ,IWM,DIA,GLD,TLT
Multi-asset composite ranking
ka rank -s JPM,BAC,WFC,GS,MS,C
Bank sector quantitative ranking
ka rank -s XOM,CVX,COP,SLB,EOG
Energy sector ranking
ka rank -s TSLA,RIVN,NIO,LCID,F,GM
Auto/EV sector ranking
ka rank -s AAPL,MSFT,NVDA,TSLA -tf 2y
Tech ranking over 2-year window
ka rank -s NVDA,AMD,TSM,AVGO -output json
Semiconductor ranking as JSON
Monte Carlo Simulation
Monte Carlo price simulation generating N forward paths based on historical return distribution fitted to a Student-t distribution (captures fat tails). Returns median projected price, 5th and 95th percentile cone, probability of hitting a target price by the horizon, and expected price distribution at horizon. Configurable simulation count, horizon, and target price. Useful for probabilistic price forecasting and position sizing.
ka montecarlo -s SPY -horizon 252
S&P 500 1-year Monte Carlo forecast
ka montecarlo -s TSLA -horizon 60 -target 400
Tesla: P(reaching $400) in 60 days
ka montecarlo -s NVDA -output json
NVIDIA Monte Carlo data as JSON
Return Distribution
Return distribution deep-dive with daily, weekly, or monthly frequency. Includes histogram with normal overlay comparison, skewness, kurtosis, Jarque-Bera normality test, fat tail analysis (% beyond ±1/2/3 sigma vs normal expectation), empirical VaR and CVaR at 95/99%, best/worst return deciles, and rolling skewness/kurtosis trend. Quantifies whether returns are normal or fat-tailed — critical for position sizing and risk models.
ka histogram -s SPY -period 5y
S&P 500 5-year return histogram
ka histogram -s TSLA -period 1y -freq daily
Tesla 1-year daily distribution
ka histogram -s NVDA -output json
NVIDIA return histogram as JSON
Browse Agents
Browse and search all 200+ specialized financial agents. Filter by category or search by keyword. Each agent has a unique expertise, analysis workflow, and communication style.
ka agents
List all 200+ agents grouped by category
ka agents -category Trading
Show trading agents only
ka agents -category Retail
Show retail investor agents
ka agents -search "swing trader"
Search for swing trading agents
ka agents -search crypto
Find crypto-related agents
ka agents -category Research
Browse research analysts
ka agents -category Risk
Show risk management agents
Agent Analysis
Activate a specialized financial agent to analyze a symbol. Each agent has a unique persona, expertise, analytical lens, and output format. The agent auto-runs its priority commands, feeds the data to an LLM, and delivers structured analysis through its specialized lens. Run without arguments to see available agents.
ka agent
List all available agents
ka agent swing-trader-technical -s TSLA
Analyze TSLA as a swing trader
ka agent swing-trader-technical -s NVDA
NVDA swing trade setup analysis
ka agent swing-trader-technical -s SPY
SPY swing trade opportunity check
ka agent swing-trader-technical -s AAPL
AAPL technical swing analysis
Agent Chat
Free-form chat with a specialized financial agent. Ask any question and the agent responds through its unique expertise lens. Automatically detects symbols in your message and runs relevant analysis commands. Provide -agent to select the persona.
ka agent-chat -agent swing-trader-technical -q "Is TSLA a good swing trade right now?"
Chat with swing trader about TSLA
ka agent-chat -agent swing-trader-technical -q "What setups do you see in NVDA?" -s NVDA
Ask swing trader about NVDA setups
ka agent-chat -agent swing-trader-technical -q "Should I buy this dip in AAPL?"
Ask about AAPL dip buying
ka agent-chat -agent swing-trader-technical -q "Where do I put my stop on TSLA?" -s TSLA
Ask about stop placement
Intraday Price Data
Intraday OHLCV price data with computed EMA(9/20/50), RSI(14), and MACD indicators. Returns a session summary (open, high, low, current, change %, volume) plus a recent bar table. Supports multiple timeframes: 1min, 5min, 15min, 30min, 1hour, 4hour. Essential for day traders monitoring live price action and intraday technical signals.
ka intraday -s SPY -tf 5min
S&P 500 ETF 5-minute bars
ka intraday -s TSLA -tf 1min -bars 100
Tesla last 100 one-minute bars
ka intraday -s NVDA -output json
NVIDIA intraday data as JSON
Intraday VWAP Analysis
Volume-Weighted Average Price (VWAP) analysis anchored to the session start. Computes VWAP with +/- 1 and 2 standard deviation bands, price deviation from VWAP (% and $), VWAP slope direction (rising/flat/falling), and band position label (above/below/at VWAP). Essential for institutional-style execution and VWAP-based trading strategies.
ka intraday-vwap -s SPY
S&P 500 VWAP: institutional fair value
ka intraday-vwap -s TSLA -output json
Tesla VWAP data as JSON
Opening Range Breakout
Computes the Opening Range High (ORH) and Opening Range Low (ORL) from the first N minutes of the most recent session (default 30 min). Reports breakout or breakdown status, extension percentage beyond the range, measured-move targets at 1x and 2x range, ATR comparison to gauge range significance, and session progress. A core setup for opening range breakout (ORB) day trading strategies.
ka intraday-opening-range -s SPY
S&P 500 opening range breakout levels
ka intraday-opening-range -s TSLA -output json
Tesla ORB data as JSON
Intraday Relative Volume
Intraday Relative Volume (RVOL) comparing today's volume to the historical average at the same time of day across recent sessions. Reports per-bar RVOL, cumulative RVOL for the session, projected daily volume, volume trend classification (extremely high/high/normal/low), and RVOL acceleration. Identifies unusual intraday activity signaling institutional accumulation or distribution.
ka intraday-relative-volume -s SPY
S&P 500 cumulative RVOL and projected volume
ka intraday-relative-volume -s TSLA -output json
Tesla RVOL data as JSON
Intraday Support & Resistance
Identifies key intraday support and resistance levels from multiple independent sources: VWAP +/- 1-2 sigma bands, today's session high/low, previous session close/high/low, intraday swing pivots, and volume node clusters. All levels are merged, labeled SUPPORT or RESISTANCE relative to the current price, and ranked by proximity. Essential for intraday entry/exit and stop placement.
ka intraday-levels -s SPY
S&P 500 intraday support and resistance
ka intraday-levels -s TSLA -output json
Tesla intraday levels as JSON
Intraday Regime Detection
Detects the current intraday market regime using five components: ADX + DI+/DI- for trend strength and direction, R-squared of close price for trend linearity, ATR ratio for volatility context, VWAP cross count (high = mean-reverting), and HH/HL consistency for uptrend bars. Primary regimes: TRENDING_UP, TRENDING_DOWN, RANGING, MEAN_REVERTING. Volatility overlay: HIGH_VOL, NORMAL_VOL, LOW_VOL. Guides strategy selection in real time.
ka intraday-regime -s SPY
S&P 500 intraday regime classification
ka intraday-regime -s TSLA -output json
Tesla intraday regime as JSON
Intraday Volume Profile
Builds a volume-by-price profile from today's intraday session bars. Identifies POC (Point of Control — highest volume price), VAH/VAL (Value Area High/Low — 70% of volume range), HVN (High Volume Nodes — key clusters), and LVN (Low Volume Nodes — breakout acceleration zones). Shows current price position vs profile (above/inside/below value area), balance/imbalance assessment, and an ASCII histogram visualization.
ka intraday-volume-profile -s SPY
S&P 500 intraday volume-by-price
ka intraday-volume-profile -s TSLA -output json
Tesla volume profile as JSON
Pre-Market Analysis
Pre-market gap analysis and level mapping. Shows current pre-market price, previous session stats (close, high, low, VWAP, range), gap size ($ and %), gap classification (FULL_GAP_UP, FULL_GAP_DOWN, PARTIAL, NO_GAP), gap vs daily ATR ratio to gauge significance, and key levels including gap fill target, previous high/low, and extension targets. Includes strategy implications per gap type.
ka intraday-premarket -s SPY
S&P 500 pre-market gap and strategy
ka intraday-premarket -s TSLA -output json
Tesla pre-market data as JSON
Intraday Screener
Screens multiple symbols using live intraday data with filterable metrics: change_pct (open-to-current), range_pct (high-low as % of low), gap_pct (gap from previous close), rvol (relative volume), rsi, adx, vwap_dev (% deviation from VWAP), vwap_pos (ABOVE/BELOW/AT), and cumulative volume. Supports custom filter expressions (e.g. 'change_pct > 1 AND rvol > 1.5') and sorting. Ideal for finding the most active stocks intraday.
ka intraday-screener -s TSLA,NVDA,AAPL,MSFT,META
Screen 5 stocks by intraday metrics
ka intraday-screener -s TSLA,NVDA,AAPL,AMD,GOOGL -filter "rvol > 1.5"
High RVOL stocks only
ka intraday-screener -s SPY,QQQ,IWM,DIA -sort change_pct
Major ETFs ranked by today's change
ka intraday-screener -s TSLA,NVDA,AMD,AVGO -filter "change_pct > 1 AND rvol > 1.5"
Big movers with volume
ka intraday-screener -s AAPL,MSFT,GOOGL,META,AMZN -tf 5min
Big Tech intraday screen on 5-min
ka intraday-screener -s TSLA,RIVN,NIO,LCID -sort rvol -sortorder desc
EV stocks by relative volume
ka intraday-screener -s NVDA,AMD,TSM,AVGO -filter "vwap_pos = ABOVE"
Semis above VWAP
ka intraday-screener -s AAPL,MSFT,NVDA,TSLA -output json
Intraday screen as JSON
Economic Calendar
Upcoming and recent economic data releases: CPI, Non-Farm Payrolls, PMI, GDP, FOMC decisions, and more with consensus estimates. Shows event name, date/time, country, importance level (high/medium/low), previous value, consensus forecast, and actual result (when released). Filterable by country and importance. Essential for macro traders and anyone who needs to manage event risk.
ka economic-calendar
Next 14 days of economic events globally
ka economic-calendar -days 7
Economic calendar for next 7 days
ka economic-calendar -country US
US-only economic events
ka economic-calendar -importance high
High-importance events only (CPI, NFP, FOMC)
ka economic-calendar -country US -importance high
US high-importance events
ka economic-calendar -days 30
Extended 30-day economic calendar
ka economic-calendar -country US -days 7
US events for the coming week
ka economic-calendar -output json
Economic calendar as JSON
Treasury Yield Curve
US Treasury yield curve across all maturities (1M, 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y). Shows current rates, historical comparison, 2Y/10Y spread (inversion detection), and curve shape classification (normal, flat, inverted). Tracks yield curve changes over a configurable window. A foundational macro indicator — inversion historically signals recession risk.
ka yield-curve
Current Treasury yield curve with spread analysis
ka yield-curve -days 90
Yield curve with 90-day historical comparison
ka yield-curve -days 30
Monthly yield curve changes
ka yield-curve -days 365
1-year yield curve evolution
ka yield-curve -output json
Yield curve data as JSON
ka yield-curve -days 7
Weekly yield curve shift
ka yield-curve -days 180
6-month yield curve history
ka yield-curve -days 60
Yield curve change over last 2 months
TIPS Breakeven Inflation
TIPS breakeven inflation rates derived from Treasury nominal yields minus TIPS real yields. Shows inflation expectations embedded in the bond market across maturities. Breakeven = Nominal Yield - Real Yield. Rising breakevens signal higher expected inflation; falling breakevens signal disinflation expectations. A key input for real return analysis, TIPS allocation, and macro regime assessment.
ka breakevens
Current TIPS breakeven inflation rates across maturities
ka breakevens -days 90
Breakeven inflation trend over 90 days
ka breakevens -days 30
Monthly inflation expectations change
ka breakevens -days 365
1-year evolution of inflation expectations
ka breakevens -output json
Breakeven inflation data as JSON
ka breakevens -days 180
6-month breakeven trend
ka breakevens -days 7
Weekly change in inflation expectations
ka breakevens -days 60
2-month breakeven inflation history
Market Movers
Pre-defined market mover reports: top gainers, top losers, most active by volume, highest momentum, and more across configurable timeframes (1d, 1w, 1m, 3m, 6m, YTD, 1y). Filterable by exchange (NASDAQ, NYSE), sector, asset class (EQUITY, ETF, crypto, forex), and currency. Use 'ka movers list' to see all available report types. Ideal for daily market scanning and finding actionable names.
ka movers top-gainers
Today's top gaining stocks
ka movers top-losers
Today's biggest losers
ka movers most-active
Most active stocks by volume today
ka movers top-gainers -tf 1w
Top weekly gainers
ka movers top-gainers -exchange NASDAQ
NASDAQ top gainers
ka movers top-gainers -sector Technology
Technology sector gainers
ka movers list
List all available mover reports
ka movers top-gainers -tf 1m -output json
Monthly top gainers as JSON
No commands match the selected filters.

Market News ×
Loading news…