Skip to content

Latest commit

 

History

History
177 lines (140 loc) · 5.78 KB

File metadata and controls

177 lines (140 loc) · 5.78 KB

CLI Reference

Full command reference for the Lox CLI.


CLI Structure

lox                           # Help with examples
|
+-- PM Morning Report
|   +-- pm                    # Daily CIO briefing (macro + portfolio + LLM)
|
+-- Research
|   +-- research regimes      # Unified regime overview (12 pillars)
|   +-- research ticker NVDA  # Deep ticker research
|   +-- research portfolio    # Open position outlook
|   +-- research scenario SPY # Monte Carlo macro shock sim
|   +-- research chat         # Interactive research chat
|
+-- Regime Drill-Down
|   +-- regime composite      # Composite regime ID (5 macro regimes + playbook)
|   +-- regime growth         # Growth (payrolls, ISM, claims)
|   +-- regime inflation      # Inflation (CPI, PCE, breakevens)
|   +-- regime vol            # Volatility (VIX)
|   +-- regime credit         # Credit spreads (HY OAS, BBB, AAA)
|   +-- regime rates          # Yield curve
|   +-- regime funding        # Funding markets (SOFR)
|   +-- regime consumer       # Consumer (sentiment, spending)
|   +-- regime fiscal         # Fiscal (deficits, TGA)
|   +-- regime earnings       # Earnings (beat rate, revisions)
|   +-- regime oil            # Commodities (oil, gold, copper)
|   +-- regime usd            # USD strength (trade-weighted, FX vol)
|
+-- Portfolio & Risk
|   +-- status                # Portfolio health
|   +-- risk                  # Greeks dashboard
|   +-- scan -t TICKER        # Options chain scanner
|
+-- Accounting
|   +-- account               # Alpaca account details
|   +-- nav                   # NAV management
|   +-- weekly                # Investor reports
|
+-- Crypto
|   +-- crypto data           # Market data + technicals
|   +-- crypto research       # LLM analysis
|   +-- crypto trade          # Order execution

Core Commands

Command Purpose
lox pm PM Morning Report — macro + portfolio + LLM briefing
lox status Portfolio health at a glance
lox risk Greeks dashboard + theta breakeven
lox scan -t TICKER Options chain scanner
lox research ticker TICKER Deep ticker research
lox research regimes Unified regime overview

PM Morning Report

lox pm                # Full report with streaming LLM CIO brief (default)
lox pm --no-llm       # Data sections only (macro + scenarios + portfolio)
lox pm --json         # Machine-readable JSON output

Sections: Macro Environment (12-pillar heatmap + composite regime headline), Active Scenarios, Portfolio (NAV/Greeks/bleeders/winners/risk signals), LLM CIO Briefing.


Research Commands

Command Purpose
lox research ticker AAPL Full research: momentum, HF metrics, fundamentals
lox research ticker NVDA --llm With LLM synthesis
lox research regimes Unified regime overview
lox research regimes --llm With AI commentary
lox research regimes --trend Trend dashboard (sparklines, momentum)
lox research regimes -d vol Drill into volatility regime
lox research regimes --book Position exposure vs regimes
lox research portfolio LLM outlook on open positions
lox research scenario SPY Monte Carlo macro shock sim

Regime Commands

# Composite regime (hedge-fund-style macro regime ID)
lox regime composite              # Full dashboard: regime, confidence, playbook, swing factors
lox regime composite --json       # Machine-readable JSON output

# Core regimes (drive Monte Carlo adjustments)
lox regime growth                 # Growth (payrolls, ISM, claims, industrial production)
lox regime inflation              # Inflation (CPI, Core PCE, breakevens, PPI)
lox regime vol                    # Volatility (VIX, term structure)
lox regime credit                 # Credit spreads (HY OAS, BBB, AAA)
lox regime rates                  # Rates/yield curve
lox regime funding                # Funding markets (SOFR, repo)

# Extended regimes (context)
lox regime consumer               # Consumer (sentiment, spending, mortgage rates)
lox regime fiscal                 # Fiscal (deficits, TGA)
lox regime earnings               # Earnings (S&P 500 beat rate, revisions)
lox regime oil                    # Oil/commodities (energy, metals)
lox regime usd                    # USD strength (trade-weighted dollar, FX vol, EM/commodity impact)

# Add --llm to any command for LLM analysis
lox regime vol --llm

# Add --book for position impact analysis
lox regime credit --book

Options Commands

Command Purpose
lox scan -t NVDA Options chain (default: puts, 30-365 DTE)
lox scan -t CRWV --want put --min-days 100 Custom DTE range

Interactive Chat

Command Purpose
lox chat Interactive research chat
lox chat -t AAPL Ticker-focused chat
lox chat -c fiscal Chat with regime context
lox chat -c regimes Chat with all regime data

Daily Workflow

# Morning: PM Report (2 min)
lox pm                        # Full CIO briefing with LLM
lox regime composite          # Composite regime + playbook

# Drill-down (as needed)
lox regime vol                # Volatility deep dive
lox regime credit --book      # Credit + position exposure
lox regime usd --llm          # USD regime + FX analysis
lox research ticker NVDA      # Full research report

# Options scanning
lox scan -t CRWV --want put
lox scan -t NVDA --min-days 60 --max-days 180

# Scenarios
lox research scenario SPY     # Monte Carlo macro shock sim

# EOD
lox nav snapshot              # Record NAV

Dashboard Access

Environment URL Command
Production loxfund.com Direct browser access
Local http://localhost:5001 cd dashboard && python app.py