50 free queries remaining
AlpaTrade — Command Reference
Backtest
- agent:backtest lookback:1m
- 1-month backtest
- symbols:AAPL,TSLA
- custom symbols
- hours:extended
- pre/after-market
- intraday_exit:true
- 5-min TP/SL bars
- pdt:false
- disable PDT rule
Validate
- agent:validate run-id:<uuid>
- validate a run
- source:paper_trade
- validate paper trades
Reconcile
- agent:reconcile
- DB vs Alpaca (7d)
- window:14d
- custom window
Paper Trade
- agent:paper duration:7d
- run in background
- symbols:AAPL,MSFT poll:60
- custom config
- hours:extended
- extended hours
- email:false
- disable email reports
- pdt:false
- disable PDT rule
Full Cycle
- agent:full lookback:1m duration:1m
- BT > Val > PT > Val
- hours:extended
- extended hours
Query & Monitor
- trades:backtest / trades:paper
- filter by type
- trades:all
- all types + accounts
- slug:btd run-id:<uuid> limit:10
- optional filters
- runs:backtest / runs:paper
- recent runs
- report:backtest / report:paper
- summary
- report run-id:<uuid>
- single run detail
- top:backtest / top:paper
- rank strategies
- top:all
- all types + accounts
- pnl run-id:<uuid>
- P&L breakdown
- positions
- Alpaca positions
- agent:status / agent:stop
- monitor & control
Research
- load:AAPL
- quote + inline chart
- news:TSLA
- company news
- provider:xai|tavily
- force news provider
- profile:TSLA
- company profile
- financials:AAPL
- income & balance sheet
- price:TSLA
- quote & technicals
- movers
- top gainers & losers
- analysts:AAPL
- ratings & targets
- valuation:AAPL,MSFT
- valuation comparison
Accounts
- accounts
- list linked accounts
- account:add <KEY> <SECRET>
- add Alpaca account
- account:switch <id|name>
- change active account
Options
- hours:extended
- 4AM-8PM ET
- intraday_exit:true
- 5-min bar exits
- pdt:false
- disable PDT (>$25k)
General
- help / guide / status / clear