IdiotProof/MCP TOOLS
IdiotProof MCP tools
301 tools, one per Hub operation. Each forwards to the running Hub; money tools return a confirmation code for Live actions instead of executing them. Times are US Eastern.
| Tool | Operation | Risk |
|---|---|---|
account_activities
|
account activities
|
read |
account_buying_power
|
account buying-power
|
read |
account_calendar
|
account calendar
|
read |
account_clock
|
account clock
|
read |
account_config
|
account config
|
read |
account_config_set
|
account config set
|
write |
account_history
|
account history
|
read |
account_pdt
|
account pdt
|
read |
account_summary
|
account summary
|
read |
agent_catalog
|
agent catalog
|
read |
alpaca_raw
|
alpaca raw
|
write |
assets_bonds
|
assets bonds
|
read |
assets_list
|
assets list
|
read |
assets_show
|
assets show
|
read |
audit_list
|
audit list
|
read |
audit_search
|
audit search
|
read |
audit_tail
|
audit tail
|
read |
backtest_conditions
|
backtest conditions
|
read |
backtest_run
|
backtest run
|
read |
catalyst_backfill
|
catalyst backfill
|
read |
catalyst_intake_status
|
catalyst intake-status
|
read |
catalyst_list
|
catalyst list
|
read |
catalyst_reclassify
|
catalyst reclassify
|
write |
catalyst_score
|
catalyst score
|
read |
catalyst_show
|
catalyst show
|
read |
catalyst_sources
|
catalyst sources
|
read |
corporate_actions_list
|
corporate-actions list
|
read |
corporate_actions_show
|
corporate-actions show
|
read |
crypto_bars
|
crypto bars
|
read |
crypto_buy
|
crypto buy
|
money |
crypto_fee_estimate
|
crypto fee-estimate
|
read |
crypto_latest
|
crypto latest
|
read |
crypto_orderbook
|
crypto orderbook
|
read |
crypto_positions
|
crypto positions
|
read |
crypto_quotes
|
crypto quotes
|
read |
crypto_sell
|
crypto sell
|
money |
crypto_snapshot
|
crypto snapshot
|
read |
crypto_trades
|
crypto trades
|
read |
crypto_transfers
|
crypto transfers
|
read |
crypto_wallets
|
crypto wallets
|
read |
crypto_whitelist
|
crypto whitelist
|
read |
crypto_whitelist_add
|
crypto whitelist-add
|
money |
crypto_whitelist_remove
|
crypto whitelist-remove
|
write |
crypto_withdraw
|
crypto withdraw
|
money |
dataset_export
|
dataset export
|
write |
diary_export
|
diary export
|
write |
diary_list
|
diary list
|
read |
diary_pnl
|
diary pnl
|
read |
diary_show
|
diary show
|
read |
diary_stats
|
diary stats
|
read |
docs_dsl
|
docs dsl
|
read |
docs_explain
|
docs explain
|
read |
docs_law
|
docs law
|
read |
docs_search
|
docs search
|
read |
docs_section
|
docs section
|
read |
docs_story
|
docs story
|
read |
docs_ticket
|
docs ticket
|
read |
dsl_diagnostics
|
dsl diagnostics
|
read |
dsl_format
|
dsl format
|
read |
dsl_glossary
|
dsl glossary
|
read |
dsl_parse
|
dsl parse
|
read |
dsl_schema
|
dsl schema
|
read |
dsl_validate
|
dsl validate
|
read |
dsl_verbs
|
dsl verbs
|
read |
evidence_calibration
|
evidence calibration
|
read |
evidence_conformal
|
evidence conformal
|
read |
evidence_events
|
evidence events
|
read |
evidence_flow
|
evidence flow
|
read |
evidence_graph
|
evidence graph
|
read |
evidence_hawkes
|
evidence hawkes
|
read |
evidence_kalman
|
evidence kalman
|
read |
evidence_label
|
evidence label
|
read |
evidence_pools
|
evidence pools
|
read |
evidence_regime
|
evidence regime
|
read |
evidence_search
|
evidence search
|
read |
evidence_similar
|
evidence similar
|
read |
evidence_sizing
|
evidence sizing
|
read |
evidence_survival
|
evidence survival
|
read |
evidence_tails
|
evidence tails
|
read |
evidence_topology
|
evidence topology
|
read |
evidence_walkforward
|
evidence walkforward
|
read |
fundamentals_show
|
fundamentals show
|
read |
fundamentals_status
|
fundamentals status
|
read |
gapper_apply_tuned
|
gapper apply-tuned
|
write |
gapper_arm
|
gapper arm
|
money |
gapper_auto_candidates
|
gapper auto candidates
|
read |
gapper_auto_disable
|
gapper auto disable
|
write |
gapper_auto_enable
|
gapper auto enable
|
write |
gapper_auto_status
|
gapper auto status
|
read |
gapper_backtest_day
|
gapper backtest-day
|
read |
gapper_be_bex_status
|
gapper be-bex status
|
read |
gapper_caps
|
gapper caps
|
read |
gapper_disarm
|
gapper disarm
|
write |
gapper_fade_pilot_disable
|
gapper fade-pilot disable
|
write |
gapper_fade_pilot_enable
|
gapper fade-pilot enable
|
write |
gapper_fade_pilot_list
|
gapper fade-pilot list
|
read |
gapper_fade_pilot_status
|
gapper fade-pilot status
|
read |
gapper_fade_pilot_summary
|
gapper fade-pilot summary
|
read |
gapper_formation
|
gapper formation
|
read |
gapper_formation_disable
|
gapper formation disable
|
write |
gapper_formation_enable
|
gapper formation enable
|
write |
gapper_formation_move_starts
|
gapper formation move-starts
|
read |
gapper_formation_shadow
|
gapper formation shadow
|
read |
gapper_formation_status
|
gapper formation status
|
read |
gapper_formation_universe
|
gapper formation universe
|
read |
gapper_from_transcript
|
gapper from-transcript
|
read |
gapper_list
|
gapper list
|
read |
gapper_momentum_arm
|
gapper momentum-arm
|
write |
gapper_premarket_fade
|
gapper premarket-fade
|
read |
gapper_profile_show
|
gapper profile show
|
read |
gapper_profiles
|
gapper profiles
|
read |
gapper_radar
|
gapper radar
|
write |
gapper_radar_backtest
|
gapper radar-backtest
|
write |
gapper_tune
|
gapper tune
|
write |
history_backfill
|
history backfill
|
write |
history_import
|
history import
|
write |
history_status
|
history status
|
read |
hub_install_service
|
hub install-service
|
destructive |
hub_ping
|
hub ping
|
read |
hub_uninstall_service
|
hub uninstall-service
|
destructive |
indicators_compute
|
indicators compute
|
read |
indicators_snapshot
|
indicators snapshot
|
read |
keys_migrate_to_vault
|
keys migrate-to-vault
|
destructive |
keys_opt_in
|
keys opt-in
|
write |
keys_probe
|
keys probe
|
read |
keys_set
|
keys set
|
write |
keys_status
|
keys status
|
read |
ledger_list
|
ledger list
|
read |
llm_keys
|
llm keys
|
read |
llm_panel
|
llm panel
|
read |
llm_threshold
|
llm threshold
|
write |
llm_vote
|
llm vote
|
read |
llm_voting_disable
|
llm voting disable
|
write |
llm_voting_enable
|
llm voting enable
|
write |
market_auctions
|
market auctions
|
read |
market_bars
|
market bars
|
read |
market_bond_prices
|
market bond-prices
|
read |
market_candlesticks
|
market candlesticks
|
read |
market_chart
|
market chart
|
read |
market_conditions
|
market conditions
|
read |
market_exchanges
|
market exchanges
|
read |
market_feed_status
|
market feed status
|
read |
market_feed_switch
|
market feed switch
|
write |
market_fx
|
market fx
|
read |
market_latest
|
market latest
|
read |
market_logo
|
market logo
|
write |
market_meta
|
market meta
|
read |
market_most_actives
|
market most-actives
|
read |
market_movers
|
market movers
|
read |
market_news
|
market news
|
read |
market_prev_close
|
market prev-close
|
read |
market_quote
|
market quote
|
read |
market_quotes
|
market quotes
|
read |
market_scan_universe
|
market scan-universe
|
read |
market_snapshot
|
market snapshot
|
read |
market_stream_status
|
market stream status
|
read |
market_trades
|
market trades
|
read |
market_watch
|
market watch
|
read |
momentum_export
|
momentum export
|
write |
momentum_extract
|
momentum extract
|
write |
momentum_import
|
momentum import
|
write |
momentum_report
|
momentum report
|
read |
momentum_reresolve
|
momentum reresolve
|
write |
momentum_verify
|
momentum verify
|
write |
monitor_heartbeat
|
monitor heartbeat
|
read |
monitor_lease
|
monitor lease
|
read |
monitor_pause
|
monitor pause
|
write |
monitor_resume
|
monitor resume
|
money |
monitor_status
|
monitor status
|
read |
monitor_tail
|
monitor tail
|
read |
monitor_tick_once
|
monitor tick-once
|
read |
options_bars
|
options bars
|
read |
options_buy
|
options buy
|
money |
options_chain
|
options chain
|
read |
options_close
|
options close
|
money |
options_conditions
|
options conditions
|
read |
options_contract
|
options contract
|
read |
options_contracts
|
options contracts
|
read |
options_do_not_exercise
|
options do-not-exercise
|
money |
options_exchanges
|
options exchanges
|
read |
options_exercise
|
options exercise
|
money |
options_glossary
|
options glossary
|
read |
options_greeks
|
options greeks
|
read |
options_iv
|
options iv
|
read |
options_latest
|
options latest
|
read |
options_level
|
options level
|
read |
options_positions
|
options positions
|
read |
options_quote
|
options quote
|
read |
options_sell
|
options sell
|
money |
options_signals
|
options signals
|
read |
options_snapshot
|
options snapshot
|
read |
options_spread
|
options spread
|
money |
options_trades
|
options trades
|
read |
options_value
|
options value
|
read |
orders_bracket
|
orders bracket
|
money |
orders_cancel
|
orders cancel
|
money |
orders_cancel_all
|
orders cancel-all
|
money |
orders_history
|
orders history
|
read |
orders_list
|
orders list
|
read |
orders_oco
|
orders oco
|
money |
orders_oto
|
orders oto
|
money |
orders_place
|
orders place
|
money |
orders_replace
|
orders replace
|
money |
orders_show
|
orders show
|
read |
orders_stream
|
orders stream
|
read |
positions_close
|
positions close
|
money |
positions_close_all
|
positions close-all
|
money |
positions_list
|
positions list
|
read |
positions_reconcile
|
positions reconcile
|
write |
positions_show
|
positions show
|
read |
prefs_get
|
prefs get
|
read |
prefs_set
|
prefs set
|
write |
replay_all
|
replay all
|
write |
replay_compare
|
replay compare
|
read |
replay_families
|
replay families
|
read |
replay_list
|
replay list
|
read |
replay_live
|
replay live
|
write |
replay_regen
|
replay regen
|
write |
replay_run
|
replay run
|
write |
replay_show
|
replay show
|
read |
research_analyze
|
research analyze
|
write |
research_backfill
|
research backfill
|
write |
research_claim
|
research claim
|
read |
research_claims
|
research claims
|
read |
research_gappers_build_universe
|
research gappers build-universe
|
read |
research_gappers_calibrate_spread
|
research gappers calibrate-spread
|
read |
research_gappers_casestudy
|
research gappers casestudy
|
read |
research_gappers_catalysts
|
research gappers catalysts
|
read |
research_gappers_detector_export
|
research gappers detector-export
|
write |
research_gappers_explore
|
research gappers explore
|
read |
research_gappers_label
|
research gappers label
|
read |
research_gappers_pull
|
research gappers pull
|
read |
research_gappers_report
|
research gappers report
|
read |
research_gappers_snapshot
|
research gappers snapshot
|
read |
research_gappers_status
|
research gappers status
|
read |
research_gappers_test
|
research gappers test
|
read |
research_index_events
|
research index-events
|
read |
research_insiders
|
research insiders
|
read |
research_macro
|
research macro
|
read |
research_scan
|
research scan
|
write |
research_score
|
research score
|
read |
research_similar
|
research similar
|
read |
research_ticker
|
research ticker
|
read |
research_universe_list
|
research universe list
|
read |
research_universe_refresh
|
research universe refresh
|
write |
risk_check
|
risk check
|
read |
risk_kill_switch
|
risk kill-switch
|
write |
risk_set
|
risk set
|
write |
risk_show
|
risk show
|
read |
risk_status
|
risk status
|
read |
scan_movers
|
scan movers
|
write |
settings_get
|
settings get
|
read |
settings_list
|
settings list
|
read |
settings_set
|
settings set
|
write |
strategy_activate
|
strategy activate
|
money |
strategy_bulk
|
strategy bulk
|
money |
strategy_clone
|
strategy clone
|
write |
strategy_create
|
strategy create
|
write |
strategy_deactivate
|
strategy deactivate
|
write |
strategy_delete
|
strategy delete
|
destructive |
strategy_diff
|
strategy diff
|
read |
strategy_explain
|
strategy explain
|
read |
strategy_export
|
strategy export
|
read |
strategy_fires
|
strategy fires
|
read |
strategy_from_text
|
strategy from-text
|
write |
strategy_from_watchlist
|
strategy from-watchlist
|
write |
strategy_history
|
strategy history
|
read |
strategy_import
|
strategy import
|
write |
strategy_list
|
strategy list
|
read |
strategy_mode
|
strategy mode
|
money |
strategy_progress
|
strategy progress
|
read |
strategy_quarantine
|
strategy quarantine
|
read |
strategy_rename
|
strategy rename
|
write |
strategy_resync_canon
|
strategy resync-canon
|
write |
strategy_samples
|
strategy samples
|
read |
strategy_set
|
strategy set
|
money |
strategy_show
|
strategy show
|
read |
strategy_stamp
|
strategy stamp
|
read |
strategy_step
|
strategy step
|
write |
strategy_validate
|
strategy validate
|
read |
trade_buy
|
trade buy
|
money |
trade_confirm
|
trade confirm
|
money |
trade_cover
|
trade cover
|
money |
trade_flatten
|
trade flatten
|
money |
trade_notional
|
trade notional
|
money |
trade_pending
|
trade pending
|
read |
trade_preview
|
trade preview
|
read |
trade_sell
|
trade sell
|
money |
trade_short
|
trade short
|
money |
users_create
|
users create
|
write |
users_list
|
users list
|
read |
watchlist_add
|
watchlist add
|
write |
watchlist_list
|
watchlist list
|
read |
watchlist_remove
|
watchlist remove
|
write |
watchlists_add
|
watchlists add
|
write |
watchlists_create
|
watchlists create
|
write |
watchlists_delete
|
watchlists delete
|
destructive |
watchlists_list
|
watchlists list
|
read |
watchlists_remove
|
watchlists remove
|
write |
watchlists_rename
|
watchlists rename
|
write |
watchlists_show
|
watchlists show
|
read |
account_activities
Account activity log: fills, dividends, fees, deposits, interest, option expirations/assignments (newest first, ET).
CLI equivalent: idiotproof account activities [--since <date>] [--until <date>] [--type <string[]>] [--limit <int>] [--mode <all|paper|live>] Examples: idiotproof account activities idiotproof account activities --since 2026-10-01 --type FILL --mode paper idiotproof account activities --type DIV,FEE,INT
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Account activity log: fills, dividends, fees, deposits, interest, option expirations/assignments (newest first, ET).",
"properties": {
"since": {
"type": "string",
"format": "date",
"description": "First ET date to include, yyyy-MM-dd (default: 7 days ago)."
},
"until": {
"type": "string",
"format": "date",
"description": "Last ET date to include, yyyy-MM-dd (default: today)."
},
"type": {
"type": "array",
"items": {
"type": "string"
},
"description": "Activity types, comma-separated: FILL, DIV, FEE, CSD (deposit), CSW (withdrawal), JNLC, INT, OPEXP, OPASN, ... (default: all)."
},
"limit": {
"type": "integer",
"description": "Most rows per account, newest first (default 100, max 1000).",
"default": 100
},
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
account_buying_power
Buying power by kind (overall, Reg T, day-trading, non-marginable, options), cash and margin multiplier.
CLI equivalent: idiotproof account buying-power [--mode <all|paper|live>] Examples: idiotproof account buying-power idiotproof account buying-power --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Buying power by kind (overall, Reg T, day-trading, non-marginable, options), cash and margin multiplier.",
"properties": {
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
account_calendar
Trading days with premarket, regular and after-hours times (ET); early closes and holidays called out.
CLI equivalent: idiotproof account calendar [--from <date>] [--to <date>] [--mode <sandbox|paper|live>] Examples: idiotproof account calendar idiotproof account calendar --from 2026-11-20 --to 2026-12-31
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Trading days with premarket, regular and after-hours times (ET); early closes and holidays called out.",
"properties": {
"from": {
"type": "string",
"format": "date",
"description": "First date, yyyy-MM-dd (default today ET)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last date, yyyy-MM-dd (default 14 days after --from)."
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Which Alpaca account\u0027s keys ask: paper or live (default paper; the calendar is the same).",
"default": "paper"
}
},
"additionalProperties": false
}
account_clock
Is the market open now, and when it next opens and closes (ET), from Alpaca's clock.
CLI equivalent: idiotproof account clock [--mode <sandbox|paper|live>] Examples: idiotproof account clock
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Is the market open now, and when it next opens and closes (ET), from Alpaca\u0027s clock.",
"properties": {
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Which Alpaca account\u0027s keys ask: paper or live (default paper; the clock is the same).",
"default": "paper"
}
},
"additionalProperties": false
}
account_config
Alpaca account settings side by side: DTBP/PDT checks, shorting, fractional, margin cap, options level, trade suspension.
CLI equivalent: idiotproof account config [--mode <all|paper|live>] Examples: idiotproof account config idiotproof account config --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Alpaca account settings side by side: DTBP/PDT checks, shorting, fractional, margin cap, options level, trade suspension.",
"properties": {
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
account_config_set
Change one Alpaca account setting (Live needs a confirmation code).
CLI equivalent: idiotproof account config set <setting> <value> [--mode <sandbox|paper|live>] Examples: idiotproof account config set no_shorting true idiotproof account config set max_margin_multiplier 1 --mode live
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Change one Alpaca account setting (Live needs a confirmation code).",
"properties": {
"setting": {
"type": "string",
"description": "dtbp_check, pdt_check, trade_confirm_email, suspend_trade, no_shorting, fractional_trading, max_margin_multiplier, max_options_trading_level or ptp_no_exception_entry.",
"default": ""
},
"value": {
"type": "string",
"description": "The new value (see \u0060account config\u0060 for each setting\u0027s meaning).",
"default": ""
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper or live (default paper; live needs a confirmation code).",
"default": "paper"
}
},
"additionalProperties": false,
"required": [
"setting",
"value"
]
}
account_history
Equity over time as a Braille line chart, with the true P&L (deposits excluded) for 1D to all-time windows.
CLI equivalent: idiotproof account history [--period <string>] [--timeframe <string>] [--extended] [--mode <sandbox|paper|live>] [--width <int>] [--height <int>] Examples: idiotproof account history idiotproof account history --period 1D --timeframe 5Min --extended idiotproof account history --period 1A --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Equity over time as a Braille line chart, with the true P\u0026L (deposits excluded) for 1D to all-time windows.",
"properties": {
"period": {
"type": "string",
"description": "Window: \u003Cn\u003ED, \u003Cn\u003EW, \u003Cn\u003EM or \u003Cn\u003EA (years), or all (default 1M).",
"default": "1M"
},
"timeframe": {
"type": "string",
"description": "Point spacing: 1Min, 5Min, 15Min, 1H or 1D (default: Alpaca\u0027s choice for the period)."
},
"extended": {
"type": "boolean",
"description": "Include premarket and after-hours in intraday history (default regular hours only).",
"default": false
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper or live (default paper).",
"default": "paper"
},
"width": {
"type": "integer",
"description": "Chart width in characters (default: the terminal\u0027s, else 118)."
},
"height": {
"type": "integer",
"description": "Chart rows (default 16).",
"default": 16
}
},
"additionalProperties": false
}
account_pdt
Pattern-day-trader standing: day trades in the last 5 business days, PDT flag, equity vs the $25k floor, trades left.
CLI equivalent: idiotproof account pdt [--mode <all|paper|live>] Examples: idiotproof account pdt idiotproof account pdt --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Pattern-day-trader standing: day trades in the last 5 business days, PDT flag, equity vs the $25k floor, trades left.",
"properties": {
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
account_summary
Equity, cash, buying power and today's true P&L (deposits excluded) for your Alpaca paper and live accounts.
CLI equivalent: idiotproof account summary [--mode <all|paper|live>] Examples: idiotproof account summary idiotproof account summary --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Equity, cash, buying power and today\u0027s true P\u0026L (deposits excluded) for your Alpaca paper and live accounts.",
"properties": {
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
agent_catalog
List every operation with its parameters (type, format, default, allowed values, example), risk and input schema, plus the value formats, the error payload and the DSL diagnostics and schema.
CLI equivalent: idiotproof agent catalog [--operation <string>] Examples: idiotproof agent catalog idiotproof agent catalog --json idiotproof agent catalog --operation "hub ping"
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "List every operation with its parameters (type, format, default, allowed values, example), risk and input schema, plus the value formats, the error payload and the DSL diagnostics and schema.",
"properties": {
"operation": {
"type": "string",
"description": "Only this operation, by name (\u0022strategy list\u0022) or tool name (strategy_list)."
}
},
"additionalProperties": false
}
alpaca_raw
Any Alpaca endpoint (escape hatch): GET/POST/PATCH/PUT/DELETE a Trading API path, or GET a Market Data path with --data; order, position and wallet mutations are refused (use the gated operations).
CLI equivalent: idiotproof alpaca raw <method> <path> [--body <string>] [--data] [--mode <sandbox|paper|live>] Examples: idiotproof alpaca raw GET /v2/account idiotproof alpaca raw GET /v2/assets/AAPL --mode live idiotproof alpaca raw GET /v2/stocks/AAPL/snapshot --data
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Any Alpaca endpoint (escape hatch): GET/POST/PATCH/PUT/DELETE a Trading API path, or GET a Market Data path with --data; order, position and wallet mutations are refused (use the gated operations).",
"properties": {
"method": {
"type": "string",
"description": "GET, POST, PATCH, PUT or DELETE.",
"default": ""
},
"path": {
"type": "string",
"description": "The Alpaca path with any query string, e.g. /v2/account or /v2/assets?status=active.",
"default": ""
},
"body": {
"type": "string",
"description": "JSON request body for POST/PATCH/PUT (use \u0027-\u0027 to read it from stdin)."
},
"data": {
"type": "boolean",
"description": "Call the Market Data API (data.alpaca.markets, GET only) instead of the Trading API.",
"default": false
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Trading API account: paper (default) or live. Live mutations need a confirmation code.",
"default": "paper"
}
},
"additionalProperties": false,
"required": [
"method",
"path"
]
}
assets_bonds
Alpaca fixed income assets: US Treasuries or US corporate bonds with coupon, maturity, last close and yield.
CLI equivalent: idiotproof assets bonds [--type <treasuries|corporates>] [--subtype <string>] [--bond-status <string>] [--cusips <string[]>] [--isins <string[]>] [--search <string>] [--limit <int>] [--mode <paper|live>] Examples: idiotproof assets bonds --subtype bill --limit 20 idiotproof assets bonds --type corporates --search AAPL
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Alpaca fixed income assets: US Treasuries or US corporate bonds with coupon, maturity, last close and yield.",
"properties": {
"type": {
"type": "string",
"enum": [
"treasuries",
"corporates"
],
"description": "treasuries (default) or corporates.",
"default": "treasuries"
},
"subtype": {
"type": "string",
"description": "Treasury subtype filter (bill, note, bond, strips, tips, floating_rate)."
},
"bond_status": {
"type": "string",
"description": "Bond status filter (outstanding, matured, pre_issuance)."
},
"cusips": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these CUSIPs, comma separated."
},
"isins": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these ISINs, comma separated."
},
"search": {
"type": "string",
"description": "Keep bonds whose description, issuer, ticker, CUSIP or ISIN contains this text."
},
"limit": {
"type": "integer",
"description": "Rows to show (default 50; sorted by maturity).",
"default": 50
},
"mode": {
"type": "string",
"enum": [
"paper",
"live"
],
"description": "Alpaca account to ask: paper (default) or live.",
"default": "paper"
}
},
"additionalProperties": false
}
assets_list
Alpaca's tradable universe (/v2/assets) filtered by class, exchange, status and attributes, with totals.
Alpaca returns 10k+ assets; this shows the first --limit matches (sorted by symbol) and how many matched in all.
CLI equivalent: idiotproof assets list [--class <us-equity|us-option|crypto>] [--exchange <string>] [--status <active|inactive|all>] [--attributes <string[]>] [--search <string>] [--tradable] [--shortable] [--limit <int>] [--mode <paper|live>] Examples: idiotproof assets list --class us_equity --exchange NASDAQ --search APP idiotproof assets list --class crypto --limit 100 idiotproof assets list --attributes has_options --shortable
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Alpaca\u0027s tradable universe (/v2/assets) filtered by class, exchange, status and attributes, with totals.",
"properties": {
"class": {
"type": "string",
"enum": [
"us-equity",
"us-option",
"crypto"
],
"description": "us_equity, us_option or crypto (default: every class)."
},
"exchange": {
"type": "string",
"description": "Only this exchange (NASDAQ, NYSE, ARCA, AMEX, BATS, OTC, CRYPTO...)."
},
"status": {
"type": "string",
"enum": [
"active",
"inactive",
"all"
],
"description": "active, inactive or all (default active).",
"default": "active"
},
"attributes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Alpaca attribute filter, comma separated (ptp_no_exception, ptp_with_exception, ipo, has_options, options_late_close, fractional_eh_enabled...)."
},
"search": {
"type": "string",
"description": "Keep assets whose symbol starts with, or name contains, this text."
},
"tradable": {
"type": "boolean",
"description": "Only assets tradable at Alpaca.",
"default": false
},
"shortable": {
"type": "boolean",
"description": "Only shortable assets.",
"default": false
},
"limit": {
"type": "integer",
"description": "Rows to show (default 50; the totals line counts them all).",
"default": 50
},
"mode": {
"type": "string",
"enum": [
"paper",
"live"
],
"description": "Alpaca account to ask: paper (default) or live.",
"default": "paper"
}
},
"additionalProperties": false
}
assets_show
One Alpaca asset: tradable, shortable, easy-to-borrow, marginable, fractionable and margin requirements.
CLI equivalent: idiotproof assets show <symbol> [--mode <paper|live>] Examples: idiotproof assets show AAPL idiotproof assets show BTC/USD
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "One Alpaca asset: tradable, shortable, easy-to-borrow, marginable, fractionable and margin requirements.",
"properties": {
"symbol": {
"type": "string",
"description": "Ticker, crypto pair (BTC/USD) or Alpaca asset id.",
"default": ""
},
"mode": {
"type": "string",
"enum": [
"paper",
"live"
],
"description": "Alpaca account to ask: paper (default) or live.",
"default": "paper"
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}
audit_list
The audit trail, newest first: signals, entries/exits, rejections, risk blocks, system events (ET).
CLI equivalent: idiotproof audit list [--since <date>] [--kind <string[]>] [--system] [--limit <int>] Examples: idiotproof audit list idiotproof audit list --since 2026-10-30 --kind signal-fire,entry,exit idiotproof audit list --kind order-rejected --no-system --limit 200
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The audit trail, newest first: signals, entries/exits, rejections, risk blocks, system events (ET).",
"properties": {
"since": {
"type": "string",
"format": "date",
"description": "First ET date to include, yyyy-MM-dd (default: everything kept)."
},
"kind": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these categories, comma-separated: signal-fire, entry, exit, order-rejected, risk, broker, system, ..."
},
"system": {
"type": "boolean",
"description": "Include system-wide rows that belong to no user (default on; --no-system for only yours).",
"default": true
},
"limit": {
"type": "integer",
"description": "Most rows, newest first, 1-1000 (default 50).",
"default": 50
}
},
"additionalProperties": false
}
audit_search
Find audit rows whose message or payload contains text: a symbol, order id, strategy title.
CLI equivalent: idiotproof audit search <text> [--since <date>] [--kind <string[]>] [--system] [--limit <int>] Examples: idiotproof audit search NVDA idiotproof audit search "insufficient buying power" --since 2026-10-01
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Find audit rows whose message or payload contains text: a symbol, order id, strategy title.",
"properties": {
"text": {
"type": "string",
"description": "Text to find in the message or the structured payload (case-insensitive).",
"default": ""
},
"since": {
"type": "string",
"format": "date",
"description": "First ET date to include, yyyy-MM-dd (default: everything kept)."
},
"kind": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these categories, comma-separated: signal-fire, entry, exit, order-rejected, risk, broker, system, ..."
},
"system": {
"type": "boolean",
"description": "Include system-wide rows that belong to no user (default on; --no-system for only yours).",
"default": true
},
"limit": {
"type": "integer",
"description": "Most rows, newest first, 1-1000 (default 50).",
"default": 50
}
},
"additionalProperties": false,
"required": [
"text"
]
}
audit_tail
The latest audit rows, oldest first; --follow streams new ones as they land (Ctrl+C stops; MCP/--json get a bounded window: --seconds, --max).
CLI equivalent: idiotproof audit tail [--lines <int>] [--follow] [--seconds <int>] [--max <int>] [--kind <string[]>] [--system] Examples: idiotproof audit tail idiotproof audit tail --follow --seconds 60 --kind signal-fire,entry,exit
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The latest audit rows, oldest first; --follow streams new ones as they land (Ctrl\u002BC stops; MCP/--json get a bounded window: --seconds, --max).",
"properties": {
"lines": {
"type": "integer",
"description": "How many of the latest rows to start with, 0-500 (default 20).",
"default": 20
},
"follow": {
"type": "boolean",
"description": "Keep watching for new rows: in a terminal until Ctrl\u002BC (or --seconds/--max); for MCP and --json for --seconds (default 30) or --max (default 200) new rows.",
"default": false
},
"seconds": {
"type": "integer",
"description": "With --follow: how long to watch, 1-300 (default 30 for MCP/--json; a terminal streams until Ctrl\u002BC)."
},
"max": {
"type": "integer",
"description": "With --follow: stop after this many new rows, 1-1000 (default 200 for MCP/--json; none in a terminal)."
},
"kind": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these categories, comma-separated."
},
"system": {
"type": "boolean",
"description": "Include system-wide rows (default on; --no-system for only yours).",
"default": true
}
},
"additionalProperties": false
}
backtest_conditions
A backtest day's per-candle condition table: each entry condition's truth per bar, fires, entries and time in position.
CLI equivalent: idiotproof backtest conditions <run> [--date <date>] [--all] Examples: idiotproof backtest conditions bt-1a2b3c4d idiotproof backtest conditions bt-1a2b3c4d --date 2026-10-29 --all
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "A backtest day\u0027s per-candle condition table: each entry condition\u0027s truth per bar, fires, entries and time in position.",
"properties": {
"run": {
"type": "string",
"description": "The run id \u0060backtest run\u0060 printed (bt-xxxxxxxx).",
"default": ""
},
"date": {
"type": "string",
"format": "date",
"description": "Which day of the run (default its first day with bars)."
},
"all": {
"type": "boolean",
"description": "Every candle, not just the ones where a condition changed, fired or traded.",
"default": false
}
},
"additionalProperties": false,
"required": [
"run"
]
}
backtest_run
Backtest a saved strategy or a script over a range of ET days with StrategyBacktester: triggers, trades and P&L per day (saved for backtest conditions).
CLI equivalent: idiotproof backtest run [<strategy>] [--script <string>] [--from <date>] [--to <date>] [--qty <int>] [--days <int>] Examples: idiotproof backtest run NVDA --from 2026-10-26 --to 2026-10-30 idiotproof backtest run --script "Ticker("INTC").IsAboveVwap().StopLoss(2).TakeProfit(4)" --from 2026-10-29 idiotproof backtest run NVDA --from 2026-10-20 --days 7
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Backtest a saved strategy or a script over a range of ET days with StrategyBacktester: triggers, trades and P\u0026L per day (saved for backtest conditions).",
"properties": {
"strategy": {
"type": "string",
"description": "A saved strategy: id, id prefix, stamp id or symbol (or use --script)."
},
"script": {
"type": "string",
"description": "Backtest this IdiotScript, canonical JSON or stamp instead of a saved strategy (\u0060-\u0060 reads stdin)."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET trading day (yyyy-MM-dd); default the last completed trading day."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET trading day (yyyy-MM-dd); default --from."
},
"qty": {
"type": "integer",
"description": "Share count when the strategy doesn\u0027t pin one (default 100).",
"default": 100
},
"days": {
"type": "integer",
"description": "Replay this many trading days from --from as ONE continuous run, so a sequenced strategy\u0027s hand-off between steps (and its Within deadline) crosses the day boundaries. Not with --to."
}
},
"additionalProperties": false
}
catalyst_backfill
Fill catalyst events for past dates from Alpaca news (paged) and EDGAR full-text search, through the same pre-classifier and scorer as live intake; rows are marked backfilled.
Writes research rows only (no strategy, order or setting changes). Needs an owner for the Alpaca keys. EDGAR calls are rate-limited (120 ms apart), so wide ranges take minutes.
CLI equivalent: idiotproof catalyst backfill --symbols <string> --from <date> [--to <date>] [--llm-budget <int>] [--edgar] Examples: idiotproof catalyst backfill --symbols ABCD,EFGH --from 2026-10-01 --to 2026-10-31 idiotproof catalyst backfill --symbols ABCD --from 2026-11-01 --llm-budget 20
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Fill catalyst events for past dates from Alpaca news (paged) and EDGAR full-text search, through the same pre-classifier and scorer as live intake; rows are marked backfilled.",
"properties": {
"symbols": {
"type": "string",
"description": "Comma-separated symbols to backfill.",
"default": ""
},
"from": {
"type": "string",
"format": "date",
"description": "First day (ET, yyyy-MM-dd).",
"default": "0001-01-01"
},
"to": {
"type": "string",
"format": "date",
"description": "Last day (ET, yyyy-MM-dd); default today."
},
"llm_budget": {
"type": "integer",
"description": "At most this many new rows get a Haiku classification (default 0: none).",
"default": 0
},
"edgar": {
"type": "boolean",
"description": "Also search EDGAR filings (default on; --no-edgar for news only).",
"default": true
}
},
"additionalProperties": false,
"required": [
"symbols",
"from"
]
}
catalyst_intake_status
Whether the catalyst intake is enabled, who owns it, whether this Hub leads, the news stream's health, the last message ET, EDGAR polling and today's counts.
CLI equivalent: idiotproof catalyst intake-status Examples: idiotproof catalyst intake-status
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Whether the catalyst intake is enabled, who owns it, whether this Hub leads, the news stream\u0027s health, the last message ET, EDGAR polling and today\u0027s counts.",
"properties": {},
"additionalProperties": false
}
catalyst_list
Catalyst events the intake recorded (news and EDGAR filings): published ET, receive lag, symbol, catalyst type, direction, score, source, headline.
CLI equivalent: idiotproof catalyst list [--symbol <string>] [--since <string>] [--limit <int>] Examples: idiotproof catalyst list --since today idiotproof catalyst list --symbol ABCD --since 3d
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Catalyst events the intake recorded (news and EDGAR filings): published ET, receive lag, symbol, catalyst type, direction, score, source, headline.",
"properties": {
"symbol": {
"type": "string",
"description": "Only events naming this symbol."
},
"since": {
"type": "string",
"description": "Window start: today, yesterday, 6h, 3d, or a date (ET). Default 24h."
},
"limit": {
"type": "integer",
"description": "Most recent N events (default 50, max 500).",
"default": 50
}
},
"additionalProperties": false
}
catalyst_reclassify
Write the catalyst type (outside investment / PIPE, acquisition target or acquirer, merger, earnings beat / miss / report, guidance, contract / partnership, FDA / clinical, reverse split, uplisting, listing compliance, buyback, analyst upgrade, offering, theme pivot, other, no catalyst) and the non-binding-LOI flag onto stored catalyst events and the permanent history's news and filings, and report the share left in other / no catalyst against the old Other.
Deterministic rules only (headline keywords, form type, 8-K items): no model, no network call. Idempotent: a row whose type already matches is not written. The frozen version 1 class, direction and score are never changed. The gapper study's research rows are typed by research gappers catalysts.
CLI equivalent: idiotproof catalyst reclassify [--store <string>] Examples: idiotproof catalyst reclassify idiotproof catalyst reclassify --store history
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Write the catalyst type (outside investment / PIPE, acquisition target or acquirer, merger, earnings beat / miss / report, guidance, contract / partnership, FDA / clinical, reverse split, uplisting, listing compliance, buyback, analyst upgrade, offering, theme pivot, other, no catalyst) and the non-binding-LOI flag onto stored catalyst events and the permanent history\u0027s news and filings, and report the share left in other / no catalyst against the old Other.",
"properties": {
"store": {
"type": "string",
"description": "app (this database\u0027s catalyst events), history (the permanent history\u0027s news and filings) or all (default).",
"default": "all"
}
},
"additionalProperties": false
}
catalyst_score
The latest catalyst event for a symbol and its score breakdown as of now (type prior × magnitude × source + novelty, decayed by age).
CLI equivalent: idiotproof catalyst score <symbol> Examples: idiotproof catalyst score ABCD
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The latest catalyst event for a symbol and its score breakdown as of now (type prior \u00D7 magnitude \u00D7 source \u002B novelty, decayed by age).",
"properties": {
"symbol": {
"type": "string",
"description": "The symbol whose latest catalyst to score.",
"default": ""
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}
catalyst_show
Every field of one catalyst event, with its score broken down as of now.
CLI equivalent: idiotproof catalyst show <id> Examples: idiotproof catalyst show 0190abcd
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Every field of one catalyst event, with its score broken down as of now.",
"properties": {
"id": {
"type": "string",
"description": "The event id (or an id prefix of 6\u002B hex characters).",
"default": ""
}
},
"additionalProperties": false,
"required": [
"id"
]
}
catalyst_sources
Every IP-T602 intake source (press-release wires, StockTwits, Reddit): on/off, Vault key, last poll and session counts; never shows a key.
CLI equivalent: idiotproof catalyst sources Examples: idiotproof catalyst sources
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Every IP-T602 intake source (press-release wires, StockTwits, Reddit): on/off, Vault key, last poll and session counts; never shows a key.",
"properties": {},
"additionalProperties": false
}
corporate_actions_list
Splits, dividends, mergers, spinoffs and name changes from Alpaca (Market Data or Trading API announcements) over a date window.
CLI equivalent: idiotproof corporate-actions list [--types <string[]>] [--symbol <string[]>] [--since <date>] [--until <date>] [--source <data|announcements>] [--limit <int>] [--mode <paper|live>] Examples: idiotproof corporate-actions list --symbol AAPL,MSFT --types cash_dividend idiotproof corporate-actions list --types forward_split,reverse_split --since 2026-10-01 --until 2026-11-30 idiotproof corporate-actions list --source announcements --types split --symbol NVDA
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Splits, dividends, mergers, spinoffs and name changes from Alpaca (Market Data or Trading API announcements) over a date window.",
"properties": {
"types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Types, comma separated. data: forward_split, reverse_split, unit_split, cash_dividend, stock_dividend, spin_off, cash_merger, stock_merger, stock_and_cash_merger, redemption, name_change, worthless_removal, rights_distribution. announcements: dividend, merger, spinoff, split."
},
"symbol": {
"type": "array",
"items": {
"type": "string"
},
"description": "Only these symbols, comma separated."
},
"since": {
"type": "string",
"format": "date",
"description": "First date (default 30 days ago, ET)."
},
"until": {
"type": "string",
"format": "date",
"description": "Last date (default 30 days ahead, ET)."
},
"source": {
"type": "string",
"enum": [
"data",
"announcements"
],
"description": "data (Market Data, default) or announcements (Trading API, max 90-day window).",
"default": "data"
},
"limit": {
"type": "integer",
"description": "Rows to show (default 100; the totals line counts them all).",
"default": 100
},
"mode": {
"type": "string",
"enum": [
"paper",
"live"
],
"description": "Alpaca account for --source announcements: paper (default) or live.",
"default": "paper"
}
},
"additionalProperties": false
}
corporate_actions_show
Every field of one Alpaca corporate action, looked up in Market Data and then Trading API announcements.
CLI equivalent: idiotproof corporate-actions show <id> [--mode <paper|live>] Examples: idiotproof corporate-actions show 6a4e1c55-1f0e-4c8e-9a1b-2b1fbd7a4f10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Every field of one Alpaca corporate action, looked up in Market Data and then Trading API announcements.",
"properties": {
"id": {
"type": "string",
"description": "Corporate action id (from corporate-actions list).",
"default": ""
},
"mode": {
"type": "string",
"enum": [
"paper",
"live"
],
"description": "Alpaca account for the announcements lookup: paper (default) or live.",
"default": "paper"
}
},
"additionalProperties": false,
"required": [
"id"
]
}
crypto_bars
OHLCV bars for a crypto pair from Alpaca's US crypto feed (times in ET).
CLI equivalent: idiotproof crypto bars <pair> [--timeframe <string>] [--hours <int>] [--limit <int>] Examples: idiotproof crypto bars BTC/USD idiotproof crypto bars ETH/USD --timeframe 5Min --hours 2
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "OHLCV bars for a crypto pair from Alpaca\u0027s US crypto feed (times in ET).",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD.",
"default": ""
},
"timeframe": {
"type": "string",
"description": "Bar size in Alpaca\u0027s form: 1Min, 5Min, 15Min, 1Hour, 4Hour, 1Day, 1Week (default 1Hour).",
"default": "1Hour"
},
"hours": {
"type": "integer",
"description": "How far back to look, in hours (default 24).",
"default": 24
},
"limit": {
"type": "integer",
"description": "Show at most this many bars, the most recent (default 48).",
"default": 48
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_buy
Buy a crypto pair (fractional, GTC/IOC) through the TransactionGateway. Paper by default; live needs a confirmation code.
CLI equivalent: idiotproof crypto buy <pair> [<qty>] [--notional <decimal>] [--limit <decimal>] [--trigger <decimal>] [--stop <decimal>] [--target <decimal>] [--tif <string>] [--mode <sandbox|paper|live>] [--note <string>] Examples: idiotproof crypto buy BTC/USD 0.001 --limit 70000 --stop 66500 idiotproof crypto buy ETH/USD --notional 250 --stop 2300 --mode live
MOVES MONEY. Sandbox and Paper run immediately. A Live action returns status confirmation-required with a preview and a code instead of executing: show the user the preview verbatim, ask them, and only if they say yes call this tool again with the identical arguments plus confirmation_code. Never invent or reuse a code. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Buy a crypto pair (fractional, GTC/IOC) through the TransactionGateway. Paper by default; live needs a confirmation code.",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD.",
"default": ""
},
"qty": {
"type": "number",
"description": "Coin quantity, fractional allowed (0.0015). Leave out and pass --notional to size by dollars."
},
"notional": {
"type": "number",
"description": "Size by dollar amount instead of coin quantity."
},
"limit": {
"type": "number",
"description": "Limit price. Without it the order is a market order."
},
"trigger": {
"type": "number",
"description": "Stop trigger price: with --limit it makes a stop-limit order."
},
"stop": {
"type": "number",
"description": "Protective stop price for a buy; the Risk Guardian refuses entries without one."
},
"target": {
"type": "number",
"description": "Take-profit price (for the reward:risk check)."
},
"tif": {
"type": "string",
"description": "Time in force: gtc (default) or ioc.",
"default": "gtc"
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper (default) or live (needs a confirmation code). Sandbox does not simulate crypto.",
"default": "paper"
},
"note": {
"type": "string",
"description": "Why: kept in the audit trail."
},
"confirmation_code": {
"type": "string",
"description": "Only after the user explicitly approves the preview: the code a previous call of this tool returned."
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_fee_estimate
Alpaca's network fee estimate for sending a coin to an address (read-only, nothing is sent).
CLI equivalent: idiotproof crypto fee-estimate <asset> <amount> <to> [--from <string>] [--mode <sandbox|paper|live>] Examples: idiotproof crypto fee-estimate BTC 0.01 bc1qexampleaddress --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Alpaca\u0027s network fee estimate for sending a coin to an address (read-only, nothing is sent).",
"properties": {
"asset": {
"type": "string",
"description": "Coin to send, e.g. BTC.",
"default": ""
},
"amount": {
"type": "number",
"description": "Amount of the coin to send.",
"default": 0
},
"to": {
"type": "string",
"description": "Destination address.",
"default": ""
},
"from": {
"type": "string",
"description": "Source address (default: your Alpaca wallet)."
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper or live (default paper).",
"default": "paper"
}
},
"additionalProperties": false,
"required": [
"asset",
"amount",
"to"
]
}
crypto_latest
The latest trade, quote and minute bar for a crypto pair.
CLI equivalent: idiotproof crypto latest <pair> Examples: idiotproof crypto latest BTC/USD
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The latest trade, quote and minute bar for a crypto pair.",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD (BTC-USD and BTCUSD work too).",
"default": ""
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_orderbook
The latest order book for a crypto pair: bids and asks side by side.
CLI equivalent: idiotproof crypto orderbook <pair> [--depth <int>] Examples: idiotproof crypto orderbook BTC/USD idiotproof crypto orderbook ETH/USD --depth 20
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The latest order book for a crypto pair: bids and asks side by side.",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD.",
"default": ""
},
"depth": {
"type": "integer",
"description": "Price levels per side (default 10).",
"default": 10
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_positions
Your crypto holdings in the Alpaca paper and live accounts: quantity, cost, price, unrealized P&L.
CLI equivalent: idiotproof crypto positions [--mode <all|paper|live>] Examples: idiotproof crypto positions idiotproof crypto positions --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Your crypto holdings in the Alpaca paper and live accounts: quantity, cost, price, unrealized P\u0026L.",
"properties": {
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
crypto_quotes
Recent best bid/ask quotes for a crypto pair, with the spread.
CLI equivalent: idiotproof crypto quotes <pair> [--minutes <int>] [--limit <int>] Examples: idiotproof crypto quotes BTC/USD
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Recent best bid/ask quotes for a crypto pair, with the spread.",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD.",
"default": ""
},
"minutes": {
"type": "integer",
"description": "How far back to look, in minutes (default 5).",
"default": 5
},
"limit": {
"type": "integer",
"description": "Show at most this many, the most recent (default 30).",
"default": 30
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_sell
Sell crypto you hold (crypto is long-only). Exits always clear the gates; live needs a confirmation code.
CLI equivalent: idiotproof crypto sell <pair> [<qty>] [--notional <decimal>] [--limit <decimal>] [--trigger <decimal>] [--stop <decimal>] [--target <decimal>] [--tif <string>] [--mode <sandbox|paper|live>] [--note <string>] Examples: idiotproof crypto sell BTC/USD 0.001 idiotproof crypto sell ETH/USD --notional 100 --limit 2600 --tif ioc --mode live
MOVES MONEY. Sandbox and Paper run immediately. A Live action returns status confirmation-required with a preview and a code instead of executing: show the user the preview verbatim, ask them, and only if they say yes call this tool again with the identical arguments plus confirmation_code. Never invent or reuse a code. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Sell crypto you hold (crypto is long-only). Exits always clear the gates; live needs a confirmation code.",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD.",
"default": ""
},
"qty": {
"type": "number",
"description": "Coin quantity, fractional allowed (0.0015). Leave out and pass --notional to size by dollars."
},
"notional": {
"type": "number",
"description": "Size by dollar amount instead of coin quantity."
},
"limit": {
"type": "number",
"description": "Limit price. Without it the order is a market order."
},
"trigger": {
"type": "number",
"description": "Stop trigger price: with --limit it makes a stop-limit order."
},
"stop": {
"type": "number",
"description": "Protective stop price for a buy; the Risk Guardian refuses entries without one."
},
"target": {
"type": "number",
"description": "Take-profit price (for the reward:risk check)."
},
"tif": {
"type": "string",
"description": "Time in force: gtc (default) or ioc.",
"default": "gtc"
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper (default) or live (needs a confirmation code). Sandbox does not simulate crypto.",
"default": "paper"
},
"note": {
"type": "string",
"description": "Why: kept in the audit trail."
},
"confirmation_code": {
"type": "string",
"description": "Only after the user explicitly approves the preview: the code a previous call of this tool returned."
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_snapshot
Snapshot of a crypto pair: latest trade and quote, minute bar, today's and the prior daily bar.
CLI equivalent: idiotproof crypto snapshot <pair> Examples: idiotproof crypto snapshot BTC/USD
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Snapshot of a crypto pair: latest trade and quote, minute bar, today\u0027s and the prior daily bar.",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD (BTC-USD and BTCUSD work too).",
"default": ""
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_trades
Recent trade prints for a crypto pair (price, size, taker side).
CLI equivalent: idiotproof crypto trades <pair> [--minutes <int>] [--limit <int>] Examples: idiotproof crypto trades BTC/USD idiotproof crypto trades SOL/USD --minutes 30 --limit 100
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Recent trade prints for a crypto pair (price, size, taker side).",
"properties": {
"pair": {
"type": "string",
"description": "Crypto pair, e.g. BTC/USD.",
"default": ""
},
"minutes": {
"type": "integer",
"description": "How far back to look, in minutes (default 5).",
"default": 5
},
"limit": {
"type": "integer",
"description": "Show at most this many, the most recent (default 30).",
"default": 30
}
},
"additionalProperties": false,
"required": [
"pair"
]
}
crypto_transfers
Crypto deposits and withdrawals on your Alpaca accounts: status, amount, fees, addresses (ET).
CLI equivalent: idiotproof crypto transfers [--id <string>] [--mode <all|paper|live>] Examples: idiotproof crypto transfers idiotproof crypto transfers --mode live --id 6b1f0c0e-4b8a-4a4e-9b55-0d7c1f2a3b4c
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Crypto deposits and withdrawals on your Alpaca accounts: status, amount, fees, addresses (ET).",
"properties": {
"id": {
"type": "string",
"description": "Show one transfer by its id."
},
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
crypto_wallets
Your Alpaca crypto deposit wallets (address per coin) on paper and live; fails closed when funding is not enabled.
CLI equivalent: idiotproof crypto wallets [--asset <string>] [--network <string>] [--mode <all|paper|live>] Examples: idiotproof crypto wallets idiotproof crypto wallets --asset USDC --network ethereum --mode live
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Your Alpaca crypto deposit wallets (address per coin) on paper and live; fails closed when funding is not enabled.",
"properties": {
"asset": {
"type": "string",
"description": "Only this coin\u0027s deposit wallet, e.g. BTC (default: every wallet Alpaca returns)."
},
"network": {
"type": "string",
"description": "Chain for multi-chain coins, e.g. ethereum or solana."
},
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all). Crypto funding is usually live-only.",
"default": "all"
}
},
"additionalProperties": false
}
crypto_whitelist
Addresses your Alpaca accounts may withdraw crypto to, with their approval status.
CLI equivalent: idiotproof crypto whitelist [--mode <all|paper|live>] Examples: idiotproof crypto whitelist
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Addresses your Alpaca accounts may withdraw crypto to, with their approval status.",
"properties": {
"mode": {
"type": "string",
"enum": [
"all",
"paper",
"live"
],
"description": "paper, live or all (default all).",
"default": "all"
}
},
"additionalProperties": false
}
crypto_whitelist_add
Ask Alpaca to whitelist a withdrawal address. Always previews and needs a confirmation code.
CLI equivalent: idiotproof crypto whitelist-add <asset> <address> [--mode <sandbox|paper|live>] Examples: idiotproof crypto whitelist-add BTC bc1qexampleaddress --mode live
MOVES MONEY. Sandbox and Paper run immediately. A Live action returns status confirmation-required with a preview and a code instead of executing: show the user the preview verbatim, ask them, and only if they say yes call this tool again with the identical arguments plus confirmation_code. Never invent or reuse a code. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Ask Alpaca to whitelist a withdrawal address. Always previews and needs a confirmation code.",
"properties": {
"asset": {
"type": "string",
"description": "Coin the address receives, e.g. BTC.",
"default": ""
},
"address": {
"type": "string",
"description": "Address to allow withdrawals to.",
"default": ""
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper or live (default paper). Always needs a confirmation code.",
"default": "paper"
},
"confirmation_code": {
"type": "string",
"description": "Only after the user explicitly approves the preview: the code a previous call of this tool returned."
}
},
"additionalProperties": false,
"required": [
"asset",
"address"
]
}
crypto_whitelist_remove
Remove a whitelisted withdrawal address. Always previews and needs a confirmation code.
CLI equivalent: idiotproof crypto whitelist-remove <id> [--mode <sandbox|paper|live>] Examples: idiotproof crypto whitelist-remove 2a9c7f3e-11aa-4bcd-9e01-6f0b2c3d4e5f --mode live
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Remove a whitelisted withdrawal address. Always previews and needs a confirmation code.",
"properties": {
"id": {
"type": "string",
"description": "Whitelist entry id (from \u0060idiotproof crypto whitelist\u0060).",
"default": ""
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper or live (default paper). Always needs a confirmation code.",
"default": "paper"
}
},
"additionalProperties": false,
"required": [
"id"
]
}
crypto_withdraw
Send coins from your Alpaca account to a whitelisted address. Always previews and needs a confirmation code.
CLI equivalent: idiotproof crypto withdraw <asset> <amount> <address> [--mode <sandbox|paper|live>] [--note <string>] Examples: idiotproof crypto withdraw BTC 0.01 bc1qexampleaddress --mode live
MOVES MONEY. Sandbox and Paper run immediately. A Live action returns status confirmation-required with a preview and a code instead of executing: show the user the preview verbatim, ask them, and only if they say yes call this tool again with the identical arguments plus confirmation_code. Never invent or reuse a code. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Send coins from your Alpaca account to a whitelisted address. Always previews and needs a confirmation code.",
"properties": {
"asset": {
"type": "string",
"description": "Coin to withdraw, e.g. BTC.",
"default": ""
},
"amount": {
"type": "number",
"description": "Amount of the coin to send.",
"default": 0
},
"address": {
"type": "string",
"description": "Destination address (must be on your whitelist).",
"default": ""
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "paper or live (default paper). Always needs a confirmation code.",
"default": "paper"
},
"note": {
"type": "string",
"description": "Why: kept in the audit trail."
},
"confirmation_code": {
"type": "string",
"description": "Only after the user explicitly approves the preview: the code a previous call of this tool returned."
}
},
"additionalProperties": false,
"required": [
"asset",
"amount",
"address"
]
}
dataset_export
Export the replay feature store as ML-ready CSVs (trades.csv, bars.csv, manifest.json), backfilling older runs first.
CLI equivalent: idiotproof dataset export [--out <string>] Examples: idiotproof dataset export idiotproof dataset export --out C:\data\idiotproof
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Export the replay feature store as ML-ready CSVs (trades.csv, bars.csv, manifest.json), backfilling older runs first.",
"properties": {
"out": {
"type": "string",
"description": "Folder to write trades.csv, bars.csv and manifest.json (default the mindattic.com dataset folder)."
}
},
"additionalProperties": false
}
diary_export
Export your trade diary to a CSV file (ET times, P&L, risk plan, R), or print it with --csv -.
CLI equivalent: idiotproof diary export --csv <string> [--overwrite] [--since <date>] [--until <date>] [--mode <sandbox|paper|live>] [--symbol <string>] [--strategy <string>] Examples: idiotproof diary export --csv C:/Users/me/Documents/diary.csv idiotproof diary export --csv - --mode live --since 2026-01-01
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Export your trade diary to a CSV file (ET times, P\u0026L, risk plan, R), or print it with --csv -.",
"properties": {
"csv": {
"type": "string",
"description": "Absolute path of the CSV file to write on the Hub\u0027s machine, or - to return the CSV text.",
"default": ""
},
"overwrite": {
"type": "boolean",
"description": "Replace the file if it already exists.",
"default": false
},
"since": {
"type": "string",
"format": "date",
"description": "First ET date of entry, yyyy-MM-dd (default: everything)."
},
"until": {
"type": "string",
"format": "date",
"description": "Last ET date of entry, yyyy-MM-dd (default: today)."
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Only trades in this mode: sandbox, paper or live."
},
"symbol": {
"type": "string",
"description": "Only this symbol."
},
"strategy": {
"type": "string",
"description": "Only this strategy: an id prefix or part of its title at trade time."
}
},
"additionalProperties": false,
"required": [
"csv"
]
}
diary_list
Your trade diary, newest first: entry/exit, mode, size, exit reason and realized P&L.
CLI equivalent: idiotproof diary list [--status <string>] [--limit <int>] [--since <date>] [--until <date>] [--mode <sandbox|paper|live>] [--symbol <string>] [--strategy <string>] Examples: idiotproof diary list idiotproof diary list --since 2026-10-01 --mode paper --symbol NVDA idiotproof diary list --status open
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Your trade diary, newest first: entry/exit, mode, size, exit reason and realized P\u0026L.",
"properties": {
"status": {
"type": "string",
"description": "Only this lifecycle state: open, closed, notfilled or orphaned."
},
"limit": {
"type": "integer",
"description": "Most trades to show, newest entry first, 1-5000 (default 50).",
"default": 50
},
"since": {
"type": "string",
"format": "date",
"description": "First ET date of entry, yyyy-MM-dd (default: everything)."
},
"until": {
"type": "string",
"format": "date",
"description": "Last ET date of entry, yyyy-MM-dd (default: today)."
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Only trades in this mode: sandbox, paper or live."
},
"symbol": {
"type": "string",
"description": "Only this symbol."
},
"strategy": {
"type": "string",
"description": "Only this strategy: an id prefix or part of its title at trade time."
}
},
"additionalProperties": false
}
diary_pnl
Realized P&L from closed trades per day, week or month (ET), optionally by strategy or symbol.
CLI equivalent: idiotproof diary pnl [--day] [--week] [--month] [--by <strategy|symbol>] [--since <date>] [--until <date>] [--mode <sandbox|paper|live>] [--symbol <string>] [--strategy <string>] Examples: idiotproof diary pnl idiotproof diary pnl --week --by strategy idiotproof diary pnl --month --mode live --since 2026-01-01
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Realized P\u0026L from closed trades per day, week or month (ET), optionally by strategy or symbol.",
"properties": {
"day": {
"type": "boolean",
"description": "One row per ET trading day (the default).",
"default": false
},
"week": {
"type": "boolean",
"description": "One row per week (Monday-Sunday, ET).",
"default": false
},
"month": {
"type": "boolean",
"description": "One row per calendar month (ET).",
"default": false
},
"by": {
"type": "string",
"enum": [
"strategy",
"symbol"
],
"description": "Also split each period by strategy or symbol."
},
"since": {
"type": "string",
"format": "date",
"description": "First ET date of entry, yyyy-MM-dd (default: everything)."
},
"until": {
"type": "string",
"format": "date",
"description": "Last ET date of entry, yyyy-MM-dd (default: today)."
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Only trades in this mode: sandbox, paper or live."
},
"symbol": {
"type": "string",
"description": "Only this symbol."
},
"strategy": {
"type": "string",
"description": "Only this strategy: an id prefix or part of its title at trade time."
}
},
"additionalProperties": false
}
diary_show
One diary trade in full: entry, exit, order ids, the risk plan that managed it, P&L and R.
CLI equivalent: idiotproof diary show <trade> Examples: idiotproof diary show 0193a7c2
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "One diary trade in full: entry, exit, order ids, the risk plan that managed it, P\u0026L and R.",
"properties": {
"trade": {
"type": "string",
"description": "Diary trade id, or the 8-character prefix \u0060diary list\u0060 shows.",
"default": ""
}
},
"additionalProperties": false,
"required": [
"trade"
]
}
diary_stats
Trading performance from the diary: win rate, expectancy, profit factor, avg R, MFE/MAE, drawdown.
CLI equivalent: idiotproof diary stats [--by <strategy|symbol>] [--since <date>] [--until <date>] [--mode <sandbox|paper|live>] [--symbol <string>] [--strategy <string>] Examples: idiotproof diary stats idiotproof diary stats --mode paper --since 2026-10-01 idiotproof diary stats --by strategy
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Trading performance from the diary: win rate, expectancy, profit factor, avg R, MFE/MAE, drawdown.",
"properties": {
"by": {
"type": "string",
"enum": [
"strategy",
"symbol"
],
"description": "Also break the numbers down per strategy or per symbol."
},
"since": {
"type": "string",
"format": "date",
"description": "First ET date of entry, yyyy-MM-dd (default: everything)."
},
"until": {
"type": "string",
"format": "date",
"description": "Last ET date of entry, yyyy-MM-dd (default: today)."
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Only trades in this mode: sandbox, paper or live."
},
"symbol": {
"type": "string",
"description": "Only this symbol."
},
"strategy": {
"type": "string",
"description": "Only this strategy: an id prefix or part of its title at trade time."
}
},
"additionalProperties": false
}
docs_dsl
Explain one IdiotScript verb: phase, signatures, meaning, doc comment, an example from its real signature, and uses.
CLI equivalent: idiotproof docs dsl <verb> Examples: idiotproof docs dsl StopLoss idiotproof docs dsl IsAboveVwap --json idiotproof docs dsl IPS006
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Explain one IdiotScript verb: phase, signatures, meaning, doc comment, an example from its real signature, and uses.",
"properties": {
"verb": {
"type": "string",
"description": "An IdiotScript verb or alias (StopLoss, IsAboveVwap, OnReclaim, RequireAdxAbove, ...) or a diagnostic code (IPS006).",
"default": ""
}
},
"additionalProperties": false,
"required": [
"verb"
]
}
docs_explain
Explain a type or member: its doc comment, where it is declared (path:line), its members and its callers.
Callers are found by text (every line naming it as a whole word, comments and the declaration skipped), so overloads and same-named members elsewhere also show.
CLI equivalent: idiotproof docs explain <symbol> [--callers <int>] Examples: idiotproof docs explain TransactionGateway idiotproof docs explain TransactionGateway.SubmitAsync --callers 5 idiotproof docs explain T:IdiotProof.Core.Trading.OrderIntent --json
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Explain a type or member: its doc comment, where it is declared (path:line), its members and its callers.",
"properties": {
"symbol": {
"type": "string",
"description": "A type or member: TransactionGateway, TransactionGateway.SubmitAsync, a full name, or an XML doc id (T:..., M:...).",
"default": ""
},
"callers": {
"type": "integer",
"description": "Most lines that mention it to list (default 15; 0 for none).",
"default": 15
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}
docs_law
Show one BIBLE law (IP-LAW-n) in full, or list every law.
CLI equivalent: idiotproof docs law [<n>] Examples: idiotproof docs law 3 idiotproof docs law
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Show one BIBLE law (IP-LAW-n) in full, or list every law.",
"properties": {
"n": {
"type": "string",
"description": "The law: 3, LAW-3 or IP-LAW-3. Leave out to list every law."
}
},
"additionalProperties": false
}
docs_search
Search everything IdiotProof knows about itself: BIBLE, docs, stories, tickets, code docs and catalogs.
Results are ranked: an exact id first, then entries holding every word (title and id hits weigh most). Follow up with docs law, docs section, docs story, docs ticket or docs explain.
CLI equivalent: idiotproof docs search <text>... [--kind <section|law|doc|story|ticket|symbol|catalog>] [--limit <int>] [--refresh] Examples: idiotproof docs search transaction gateway idiotproof docs search "peak giveback" --kind story idiotproof docs search IP-LAW-9 --json
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Search everything IdiotProof knows about itself: BIBLE, docs, stories, tickets, code docs and catalogs.",
"properties": {
"text": {
"type": "array",
"items": {
"type": "string"
},
"description": "What to look for: words, a phrase, or an id like IP-LAW-3, IP-US-K1, IP-T259, \u00A74, TransactionGateway."
},
"kind": {
"type": "string",
"enum": [
"section",
"law",
"doc",
"story",
"ticket",
"symbol",
"catalog"
],
"description": "Only one kind: section, law, doc, story, ticket, symbol or catalog."
},
"limit": {
"type": "integer",
"description": "Most results to show (default 15).",
"default": 15
},
"refresh": {
"type": "boolean",
"description": "Re-read the docs, code and tickets first (the index otherwise refreshes every 30 minutes).",
"default": false
}
},
"additionalProperties": false,
"required": [
"text"
]
}
docs_section
Show one BIBLE section (IP-§n, subsections included), or the table of contents.
CLI equivalent: idiotproof docs section [<section>] Examples: idiotproof docs section 4 idiotproof docs section 4.4 idiotproof docs section
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Show one BIBLE section (IP-\u00A7n, subsections included), or the table of contents.",
"properties": {
"section": {
"type": "string",
"description": "The BIBLE section: 4, \u00A74, 4.4 or IP-\u00A74. Leave out to list the sections."
}
},
"additionalProperties": false
}
docs_story
Show one user story (IP-US-*) with its status and proving tests, or list an epic's stories.
CLI equivalent: idiotproof docs story [<id>] [--epic <string>] [--status <string>] Examples: idiotproof docs story K1 idiotproof docs story --epic W idiotproof docs story --status planned
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Show one user story (IP-US-*) with its status and proving tests, or list an epic\u0027s stories.",
"properties": {
"id": {
"type": "string",
"description": "The story: K1, US-K1 or IP-US-K1. Leave out and pass --epic or --status to list stories."
},
"epic": {
"type": "string",
"description": "List the stories of one epic by letter (K, W, ...)."
},
"status": {
"type": "string",
"description": "List only stories with this status: done, partial or planned."
}
},
"additionalProperties": false
}
docs_ticket
Show one ticket: status, description, requires / required-by, the commits that name it, and its history.
CLI equivalent: idiotproof docs ticket <id> [--history] Examples: idiotproof docs ticket IP-T259 idiotproof docs ticket 266 --history
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Show one ticket: status, description, requires / required-by, the commits that name it, and its history.",
"properties": {
"id": {
"type": "string",
"description": "The ticket: IP-T259, T259 or 259.",
"default": ""
},
"history": {
"type": "boolean",
"description": "Also list every recorded change (status, priority, approval, links) with its ET time.",
"default": false
}
},
"additionalProperties": false,
"required": [
"id"
]
}
dsl_diagnostics
Every IdiotScript diagnostic code (IPS001...): severity, meaning, and what its fix does or why it has none.
CLI equivalent: idiotproof dsl diagnostics [] Examples: idiotproof dsl diagnostics idiotproof dsl diagnostics IPS006 idiotproof dsl diagnostics --json
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Every IdiotScript diagnostic code (IPS001...): severity, meaning, and what its fix does or why it has none.",
"properties": {
"code": {
"type": "string",
"description": "One diagnostic code (IPS001, IPS013, ...); omit to list every code."
}
},
"additionalProperties": false
}dsl_format
Render canonical strategy JSON (or a stamp) as IdiotScript text, checking it parses back to the same strategy.
CLI equivalent: idiotproof dsl format <text> Examples: idiotproof dsl format -
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Render canonical strategy JSON (or a stamp) as IdiotScript text, checking it parses back to the same strategy.",
"properties": {
"text": {
"type": "string",
"description": "IdiotScript, canonical JSON or a stamp; \u0060-\u0060 reads it from stdin.",
"default": ""
}
},
"additionalProperties": false,
"required": [
"text"
]
}dsl_glossary
Plain-English meaning of IdiotScript verbs: every entry, or one verb (aliases resolve).
CLI equivalent: idiotproof dsl glossary [<verb>] Examples: idiotproof dsl glossary idiotproof dsl glossary IsAboveVwap
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Plain-English meaning of IdiotScript verbs: every entry, or one verb (aliases resolve).",
"properties": {
"verb": {
"type": "string",
"description": "A verb name or alias (IsAboveVwap, StopLoss, RequireAdxAbove, ...); omit to list every entry."
}
},
"additionalProperties": false
}dsl_parse
Parse IdiotScript (or JSON or a stamp) into the canonical strategy JSON the Monitor evaluates; nothing is saved.
CLI equivalent: idiotproof dsl parse <text> [--fix] Examples: idiotproof dsl parse "Ticker("NVDA").IsAboveVwap().Long().StopLoss(2).TakeProfit(5)" idiotproof dsl parse - idiotproof dsl parse "Ticker("NVDA").IsAbveVwap().Long().StopLoss(2)" --fix
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Parse IdiotScript (or JSON or a stamp) into the canonical strategy JSON the Monitor evaluates; nothing is saved.",
"properties": {
"text": {
"type": "string",
"description": "IdiotScript, canonical JSON or a stamp; \u0060-\u0060 reads it from stdin.",
"default": ""
},
"fix": {
"type": "boolean",
"description": "Apply every determinable fix to the IdiotScript and return the corrected script as the result (nothing is saved). Without it the fixes and the corrected script are only reported.",
"default": false
}
},
"additionalProperties": false,
"required": [
"text"
]
}dsl_schema
The JSON Schema of the canonical strategy JSON, generated from the strict reader's own key tables (IP-LAW-4).
CLI equivalent: idiotproof dsl schema [<object>] Examples: idiotproof dsl schema idiotproof dsl schema --json idiotproof dsl schema indicatorCondition
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The JSON Schema of the canonical strategy JSON, generated from the strict reader\u0027s own key tables (IP-LAW-4).",
"properties": {
"object": {
"type": "string",
"description": "Only one object of the schema: strategy, step, condition, takeProfitTarget, conditionalBlock, branch, overrides, or a condition type such as indicatorCondition; omit for the whole schema."
}
},
"additionalProperties": false
}dsl_validate
Validate IdiotScript/JSON against the phase rules and the gates, failing closed with every reason (nothing is saved).
CLI equivalent: idiotproof dsl validate <text> [--fix] Examples: idiotproof dsl validate "Ticker("NVDA").IsAboveVwap().Long().StopLoss(2).TakeProfit(5)" idiotproof dsl validate - idiotproof dsl validate "Ticker("NVDA").IsAbveVwap().Long().StopLoss(2)" --fix
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Validate IdiotScript/JSON against the phase rules and the gates, failing closed with every reason (nothing is saved).",
"properties": {
"text": {
"type": "string",
"description": "IdiotScript, canonical JSON or a stamp; \u0060-\u0060 reads it from stdin.",
"default": ""
},
"fix": {
"type": "boolean",
"description": "Apply every determinable fix to the IdiotScript and return the corrected script as the result (nothing is saved). Without it the fixes and the corrected script are only reported.",
"default": false
}
},
"additionalProperties": false,
"required": [
"text"
]
}dsl_verbs
The IdiotScript verb catalog by phase, reflected from the code that compiles it (IP-LAW-4).
CLI equivalent: idiotproof dsl verbs [--phase <string>] Examples: idiotproof dsl verbs idiotproof dsl verbs --phase risk idiotproof dsl verbs --phase conditions
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The IdiotScript verb catalog by phase, reflected from the code that compiles it (IP-LAW-4).",
"properties": {
"phase": {
"type": "string",
"description": "Only one phase: setup, filters, entry, order, risk, exit, or conditions (the static If/ElseIf catalog)."
}
},
"additionalProperties": false
}evidence_calibration
Learned-vs-realized calibration per template: predicted probability buckets vs realized win rate, Brier score against the base-rate baseline, sample counts.
CLI equivalent: idiotproof evidence calibration [--source <string>] [--buckets <int>] Examples: idiotproof evidence calibration idiotproof evidence calibration --source exhaustion --buckets 4
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Learned-vs-realized calibration per template: predicted probability buckets vs realized win rate, Brier score against the base-rate baseline, sample counts.",
"properties": {
"source": {
"type": "string",
"description": "exhaustion, adaptation or all (default).",
"default": "all"
},
"buckets": {
"type": "integer",
"description": "Probability buckets across 0..1 (default 5).",
"default": 5
}
},
"additionalProperties": false
}evidence_conformal
Split and adaptive conformal intervals around analog or Kalman forward-return forecasts: coverage vs nominal per month, and an abstain-unless-the-interval-excludes-zero rule scored with day-clustered significance.
CLI equivalent: idiotproof evidence conformal <symbols>... [--from <date>] [--to <date>] [--model <analog|kalman>] [--alpha <number>] [--gamma <number>] [--horizon <int>] [--window <int>] [--train-days <int>] [--warmup-days <int>] [--min-similarity <number>] [--entry <next-open|close>] Examples: idiotproof evidence conformal SNDL MULN --from 2026-08-03 --to 2026-10-30 idiotproof evidence conformal SNDL --model kalman --alpha 0.2 --horizon 10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Split and adaptive conformal intervals around analog or Kalman forward-return forecasts: coverage vs nominal per month, and an abstain-unless-the-interval-excludes-zero rule scored with day-clustered significance.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "One or more tickers, e.g. SNDL MULN."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 40 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: yesterday ET)."
},
"model": {
"type": "string",
"enum": [
"analog",
"kalman"
],
"description": "analog: the mean forward return of LSH look-alike windows from prior sessions. kalman: the local-trend filter\u0027s slope \u00D7 horizon, fitted on the warm-up sessions.",
"default": "analog"
},
"alpha": {
"type": "number",
"description": "Miss rate the intervals target (default 0.1 = 90% intervals).",
"default": 0.1
},
"gamma": {
"type": "number",
"description": "Adaptive conformal learning rate (default 0.005).",
"default": 0.005
},
"horizon": {
"type": "integer",
"description": "Minute bars ahead (default 15).",
"default": 15
},
"window": {
"type": "integer",
"description": "Bars per pattern window / filter burn-in (default 30).",
"default": 30
},
"train_days": {
"type": "integer",
"description": "Analog: prior sessions searched for look-alikes (default 20).",
"default": 20
},
"warmup_days": {
"type": "integer",
"description": "Sessions before the first forecast; kalman fits its noise variances on them (default 5).",
"default": 5
},
"min_similarity": {
"type": "number",
"description": "Analog: least cosine similarity of a look-alike (default 0.8).",
"default": 0.8
},
"entry": {
"type": "string",
"enum": [
"next-open",
"close"
],
"description": "next-open (default: fill at the next bar\u0027s open, immune to bid-ask bounce) or close (fill at the signal bar\u0027s close; a diagnostic).",
"default": "next-open"
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_events
Event study of Research claims: market-model abnormal returns and CARs per claim type/sentiment/insider code, with Patell, BMP and placebo-bootstrap significance.
CLI equivalent: idiotproof evidence events [--from <date>] [--to <date>] [--type <string>] [--windows <string>] [--estimation <int>] [--gap <int>] [--min-events <int>] [--bootstrap <int>] [--seed <int>] [--benchmark <string>] [--max-daily-move <number>] Examples: idiotproof evidence events idiotproof evidence events --type Insider --windows 0:1,0:5 --from 2026-05-01
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Event study of Research claims: market-model abnormal returns and CARs per claim type/sentiment/insider code, with Patell, BMP and placebo-bootstrap significance.",
"properties": {
"from": {
"type": "string",
"format": "date",
"description": "First claim article day (yyyy-MM-dd, default: 180 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last claim article day (yyyy-MM-dd, default: today ET)."
},
"type": {
"type": "string",
"description": "Only this claim type (Earnings, Contract, Insider, MA, Guidance, Regulatory, News, IndexEvent)."
},
"windows": {
"type": "string",
"description": "Event windows in trading days, start:end, comma-separated (default -1:1,0:1,0:5).",
"default": "-1:1,0:1,0:5"
},
"estimation": {
"type": "integer",
"description": "Estimation-window length in trading days (default 120).",
"default": 120
},
"gap": {
"type": "integer",
"description": "Trading days between the estimation window and the event window (default 10).",
"default": 10
},
"min_events": {
"type": "integer",
"description": "Fewest valid events a group needs to be reported (default 5).",
"default": 5
},
"bootstrap": {
"type": "integer",
"description": "Placebo bootstrap draws (default 1000; 0 skips it).",
"default": 1000
},
"seed": {
"type": "integer",
"description": "Bootstrap seed (default 1337).",
"default": 1337
},
"benchmark": {
"type": "string",
"description": "Market benchmark symbol (default SPY).",
"default": "SPY"
},
"max_daily_move": {
"type": "number",
"description": "Drop events whose windows hold a daily return above this (default 2.0 = \u002B200%, or below -66.7%). Bars are split-adjusted from Alpaca corporate actions; this guard catches splits the feed missed.",
"default": 2
}
},
"additionalProperties": false
}evidence_flow
Order-flow evidence: imbalance, VPIN, Kyle's lambda and absorption bucketed against forward returns, scored on held-out sessions.
CLI equivalent: idiotproof evidence flow <symbol> [--from <date>] [--to <date>] [--horizon <int>] [--bins <int>] [--signing <tick|lee-ready|bulk>] [--train <number>] [--vpin-window <int>] [--lambda-window <int>] Examples: idiotproof evidence flow SNDL --from 2026-10-20 --to 2026-10-31 idiotproof evidence flow MULN --signing bulk --horizon 10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Order-flow evidence: imbalance, VPIN, Kyle\u0027s lambda and absorption bucketed against forward returns, scored on held-out sessions.",
"properties": {
"symbol": {
"type": "string",
"description": "Ticker, e.g. SNDL.",
"default": ""
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 10 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: yesterday ET)."
},
"horizon": {
"type": "integer",
"description": "Minute bars ahead to measure (default 5).",
"default": 5
},
"bins": {
"type": "integer",
"description": "Quantile buckets per metric (default 5).",
"default": 5
},
"signing": {
"type": "string",
"enum": [
"tick",
"lee-ready",
"bulk"
],
"description": "tick (default: tick rule on trades), lee-ready (trades vs quote midpoint; fetches quotes) or bulk (bar-only bulk classification).",
"default": "tick"
},
"train": {
"type": "number",
"description": "Share of sessions used to learn bucket edges (default 0.67); the rest is the held-out test.",
"default": 0.67
},
"vpin_window": {
"type": "integer",
"description": "VPIN buckets averaged (default 50).",
"default": 50
},
"lambda_window": {
"type": "integer",
"description": "Bars per Kyle\u0027s lambda regression (default 30).",
"default": 30
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}evidence_graph
Correlation graph across symbols (lag 0 or 1) and the hop-decayed influence of a shock at a source symbol.
CLI equivalent: idiotproof evidence graph <symbols>... [--source <string>] [--lag <int>] [--edge <correlation|te>] [--alpha <number>] [--clean <none|rmt>] [--min-corr <number>] [--beta <number>] [--from <date>] [--to <date>] [--timeframe <minute|day>] [--session <rth|all>] Examples: idiotproof evidence graph SNDL TLRY CGC ACB --source TLRY idiotproof evidence graph SPY IWM MULN --lag 1 --source SPY
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Correlation graph across symbols (lag 0 or 1) and the hop-decayed influence of a shock at a source symbol.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "Two or more tickers, e.g. SNDL TLRY CGC ACB."
},
"source": {
"type": "string",
"description": "Symbol whose shock is propagated (default: the first symbol)."
},
"lag": {
"type": "integer",
"description": "0 = moves together (default); 1 = the source\u0027s bar predicts the other\u0027s next bar.",
"default": 0
},
"edge": {
"type": "string",
"enum": [
"correlation",
"te"
],
"description": "correlation (default) or te: transfer entropy beating shuffled surrogates (directional, implies --lag 1).",
"default": "correlation"
},
"alpha": {
"type": "number",
"description": "With --edge te, the surrogate-test significance an edge must reach (default 0.05).",
"default": 0.05
},
"clean": {
"type": "string",
"enum": [
"none",
"rmt"
],
"description": "none (default) or rmt: keep only correlation the data can tell from chance (lag 0: Marchenko-Pastur eigenvalue clipping; lag 1: the 2.5/sqrt(T) noise floor). Correlation edges only; --edge te already tests each edge against shuffled surrogates.",
"default": "none"
},
"min_corr": {
"type": "number",
"description": "Least |correlation| that makes an edge (default 0.2).",
"default": 0.2
},
"beta": {
"type": "number",
"description": "Per-hop decay of influence, 0-1 exclusive (default 0.5).",
"default": 0.5
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 5 days before --to for minute, 120 for day)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: today ET)."
},
"timeframe": {
"type": "string",
"enum": [
"minute",
"day"
],
"description": "minute (default) or day.",
"default": "minute"
},
"session": {
"type": "string",
"enum": [
"rth",
"all"
],
"description": "rth (default) or all.",
"default": "rth"
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_hawkes
Hawkes self-exciting fit of trade arrivals (branching ratio = endogenous share) and a momentum-ignition detector scored against forward returns on held-out sessions.
CLI equivalent: idiotproof evidence hawkes <symbol> [--from <date>] [--to <date>] [--horizon <int>] [--bins <int>] [--train <number>] [--window <int>] [--spike <number>] [--branching <number>] Examples: idiotproof evidence hawkes SNDL --from 2026-10-20 --to 2026-10-31 idiotproof evidence hawkes MULN --window 5 --spike 4 --branching 0.8
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Hawkes self-exciting fit of trade arrivals (branching ratio = endogenous share) and a momentum-ignition detector scored against forward returns on held-out sessions.",
"properties": {
"symbol": {
"type": "string",
"description": "Ticker, e.g. SNDL.",
"default": ""
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 10 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: yesterday ET)."
},
"horizon": {
"type": "integer",
"description": "Minute bars ahead to measure (default 5).",
"default": 5
},
"bins": {
"type": "integer",
"description": "Quantile buckets for the continuous features (default 5).",
"default": 5
},
"train": {
"type": "number",
"description": "Share of scored sessions used to learn bucket edges (default 0.67); the rest is the held-out test.",
"default": 0.67
},
"window": {
"type": "integer",
"description": "Trailing minutes the detector looks at (default 10).",
"default": 10
},
"spike": {
"type": "number",
"description": "Trade-rate multiple of the prior session\u0027s baseline that counts as a spike (default 3).",
"default": 3
},
"branching": {
"type": "number",
"description": "Rolling branching ratio that counts as self-exciting (default 0.7).",
"default": 0.7
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}evidence_kalman
Kalman trend slope, innovation z and leader pair-residual z bucketed against forward returns, fitted on training sessions and tested on held-out ones.
CLI equivalent: idiotproof evidence kalman <symbols>... [--leader <string>] [--from <date>] [--to <date>] [--horizon <int>] [--bins <int>] [--train <number>] [--entry <next-open|close>] Examples: idiotproof evidence kalman SNDL --from 2026-09-01 --to 2026-10-30 idiotproof evidence kalman MULN SNDL --leader IWM --horizon 10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Kalman trend slope, innovation z and leader pair-residual z bucketed against forward returns, fitted on training sessions and tested on held-out ones.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "One or more tickers, e.g. SNDL MULN."
},
"leader": {
"type": "string",
"description": "Leader for the pair-residual feature (dynamic hedge ratio), e.g. SPY or IWM. Omit to skip it."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 20 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: yesterday ET)."
},
"horizon": {
"type": "integer",
"description": "Minute bars ahead to measure (default 5).",
"default": 5
},
"bins": {
"type": "integer",
"description": "Quantile buckets per feature (default 5).",
"default": 5
},
"train": {
"type": "number",
"description": "Share of sessions used to fit the filter and learn bucket edges (default 0.67); the rest is the held-out test.",
"default": 0.67
},
"entry": {
"type": "string",
"enum": [
"next-open",
"close"
],
"description": "next-open (default: enter at the next bar\u0027s open, immune to bid-ask bounce) or close (enter at the signal bar\u0027s close).",
"default": "next-open"
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_label
Forward-return distribution for a symbol (up/down/flat rates, quantiles, excursions): the base rate a pattern must beat.
CLI equivalent: idiotproof evidence label <symbol> [--from <date>] [--to <date>] [--horizon <int>] [--entry <next-open|close>] [--timeframe <minute|day>] [--dead-band <number>] [--session <rth|all>] Examples: idiotproof evidence label SNDL --from 2026-10-01 --to 2026-10-31 --horizon 10 idiotproof evidence label AAPL --timeframe day --from 2026-01-02 --horizon 5
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Forward-return distribution for a symbol (up/down/flat rates, quantiles, excursions): the base rate a pattern must beat.",
"properties": {
"symbol": {
"type": "string",
"description": "Ticker, e.g. SNDL.",
"default": ""
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 20 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: yesterday ET)."
},
"horizon": {
"type": "integer",
"description": "Bars ahead to measure (default 5).",
"default": 5
},
"entry": {
"type": "string",
"enum": [
"next-open",
"close"
],
"description": "next-open (default: fill at the next bar\u0027s open, immune to bid-ask bounce) or close (fill at the signal bar\u0027s close; a diagnostic).",
"default": "next-open"
},
"timeframe": {
"type": "string",
"enum": [
"minute",
"day"
],
"description": "minute (default) or day.",
"default": "minute"
},
"dead_band": {
"type": "number",
"description": "Absolute return counted as flat, as a fraction (default 0.001).",
"default": 0.001
},
"session": {
"type": "string",
"enum": [
"rth",
"all"
],
"description": "rth (default) or all.",
"default": "rth"
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}evidence_pools
Stop-pool raid rates: how often price raided each pool kind (round numbers, prior-day/premarket/opening-range levels, VWAP bands) and reversed vs broke through, per side and price tier.
CLI equivalent: idiotproof evidence pools <symbols>... [--from <date>] [--to <date>] [--horizon <int>] [--proximity <number>] [--min-samples <int>] Examples: idiotproof evidence pools SNDL MULN idiotproof evidence pools SNDL --from 2026-09-01 --to 2026-10-30 --min-samples 20
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Stop-pool raid rates: how often price raided each pool kind (round numbers, prior-day/premarket/opening-range levels, VWAP bands) and reversed vs broke through, per side and price tier.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "One or more tickers, e.g. SNDL MULN."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 20 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: today ET)."
},
"horizon": {
"type": "integer",
"description": "Bars after an approach that decide raid / break / reject (default 10).",
"default": 10
},
"proximity": {
"type": "number",
"description": "How close counts as reaching a pool, in ATRs of the bar before (default 0.25).",
"default": 0.25
},
"min_samples": {
"type": "integer",
"description": "Hide rows with fewer approaches than this (default 1).",
"default": 1
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_regime
Per-symbol regime: Hurst, variance ratio (z-tested vs random walk), efficiency ratio, realized vol, lag-1 autocorrelation.
CLI equivalent: idiotproof evidence regime <symbols>... [--from <date>] [--to <date>] [--timeframe <minute|day>] [--q <int>] [--session <rth|all>] [--method <vr|bocpd|hmm>] [--threshold <number>] [--states <int>] [--aggregate <int>] Examples: idiotproof evidence regime SNDL MULN idiotproof evidence regime SPY --timeframe day --from 2026-05-01
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Per-symbol regime: Hurst, variance ratio (z-tested vs random walk), efficiency ratio, realized vol, lag-1 autocorrelation.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "One or more tickers, e.g. SNDL MULN."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 5 days before --to for minute, 120 for day)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: today ET)."
},
"timeframe": {
"type": "string",
"enum": [
"minute",
"day"
],
"description": "minute (default) or day.",
"default": "minute"
},
"q": {
"type": "integer",
"description": "Variance-ratio aggregation in bars (default 4).",
"default": 4
},
"session": {
"type": "string",
"enum": [
"rth",
"all"
],
"description": "rth (default) or all.",
"default": "rth"
},
"method": {
"type": "string",
"enum": [
"vr",
"bocpd",
"hmm"
],
"description": "vr (default: variance-ratio z-test), bocpd (Bayesian online change points) or hmm (Gaussian hidden Markov regimes, trained on earlier sessions, filtered forward on the last).",
"default": "vr"
},
"threshold": {
"type": "number",
"description": "bocpd: probability that a regime began within the last 5 bars needed to flag a change (default 0.5).",
"default": 0.5
},
"states": {
"type": "integer",
"description": "hmm: hidden states, 2 or 3 (default 2).",
"default": 2
},
"aggregate": {
"type": "integer",
"description": "bocpd/hmm on minute bars: bar multiple to fit on (default: auto, the smallest of 1,2,3,5,10,15,30 minutes at which most bars move and tick rounding is under 10% of return variance; 1 = raw minutes)."
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_search
Grid-search a strategy template with multiple-testing corrections: BH q-values, deflated Sharpe, reality check/SPA, and a held-out score for the winner.
CLI equivalent: idiotproof evidence search <symbols>... [--script <string>] [--grid <string[]>] [--from <date>] [--to <date>] [--holdout <number>] [--top <int>] [--resamples <int>] [--block <number>] [--seed <int>] [--max-configs <int>] [--cost <number>] [--shares <number>] Examples: idiotproof evidence search SNDL MULN --script "Ticker(X).IsAboveVwap().Long().StopLossPercent({sl}).TrailingStopLoss({trail})" --grid sl=1,2 --grid trail=1,3
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Grid-search a strategy template with multiple-testing corrections: BH q-values, deflated Sharpe, reality check/SPA, and a held-out score for the winner.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tickers to score every config on, e.g. SNDL MULN."
},
"script": {
"type": "string",
"description": "IdiotScript template with {name} placeholders, e.g. \u0022Ticker(X).IsAboveVwap().Long().StopLossPercent({sl}).TrailingStopLoss({trail})\u0022. Use percent exits: an absolute TakeProfit/StopLoss price means the same dollar level on every symbol.",
"default": ""
},
"grid": {
"type": "array",
"items": {
"type": "string"
},
"description": "Repeatable: a placeholder and its values, e.g. --grid tp=1,2,3 --grid sl=0.5,1."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 30 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: today ET)."
},
"holdout": {
"type": "number",
"description": "Fraction of the latest days kept out of selection and scored once on the chosen config (default 0.3).",
"default": 0.3
},
"top": {
"type": "integer",
"description": "Configs to list (default 10).",
"default": 10
},
"resamples": {
"type": "integer",
"description": "Reality-check bootstrap resamples (default 1000).",
"default": 1000
},
"block": {
"type": "number",
"description": "Mean bootstrap block length in symbol-days (default 5).",
"default": 5
},
"seed": {
"type": "integer",
"description": "Bootstrap seed (default 1337).",
"default": 1337
},
"max_configs": {
"type": "integer",
"description": "Refuse grids larger than this (default 2000).",
"default": 2000
},
"cost": {
"type": "number",
"description": "Flat round-trip cost per trade as a fraction. Omit it to model each symbol-day\u0027s cost from that symbol\u0027s prior sessions (Corwin-Schultz spread \u002B square-root impact for --shares)."
},
"shares": {
"type": "number",
"description": "Shares per trade for the modeled impact cost (default 1, the default order size).",
"default": 1
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_similar
LSH look-alikes of a symbol's latest bar window from earlier sessions, with what each did next.
CLI equivalent: idiotproof evidence similar <symbol> [--date <date>] [--window <int>] [--horizon <int>] [--entry <next-open|close>] [--train-days <int>] [--k <int>] [--min-similarity <number>] [--session <rth|all>] Examples: idiotproof evidence similar SNDL idiotproof evidence similar MULN --date 2026-10-30 --window 30 --horizon 10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "LSH look-alikes of a symbol\u0027s latest bar window from earlier sessions, with what each did next.",
"properties": {
"symbol": {
"type": "string",
"description": "Ticker, e.g. SNDL.",
"default": ""
},
"date": {
"type": "string",
"format": "date",
"description": "ET day whose latest window is matched (yyyy-MM-dd, default: today ET)."
},
"window": {
"type": "integer",
"description": "Bars per pattern window (default 20).",
"default": 20
},
"horizon": {
"type": "integer",
"description": "Bars ahead each look-alike\u0027s outcome is measured (default 5).",
"default": 5
},
"entry": {
"type": "string",
"enum": [
"next-open",
"close"
],
"description": "next-open (default: fill at the next bar\u0027s open, immune to bid-ask bounce) or close (fill at the signal bar\u0027s close; a diagnostic).",
"default": "next-open"
},
"train_days": {
"type": "integer",
"description": "Prior sessions searched for look-alikes (default 20).",
"default": 20
},
"k": {
"type": "integer",
"description": "Look-alikes to list (default 15).",
"default": 15
},
"min_similarity": {
"type": "number",
"description": "Least cosine similarity (default 0.8).",
"default": 0.8
},
"session": {
"type": "string",
"enum": [
"rth",
"all"
],
"description": "rth (default) or all.",
"default": "rth"
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}evidence_sizing
Advisory Kelly sizing (plug-in vs Beta-posterior vs conservative) from diary trades or manual counts; never changes order quantities.
The Risk Guardian and the 1-share default policy stay authoritative; this only reports what the measured edge would justify.
CLI equivalent: idiotproof evidence sizing [--strategy <string>] [--symbol <string>] [--wins <int>] [--losses <int>] [--payoff <number>] [--fraction <number>] Examples: idiotproof evidence sizing --strategy "SNDL dip-reclaim" idiotproof evidence sizing --wins 12 --losses 8 --payoff 1.3
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Advisory Kelly sizing (plug-in vs Beta-posterior vs conservative) from diary trades or manual counts; never changes order quantities.",
"properties": {
"strategy": {
"type": "string",
"description": "Size from this strategy\u0027s closed trades in the diary (title, case-insensitive)."
},
"symbol": {
"type": "string",
"description": "Size from this symbol\u0027s closed trades in the diary."
},
"wins": {
"type": "integer",
"description": "Manual mode: winning trades (use with --losses and --payoff)."
},
"losses": {
"type": "integer",
"description": "Manual mode: losing trades."
},
"payoff": {
"type": "number",
"description": "Manual mode: average win / average loss."
},
"fraction": {
"type": "number",
"description": "Fraction of the posterior Kelly to recommend (default 0.5 = half Kelly).",
"default": 0.5
}
},
"additionalProperties": false
}evidence_survival
Survival analysis of exits: Kaplan-Meier hold curves, competing-risk incidence of target vs stop vs trail, Cox hazard ratios, and an advisory sell-by from replay trades.
CLI equivalent: idiotproof evidence survival [--strategy <string>] [--symbol <string>] [--from <date>] [--to <date>] [--top <int>] [--min-trades <int>] [--checkpoints <string>] Examples: idiotproof evidence survival idiotproof evidence survival --strategy gapper --checkpoints 10,30,60
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Survival analysis of exits: Kaplan-Meier hold curves, competing-risk incidence of target vs stop vs trail, Cox hazard ratios, and an advisory sell-by from replay trades.",
"properties": {
"strategy": {
"type": "string",
"description": "Only replay trades whose strategy/family name contains this text (case-insensitive)."
},
"symbol": {
"type": "string",
"description": "Only this symbol\u0027s replay trades."
},
"from": {
"type": "string",
"format": "date",
"description": "First trade day (yyyy-MM-dd ET)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last trade day (yyyy-MM-dd ET)."
},
"top": {
"type": "integer",
"description": "Report at most this many strategies, most trades first (default 8).",
"default": 8
},
"min_trades": {
"type": "integer",
"description": "Fewest trades a strategy needs to get its own curves (default 20).",
"default": 20
},
"checkpoints": {
"type": "string",
"description": "Hold minutes at which to read the curves, comma-separated (default 5,15,30,60,120).",
"default": "5,15,30,60,120"
}
},
"additionalProperties": false
}evidence_tails
Tail dependence (copulas): which symbols crash together beyond what correlation shows, and whether a crash in one predicts the next bar of the other out of sample.
CLI equivalent: idiotproof evidence tails <symbols>... [--from <date>] [--to <date>] [--timeframe <minute|day>] [--q <number>] [--train <number>] [--permutations <int>] [--alpha <number>] [--seed <int>] Examples: idiotproof evidence tails SNDL MULN SPY idiotproof evidence tails SOXL NVDA AMD --q 0.05 --from 2025-11-01
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Tail dependence (copulas): which symbols crash together beyond what correlation shows, and whether a crash in one predicts the next bar of the other out of sample.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "Two or more tickers, e.g. SNDL MULN SPY."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 365 days before --to for day, 10 for minute)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: today ET)."
},
"timeframe": {
"type": "string",
"enum": [
"minute",
"day"
],
"description": "day (default) or minute.",
"default": "day"
},
"q": {
"type": "number",
"description": "Tail quantile: a \u0027crash\u0027 is a return in the bottom q (default 0.1).",
"default": 0.1
},
"train": {
"type": "number",
"description": "Share of aligned bars used to find tail-linked pairs (default 0.67); the rest is the held-out contagion test.",
"default": 0.67
},
"permutations": {
"type": "integer",
"description": "Permutations for the tail-independence test (default 999).",
"default": 999
},
"alpha": {
"type": "number",
"description": "False-discovery rate for both the pair screen and the holdout test (default 0.05).",
"default": 0.05
},
"seed": {
"type": "integer",
"description": "Permutation seed (default 1337).",
"default": 1337
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_topology
Persistent-homology features (H0/H1 persistence, landscape norm) of delay-embedded returns, learned on earlier days and re-tested on held-out days with a session-clustered test.
CLI equivalent: idiotproof evidence topology <symbols>... [--from <date>] [--to <date>] [--window <int>] [--dim <int>] [--delay <int>] [--horizon <int>] [--buckets <int>] [--holdout <number>] [--min-samples <int>] [--session <rth|all>] Examples: idiotproof evidence topology SNDL MULN --from 2026-08-01 --to 2026-10-30 idiotproof evidence topology SPY --window 30 --dim 2 --delay 2 --horizon 10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Persistent-homology features (H0/H1 persistence, landscape norm) of delay-embedded returns, learned on earlier days and re-tested on held-out days with a session-clustered test.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "One or more tickers, e.g. SNDL MULN."
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day (yyyy-MM-dd, default: 30 days before --to)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day (yyyy-MM-dd, default: today ET)."
},
"window": {
"type": "integer",
"description": "Closes per topology read (default 40, max 100).",
"default": 40
},
"dim": {
"type": "integer",
"description": "Delay-embedding dimension (default 3).",
"default": 3
},
"delay": {
"type": "integer",
"description": "Delay-embedding lag in bars (default 1).",
"default": 1
},
"horizon": {
"type": "integer",
"description": "Forward bars for the up/down label; reads are spaced this far apart (default 5).",
"default": 5
},
"buckets": {
"type": "integer",
"description": "Quantile buckets per feature, learned on training days (default 4).",
"default": 4
},
"holdout": {
"type": "number",
"description": "Fraction of the latest trading days held out (default 0.3).",
"default": 0.3
},
"min_samples": {
"type": "integer",
"description": "Minimum training reads in a bucket before it can be picked (default 30).",
"default": 30
},
"session": {
"type": "string",
"enum": [
"rth",
"all"
],
"description": "rth (default) or all.",
"default": "rth"
}
},
"additionalProperties": false,
"required": [
"symbols"
]
}evidence_walkforward
Out-of-sample walk-forward directional test (LSH analogs) with binomial p, Wilson CI, coverage and edge after costs.
Each day's model trains only on earlier sessions; calls are spaced by --horizon so outcomes never overlap. Analysis only; arms nothing.
CLI equivalent: idiotproof evidence walkforward [<symbols>...] [--universe <none|penny>] --from <date> [--to <date>] [--model <analog|leaders>] [--leaders <string>] [--edge <correlation|te>] [--clean <none|rmt>] [--leader-hops <int>] [--leader-min-influence <number>] [--window <int>] [--horizon <int>] [--train-days <int>] [--min-similarity <number>] [--min-neighbors <int>] [--min-agreement <number>] [--cost <number>] [--entry <next-open|close>] [--allow-mixed-feeds] [--shares <number>] [--volume] [--session <rth|all>] [--max-symbols-per-day <int>] [--max-candidates <int>] Examples: idiotproof evidence walkforward --universe penny --from 2026-08-03 --to 2026-10-30 idiotproof evidence walkforward SNDL --from 2026-10-01 --horizon 10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Out-of-sample walk-forward directional test (LSH analogs) with binomial p, Wilson CI, coverage and edge after costs.",
"properties": {
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tickers to test, e.g. SNDL MULN (omit when using --universe)."
},
"universe": {
"type": "string",
"enum": [
"none",
"penny"
],
"description": "penny: each day\u0027s point-in-time under-$5 universe (prior-day close, dollar-volume floor), drawn from active AND delisted Alpaca equities.",
"default": "none"
},
"from": {
"type": "string",
"format": "date",
"description": "First ET day to evaluate (yyyy-MM-dd).",
"default": "0001-01-01"
},
"to": {
"type": "string",
"format": "date",
"description": "Last ET day to evaluate (yyyy-MM-dd, default: yesterday ET)."
},
"model": {
"type": "string",
"enum": [
"analog",
"leaders"
],
"description": "analog: LSH look-alike windows vote on direction. leaders: follow the influence-weighted move of the symbol\u0027s lag-1 leaders, discovered among --leaders from prior sessions only.",
"default": "analog"
},
"leaders": {
"type": "string",
"description": "With --model leaders, the symbols leaders are discovered among (default SPY,QQQ,IWM).",
"default": "SPY,QQQ,IWM"
},
"edge": {
"type": "string",
"enum": [
"correlation",
"te"
],
"description": "With --model leaders, how leader edges are measured: correlation (default) or te (transfer entropy vs shuffled surrogates).",
"default": "correlation"
},
"clean": {
"type": "string",
"enum": [
"none",
"rmt"
],
"description": "With --model leaders and correlation edges: none (default) or rmt, keeping only lag-1 correlations above the random-matrix noise floor 2.5/sqrt(T).",
"default": "none"
},
"leader_hops": {
"type": "integer",
"description": "With --model leaders, most links between a leader and the symbol (default 2).",
"default": 2
},
"leader_min_influence": {
"type": "number",
"description": "With --model leaders, least |influence| a leader needs to count (default 0.05).",
"default": 0.05
},
"window": {
"type": "integer",
"description": "Bars per pattern window (default 20).",
"default": 20
},
"horizon": {
"type": "integer",
"description": "Bars ahead the call is scored on; calls are spaced this far apart so outcomes never overlap (default 5).",
"default": 5
},
"train_days": {
"type": "integer",
"description": "Prior sessions each day\u0027s model trains on (default 20).",
"default": 20
},
"min_similarity": {
"type": "number",
"description": "Least cosine similarity for a look-alike to count (default 0.8).",
"default": 0.8
},
"min_neighbors": {
"type": "integer",
"description": "Fewest look-alikes needed to make a call (default 8).",
"default": 8
},
"min_agreement": {
"type": "number",
"description": "Smoothed share of look-alikes that must agree to call (default 0.6).",
"default": 0.6
},
"cost": {
"type": "number",
"description": "Flat round-trip cost per call as a fraction (e.g. 0.003). Omit it to model each symbol-day\u0027s cost from its prior sessions: Corwin-Schultz spread \u002B square-root impact for --shares."
},
"entry": {
"type": "string",
"enum": [
"next-open",
"close"
],
"description": "next-open (default: a call fills at the next bar\u0027s open, immune to bid-ask bounce) or close (fills at the signal bar\u0027s close; a diagnostic that inflates mean-reversion edge on low-priced names).",
"default": "next-open"
},
"allow_mixed_feeds": {
"type": "boolean",
"description": "Report a verdict even when the bars mix SIP and IEX tiers (refused by default: IEX prices and volumes are one exchange\u0027s, not the consolidated tape).",
"default": false
},
"shares": {
"type": "number",
"description": "Shares per call for the modeled impact cost (default 1, the default order size).",
"default": 1
},
"volume": {
"type": "boolean",
"description": "Include the volume shape in the pattern vector.",
"default": false
},
"session": {
"type": "string",
"enum": [
"rth",
"all"
],
"description": "rth (default) or all (adds pre/after-hours bars).",
"default": "rth"
},
"max_symbols_per_day": {
"type": "integer",
"description": "With --universe, keep each day\u0027s most liquid N members (default 30).",
"default": 30
},
"max_candidates": {
"type": "integer",
"description": "With --universe, most candidate symbols screened (default 4000; inactive first, then active).",
"default": 4000
}
},
"additionalProperties": false,
"required": [
"from"
]
}fundamentals_show
Float, short interest (% of float, days to cover) and shares outstanding for a symbol, with as-of dates and source.
CLI equivalent: idiotproof fundamentals show <symbol> [--source <string>] [--refresh] Examples: idiotproof fundamentals show MPU idiotproof fundamentals show MPU --source polygon --refresh
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Float, short interest (% of float, days to cover) and shares outstanding for a symbol, with as-of dates and source.",
"properties": {
"symbol": {
"type": "string",
"description": "Ticker symbol, e.g. MPU.",
"default": ""
},
"source": {
"type": "string",
"description": "Vendor to ask: polygon, fmp or finviz-elite (default: the first configured)."
},
"refresh": {
"type": "boolean",
"description": "Ignore today\u0027s cached read and fetch again (default: false).",
"default": false
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}fundamentals_status
Which float/short-interest vendors (Polygon, FMP, Finviz Elite) have a key in Vault and which one answers (never shows a key).
CLI equivalent: idiotproof fundamentals status Examples: idiotproof fundamentals status
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Which float/short-interest vendors (Polygon, FMP, Finviz Elite) have a key in Vault and which one answers (never shows a key).",
"properties": {},
"additionalProperties": false
}gapper_apply_tuned
Save a backtest's hindsight-tuned profile as a new gapper strategy (inactive unless --arm).
CLI equivalent: idiotproof gapper apply-tuned <run> [--arm] [--mode <sandbox|paper|live>] Examples: idiotproof gapper apply-tuned gb-1a2b3c4d idiotproof gapper apply-tuned gb-1a2b3c4d --arm
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Save a backtest\u0027s hindsight-tuned profile as a new gapper strategy (inactive unless --arm).",
"properties": {
"run": {
"type": "string",
"description": "The run id \u0060gapper backtest-day\u0060 printed (gb-xxxxxxxx).",
"default": ""
},
"arm": {
"type": "boolean",
"description": "Arm it right away (one-per-symbol and the 3-gapper cap still apply).",
"default": false
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Broker mode for the new gapper: paper (default) or sandbox.",
"default": "paper"
}
},
"additionalProperties": false,
"required": [
"run"
]
}gapper_arm
Arm a gapper: activate an existing one or queue a new one from a profile, honoring one-per-symbol and the 3-gapper cap.
CLI equivalent: idiotproof gapper arm <gapper> [--mode <sandbox|paper|live>] [--profile <string>] [--gap <number>] [--max-gap <number>] [--volume <number>] [--min-price <number>] [--max-price <number>] [--entry-start <string>] [--entry-end <string>] [--stop <number>] [--trail <number>] [--giveback <number>] [--arm-exit <string>] [--sell-by <string>] [--notional <decimal>] Examples: idiotproof gapper arm NVDA idiotproof gapper arm ABCD --profile penny-runner --stop 6 idiotproof gapper arm 0190a3f2
MOVES MONEY. Sandbox and Paper run immediately. A Live action returns status confirmation-required with a preview and a code instead of executing: show the user the preview verbatim, ask them, and only if they say yes call this tool again with the identical arguments plus confirmation_code. Never invent or reuse a code. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Arm a gapper: activate an existing one or queue a new one from a profile, honoring one-per-symbol and the 3-gapper cap.",
"properties": {
"gapper": {
"type": "string",
"description": "A symbol (queues a new gapper when it has none) or a gapper\u0027s id, id prefix or stamp id.",
"default": ""
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Broker mode for a newly queued gapper: paper (default) or sandbox. Live is \u0060strategy mode\u0060, confirmed.",
"default": "paper"
},
"profile": {
"type": "string",
"description": "Gapper profile id or name to start from (default classic-gapper)."
},
"gap": {
"type": "number",
"description": "Minimum gap over the previous close, percent."
},
"max_gap": {
"type": "number",
"description": "Gap ceiling in percent (0 = no ceiling)."
},
"volume": {
"type": "number",
"description": "Premarket volume must be at least this multiple of average volume."
},
"min_price": {
"type": "number",
"description": "Lowest price that qualifies."
},
"max_price": {
"type": "number",
"description": "Highest price that qualifies."
},
"entry_start": {
"type": "string",
"description": "Entry window start, ET (HH:mm)."
},
"entry_end": {
"type": "string",
"description": "Entry window end, ET (HH:mm)."
},
"stop": {
"type": "number",
"description": "Hard stop below entry, percent."
},
"trail": {
"type": "number",
"description": "Trailing stop off the high, percent (0 = none)."
},
"giveback": {
"type": "number",
"description": "Sell once price gives back this percent of the entry-to-peak run."
},
"arm_exit": {
"type": "string",
"description": "ET time the giveback exit arms (HH:mm)."
},
"sell_by": {
"type": "string",
"description": "Hard flatten time, ET (HH:mm), before the 9:30 bell."
},
"notional": {
"type": "number",
"description": "Position size in dollars."
},
"confirmation_code": {
"type": "string",
"description": "Only after the user explicitly approves the preview: the code a previous call of this tool returned."
}
},
"additionalProperties": false,
"required": [
"gapper"
]
}gapper_auto_candidates
Every ticker an auto-gapper scan screened on a day: signals, the adaptive plan it chose, and armed or why skipped.
CLI equivalent: idiotproof gapper auto candidates [--date <date>] Examples: idiotproof gapper auto candidates idiotproof gapper auto candidates --date 2026-10-29
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Every ticker an auto-gapper scan screened on a day: signals, the adaptive plan it chose, and armed or why skipped.",
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "ET scan day (yyyy-MM-dd); default the latest scan\u0027s day."
}
},
"additionalProperties": false
}gapper_auto_disable
Disarm every auto-armed gapper of yours that holds no position (holding ones stay armed to manage their exit).
CLI equivalent: idiotproof gapper auto disable Examples: idiotproof gapper auto disable
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Disarm every auto-armed gapper of yours that holds no position (holding ones stay armed to manage their exit).",
"properties": {},
"additionalProperties": false
}gapper_auto_enable
Run the auto-gapper for you now and arm its top picks as paper gappers (paper-only; --dry-run previews).
CLI equivalent: idiotproof gapper auto enable [--dry-run] Examples: idiotproof gapper auto enable --dry-run idiotproof gapper auto enable
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Run the auto-gapper for you now and arm its top picks as paper gappers (paper-only; --dry-run previews).",
"properties": {
"dry_run": {
"type": "boolean",
"description": "Preview what would arm; writes and arms nothing.",
"default": false
}
},
"additionalProperties": false
}gapper_auto_status
Auto-gapper settings, its recent scans (screened, qualified, armed, skipped) and your auto-armed gappers.
CLI equivalent: idiotproof gapper auto status [--last <int>] Examples: idiotproof gapper auto status idiotproof gapper auto status --last 20
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Auto-gapper settings, its recent scans (screened, qualified, armed, skipped) and your auto-armed gappers.",
"properties": {
"last": {
"type": "integer",
"description": "How many recent scans to show (default 7).",
"default": 7
}
},
"additionalProperties": false
}gapper_backtest_day
Replay a gapper profile over one past day: fills, MFE/MAE, the giveback grid and a hindsight-tuned profile (saved for apply-tuned).
CLI equivalent: idiotproof gapper backtest-day <symbol> [<date>] [--profile <string>] [--gap <number>] [--max-gap <number>] [--volume <number>] [--min-price <number>] [--max-price <number>] [--entry-start <string>] [--entry-end <string>] [--stop <number>] [--trail <number>] [--giveback <number>] [--arm-exit <string>] [--sell-by <string>] [--notional <decimal>] Examples: idiotproof gapper backtest-day NVDA 2026-10-29 idiotproof gapper backtest-day ABCD 2026-10-29 --profile penny-runner --giveback 20
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Replay a gapper profile over one past day: fills, MFE/MAE, the giveback grid and a hindsight-tuned profile (saved for apply-tuned).",
"properties": {
"symbol": {
"type": "string",
"description": "The ticker to replay.",
"default": ""
},
"date": {
"type": "string",
"format": "date",
"description": "The ET trading day (yyyy-MM-dd); default the last completed trading day."
},
"profile": {
"type": "string",
"description": "Gapper profile id or name to start from (default classic-gapper)."
},
"gap": {
"type": "number",
"description": "Minimum gap over the previous close, percent."
},
"max_gap": {
"type": "number",
"description": "Gap ceiling in percent (0 = no ceiling)."
},
"volume": {
"type": "number",
"description": "Premarket volume must be at least this multiple of average volume."
},
"min_price": {
"type": "number",
"description": "Lowest price that qualifies."
},
"max_price": {
"type": "number",
"description": "Highest price that qualifies."
},
"entry_start": {
"type": "string",
"description": "Entry window start, ET (HH:mm)."
},
"entry_end": {
"type": "string",
"description": "Entry window end, ET (HH:mm)."
},
"stop": {
"type": "number",
"description": "Hard stop below entry, percent."
},
"trail": {
"type": "number",
"description": "Trailing stop off the high, percent (0 = none)."
},
"giveback": {
"type": "number",
"description": "Sell once price gives back this percent of the entry-to-peak run."
},
"arm_exit": {
"type": "string",
"description": "ET time the giveback exit arms (HH:mm)."
},
"sell_by": {
"type": "string",
"description": "Hard flatten time, ET (HH:mm), before the 9:30 bell."
},
"notional": {
"type": "number",
"description": "Position size in dollars."
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}gapper_be_bex_status
The BE/BEX decay gate: latest decay reading, threshold, and which gated BE strategies are armed or disarmed by it.
CLI equivalent: idiotproof gapper be-bex status Examples: idiotproof gapper be-bex status
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The BE/BEX decay gate: latest decay reading, threshold, and which gated BE strategies are armed or disarmed by it.",
"properties": {},
"additionalProperties": false
}gapper_caps
Active-gapper counts against the caps: 3 manual gappers, one active strategy per symbol, the auto-gapper limit.
CLI equivalent: idiotproof gapper caps Examples: idiotproof gapper caps
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Active-gapper counts against the caps: 3 manual gappers, one active strategy per symbol, the auto-gapper limit.",
"properties": {},
"additionalProperties": false
}gapper_disarm
Disarm a gapper so the Monitor stops evaluating it (refused while it holds a position); --remove deletes it.
CLI equivalent: idiotproof gapper disarm <gapper> [--remove] Examples: idiotproof gapper disarm NVDA idiotproof gapper disarm 0190a3f2 --remove
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Disarm a gapper so the Monitor stops evaluating it (refused while it holds a position); --remove deletes it.",
"properties": {
"gapper": {
"type": "string",
"description": "The gapper\u0027s symbol, id, id prefix or stamp id.",
"default": ""
},
"remove": {
"type": "boolean",
"description": "Also delete the gapper row (only when it holds no position).",
"default": false
}
},
"additionalProperties": false,
"required": [
"gapper"
]
}gapper_fade_pilot_disable
Turn the fade-short borrow pilot off (settings only; it holds nothing to undo).
CLI equivalent: idiotproof gapper fade-pilot disable Examples: idiotproof gapper fade-pilot disable
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Turn the fade-short borrow pilot off (settings only; it holds nothing to undo).",
"properties": {},
"additionalProperties": false
}gapper_fade_pilot_enable
Turn the no-order fade-short borrow pilot on for you (paper route only; leader-only; 09:40 and 09:46 ET on trading days). It never places, reserves or cancels anything.
CLI equivalent: idiotproof gapper fade-pilot enable Examples: idiotproof gapper fade-pilot enable
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Turn the no-order fade-short borrow pilot on for you (paper route only; leader-only; 09:40 and 09:46 ET on trading days). It never places, reserves or cancels anything.",
"properties": {},
"additionalProperties": false
}gapper_fade_pilot_list
Fade-short borrow pilot rows: day, symbol, premarket high, 09:45 gap and extension, signal, shortable/ETB at 09:40 and 09:46, locate quote (size, fee), SSR and Reg SHO; times in ET.
CLI equivalent: idiotproof gapper fade-pilot list [--since <date>] [--symbol <string>] [--signals] [--last <int>] Examples: idiotproof gapper fade-pilot list idiotproof gapper fade-pilot list --since 2026-11-10 --signals
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Fade-short borrow pilot rows: day, symbol, premarket high, 09:45 gap and extension, signal, shortable/ETB at 09:40 and 09:46, locate quote (size, fee), SSR and Reg SHO; times in ET.",
"properties": {
"since": {
"type": "string",
"format": "date",
"description": "First ET date to include, yyyy-MM-dd (default: 30 days ago)."
},
"symbol": {
"type": "string",
"description": "Only this ticker."
},
"signals": {
"type": "boolean",
"description": "Only rows where the 09:45 signal fired.",
"default": false
},
"last": {
"type": "integer",
"description": "Most rows, newest first (default 100, max 1000).",
"default": 100
}
},
"additionalProperties": false
}gapper_fade_pilot_status
Whether the no-order fade-short borrow pilot is enabled, its owner, broker mode, whether this Hub leads, its schedule and the rows recorded so far.
CLI equivalent: idiotproof gapper fade-pilot status Examples: idiotproof gapper fade-pilot status
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Whether the no-order fade-short borrow pilot is enabled, its owner, broker mode, whether this Hub leads, its schedule and the rows recorded so far.",
"properties": {},
"additionalProperties": false
}gapper_fade_pilot_summary
Of the fade-short signals the pilot saw: the share that were shortable, easy-to-borrow and locate-available at 09:46 ET, the +100% tier, and the quoted locate-fee distribution.
CLI equivalent: idiotproof gapper fade-pilot summary [--since <date>] Examples: idiotproof gapper fade-pilot summary idiotproof gapper fade-pilot summary --since 2026-11-10
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Of the fade-short signals the pilot saw: the share that were shortable, easy-to-borrow and locate-available at 09:46 ET, the \u002B100% tier, and the quoted locate-fee distribution.",
"properties": {
"since": {
"type": "string",
"format": "date",
"description": "First ET date to include, yyyy-MM-dd (default: everything)."
}
},
"additionalProperties": false
}gapper_formation
Recent live gapper-formation snapshot rows: time ET, gap, volume ratio, 1/3/5-minute velocity, acceleration, distance to the premarket high, catalyst score/age, halted and whether the trigger rule passed.
CLI equivalent: idiotproof gapper formation [--symbol <string>] [--date <date>] [--last <int>] Examples: idiotproof gapper formation idiotproof gapper formation --symbol ABCD --date 2026-11-06
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Recent live gapper-formation snapshot rows: time ET, gap, volume ratio, 1/3/5-minute velocity, acceleration, distance to the premarket high, catalyst score/age, halted and whether the trigger rule passed.",
"properties": {
"symbol": {
"type": "string",
"description": "Only this ticker."
},
"date": {
"type": "string",
"format": "date",
"description": "ET trading day (yyyy-MM-dd); default every day the sink holds."
},
"last": {
"type": "integer",
"description": "How many rows, newest first (default 40, max 500).",
"default": 40
}
},
"additionalProperties": false
}gapper_formation_disable
Turn the formation recorder off (settings only; nothing to disarm — it never arms).
CLI equivalent: idiotproof gapper formation disable Examples: idiotproof gapper formation disable
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Turn the formation recorder off (settings only; nothing to disarm \u2014 it never arms).",
"properties": {},
"additionalProperties": false
}gapper_formation_enable
Turn the formation recorder on for you (paper-only research rows, 03:55-09:45 ET weekdays, with the Monitor leader); never arms.
CLI equivalent: idiotproof gapper formation enable Examples: idiotproof gapper formation enable
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Turn the formation recorder on for you (paper-only research rows, 03:55-09:45 ET weekdays, with the Monitor leader); never arms.",
"properties": {},
"additionalProperties": false
}gapper_formation_move_starts
The move-start watch's alerts (IP-T628): every live amendment 09 move start (m0) with its close over the prior close, volume multiple, fresh-catalyst flag and detection lag, labeled afterwards with amendment 09's y (+20% over the prior close after m0, before 16:00 ET), and the forward hit rate split by fresh catalyst. Watch only. Read-only.
CLI equivalent: idiotproof gapper formation move-starts [--from <date>] [--to <date>] Examples: idiotproof gapper formation move-starts idiotproof gapper formation move-starts --from 2026-11-23 --to 2026-11-23
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The move-start watch\u0027s alerts (IP-T628): every live amendment 09 move start (m0) with its close over the prior close, volume multiple, fresh-catalyst flag and detection lag, labeled afterwards with amendment 09\u0027s y (\u002B20% over the prior close after m0, before 16:00 ET), and the forward hit rate split by fresh catalyst. Watch only. Read-only.",
"properties": {
"from": {
"type": "string",
"format": "date",
"description": "First session, yyyy-MM-dd (default: the first move-start row)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last session, yyyy-MM-dd (default: the latest)."
}
},
"additionalProperties": false
}gapper_formation_shadow
The formation alert's 20-session paper shadow (IP-T447, gapper study amendment 06): live 08:00 rows scored by the study's H11p detector, labeled with the study's reach label (+20% over the prior close by 09:45), the detector's AUC against the catalyst-latency benchmark with a day-clustered 95% interval, top-10 hit rate against the base rate, and inputs missing live far more often than in training. Read-only.
CLI equivalent: idiotproof gapper formation shadow [--from <date>] [--to <date>] Examples: idiotproof gapper formation shadow idiotproof gapper formation shadow --from 2026-11-18
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The formation alert\u0027s 20-session paper shadow (IP-T447, gapper study amendment 06): live 08:00 rows scored by the study\u0027s H11p detector, labeled with the study\u0027s reach label (\u002B20% over the prior close by 09:45), the detector\u0027s AUC against the catalyst-latency benchmark with a day-clustered 95% interval, top-10 hit rate against the base rate, and inputs missing live far more often than in training. Read-only.",
"properties": {
"from": {
"type": "string",
"format": "date",
"description": "First session, yyyy-MM-dd (default: the first live 08:00 row)."
},
"to": {
"type": "string",
"format": "date",
"description": "Last session, yyyy-MM-dd (default: the latest)."
}
},
"additionalProperties": false
}gapper_formation_status
Whether the formation recorder is enabled, who owns it, whether this Hub leads, today's universe size, the stream, rows written, halted symbols, the trigger rule and the sink in use.
CLI equivalent: idiotproof gapper formation status Examples: idiotproof gapper formation status
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Whether the formation recorder is enabled, who owns it, whether this Hub leads, today\u0027s universe size, the stream, rows written, halted symbols, the trigger rule and the sink in use.",
"properties": {},
"additionalProperties": false
}gapper_formation_universe
Today's formation universe: every symbol the recorder watches and why it is in (catalyst, mover, most-active, tracked), with catalyst score, gap and price.
CLI equivalent: idiotproof gapper formation universe Examples: idiotproof gapper formation universe
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Today\u0027s formation universe: every symbol the recorder watches and why it is in (catalyst, mover, most-active, tracked), with catalyst score, gap and price.",
"properties": {},
"additionalProperties": false
}gapper_from_transcript
Read a transcript and propose re-validated gapper candidate cards; nothing is queued until you gapper arm one.
Every candidate is re-validated (symbol shape, profile rules, at most five). When the LLM's reply has anything unreadable or a candidate that fails validation, it gets its own reply back with those problems for at most llm.repair.rounds more calls (default 2); the result's repair says what was sent back. Candidates that still fail are dropped and listed under warnings.
CLI equivalent: idiotproof gapper from-transcript <transcript> Examples: idiotproof gapper from-transcript notes.txt idiotproof gapper from-transcript -
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Read a transcript and propose re-validated gapper candidate cards; nothing is queued until you \u0060gapper arm\u0060 one.",
"properties": {
"transcript": {
"type": "string",
"description": "A transcript file path, the transcript text itself, or \u0060-\u0060 to read it from stdin.",
"default": ""
}
},
"additionalProperties": false,
"required": [
"transcript"
]
}gapper_list
Your queued gappers with live state: armed, mode, position, condition progress and last exit.
CLI equivalent: idiotproof gapper list [--active] Examples: idiotproof gapper list idiotproof gapper list --active
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Your queued gappers with live state: armed, mode, position, condition progress and last exit.",
"properties": {
"active": {
"type": "boolean",
"description": "Only armed gappers.",
"default": false
}
},
"additionalProperties": false
}gapper_momentum_arm
Paper forward test (IP-T502): at 09:29 ET or later, save one 1-share Paper strategy per Momentum. pick for today: premarket-high break, +10% target, exit on VWAP loss, -10% backstop, out by 15:55. Saved inactive unless --activate; never Live.
CLI equivalent: idiotproof gapper momentum-arm [--date <date>] [--activate] [--dry-run] [--expire] Examples: idiotproof gapper momentum-arm --dry-run idiotproof gapper momentum-arm --activate
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Paper forward test (IP-T502): at 09:29 ET or later, save one 1-share Paper strategy per Momentum. pick for today: premarket-high break, \u002B10% target, exit on VWAP loss, -10% backstop, out by 15:55. Saved inactive unless --activate; never Live.",
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "The session, yyyy-MM-dd (default: today ET). Strategies are saved only for today, at or after 09:29 ET."
},
"activate": {
"type": "boolean",
"description": "Hand the new paper strategies to the Monitor (default: saved inactive).",
"default": false
},
"dry_run": {
"type": "boolean",
"description": "Show the picks, premarket highs and scripts without saving anything (any time, any session).",
"default": false
},
"expire": {
"type": "boolean",
"description": "Only deactivate every active Momentum pick strategy that holds no position (run after the close); arms nothing.",
"default": false
}
},
"additionalProperties": false
}gapper_premarket_fade
Premarket blow-off/fade detector: run scans the movers now (detection only), status lists today's fade alerts.
CLI equivalent: idiotproof gapper premarket-fade [<action>] [--top <int>] Examples: idiotproof gapper premarket-fade idiotproof gapper premarket-fade run
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Premarket blow-off/fade detector: \u0060run\u0060 scans the movers now (detection only), \u0060status\u0060 lists today\u0027s fade alerts.",
"properties": {
"action": {
"type": "string",
"enum": [
"status",
"run"
],
"description": "status (default): today\u0027s fade alerts; run: scan the movers for the pattern now.",
"default": "status"
},
"top": {
"type": "integer",
"description": "Movers to screen when running (default 50, max 50).",
"default": 50
}
},
"additionalProperties": false
}gapper_profile_show
Every dial of one gapper profile, plus the strategy it generates for a sample ticker.
CLI equivalent: idiotproof gapper profile show <name> Examples: idiotproof gapper profile show classic-gapper idiotproof gapper profile show penny-runner
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Every dial of one gapper profile, plus the strategy it generates for a sample ticker.",
"properties": {
"name": {
"type": "string",
"description": "Profile id (classic-gapper) or name.",
"default": ""
}
},
"additionalProperties": false,
"required": [
"name"
]
}gapper_profiles
List the gapper profile catalog: the templates every gapper starts from.
CLI equivalent: idiotproof gapper profiles Examples: idiotproof gapper profiles
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "List the gapper profile catalog: the templates every gapper starts from.",
"properties": {},
"additionalProperties": false
}gapper_radar
Stocks that could gap up next session, ranked by the evening-before signs the gapper study measured (recent +100% day, top-10 mover today, dollar volume 5x, halts, reverse-split timing, price, catalyst type, Momentum. picks), each with its reasons and warnings; Alpaca-untradable names excluded. Places no orders; --watchlist sets an Alpaca paper watchlist, --save writes the list to a file.
CLI equivalent: idiotproof gapper radar [--date <date>] [--top <int>] [--all] [--why] [--dir <string>] [--watchlist <string>] [--save] [--wake-database] Examples: idiotproof gapper radar idiotproof gapper radar --top 10 --why idiotproof gapper radar --date 2026-11-10
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Stocks that could gap up next session, ranked by the evening-before signs the gapper study measured (recent \u002B100% day, top-10 mover today, dollar volume 5x, halts, reverse-split timing, price, catalyst type, Momentum. picks), each with its reasons and warnings; Alpaca-untradable names excluded. Places no orders; --watchlist sets an Alpaca paper watchlist, --save writes the list to a file.",
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "The session to scan for, yyyy-MM-dd (default: today before 16:00 ET, else the next session). A past session reads what was known by 20:00 ET the evening before."
},
"top": {
"type": "integer",
"description": "How many names to list (default 20, max 300).",
"default": 20
},
"all": {
"type": "boolean",
"description": "Also list names Alpaca will not trade (excluded by default).",
"default": false
},
"why": {
"type": "boolean",
"description": "Show every reason, warning and headline under each name.",
"default": false
},
"dir": {
"type": "string",
"description": "Data cache folder (default D:\\IdiotProofData\\radar)."
},
"watchlist": {
"type": "string",
"description": "Also set this Alpaca paper-account watchlist to the listed names (created when missing), e.g. \u0022Gapper radar\u0022."
},
"save": {
"type": "boolean",
"description": "Also write the rendered list to \u003Cdir\u003E\\radar-\u003Csession\u003E.txt.",
"default": false
},
"wake_database": {
"type": "boolean",
"description": "Run even outside the database online window (trading days, 03:30-20:30 ET by default). Only matters when the history database is on Azure SQL Database, where this wakes the paused serverless database and it is billed until it pauses again.",
"default": false
}
},
"additionalProperties": false
}gapper_radar_backtest
Replay the gapper radar over past sessions point in time and write the rankings with each session's actual highs as JSON for scoring. Places no orders.
CLI equivalent: idiotproof gapper radar-backtest [--from <date>] [--to <date>] [--out <string>] [--dir <string>] Examples: idiotproof gapper radar-backtest --from 2026-09-10 --to 2026-11-09
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Replay the gapper radar over past sessions point in time and write the rankings with each session\u0027s actual highs as JSON for scoring. Places no orders.",
"properties": {
"from": {
"type": "string",
"format": "date",
"description": "First session to replay, yyyy-MM-dd."
},
"to": {
"type": "string",
"format": "date",
"description": "Last session to replay, yyyy-MM-dd."
},
"out": {
"type": "string",
"description": "JSON output (default D:\\IdiotProofData\\radar\\backtest-\u003Cfrom\u003E-\u003Cto\u003E.json; tools/momentum/edge/radar_backtest.py scores it)."
},
"dir": {
"type": "string",
"description": "Data cache folder (default D:\\IdiotProofData\\radar)."
}
},
"additionalProperties": false
}gapper_tune
Dial a gapper profile in for one ticker and show the strategy GapperScriptFactory generates; --save stores it inactive.
CLI equivalent: idiotproof gapper tune <symbol> [--save] [--mode <sandbox|paper|live>] [--profile <string>] [--gap <number>] [--max-gap <number>] [--volume <number>] [--min-price <number>] [--max-price <number>] [--entry-start <string>] [--entry-end <string>] [--stop <number>] [--trail <number>] [--giveback <number>] [--arm-exit <string>] [--sell-by <string>] [--notional <decimal>] Examples: idiotproof gapper tune NVDA --profile classic-gapper idiotproof gapper tune ABCD --profile penny-runner --gap 12 --stop 6 --giveback 18 --sell-by 09:25 --save
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Dial a gapper profile in for one ticker and show the strategy GapperScriptFactory generates; --save stores it inactive.",
"properties": {
"symbol": {
"type": "string",
"description": "The ticker to build the gapper for.",
"default": ""
},
"save": {
"type": "boolean",
"description": "Save it as an inactive gapper strategy (arm it later with \u0060gapper arm\u0060).",
"default": false
},
"mode": {
"type": "string",
"enum": [
"sandbox",
"paper",
"live"
],
"description": "Broker mode for a saved gapper: paper (default) or sandbox.",
"default": "paper"
},
"profile": {
"type": "string",
"description": "Gapper profile id or name to start from (default classic-gapper)."
},
"gap": {
"type": "number",
"description": "Minimum gap over the previous close, percent."
},
"max_gap": {
"type": "number",
"description": "Gap ceiling in percent (0 = no ceiling)."
},
"volume": {
"type": "number",
"description": "Premarket volume must be at least this multiple of average volume."
},
"min_price": {
"type": "number",
"description": "Lowest price that qualifies."
},
"max_price": {
"type": "number",
"description": "Highest price that qualifies."
},
"entry_start": {
"type": "string",
"description": "Entry window start, ET (HH:mm)."
},
"entry_end": {
"type": "string",
"description": "Entry window end, ET (HH:mm)."
},
"stop": {
"type": "number",
"description": "Hard stop below entry, percent."
},
"trail": {
"type": "number",
"description": "Trailing stop off the high, percent (0 = none)."
},
"giveback": {
"type": "number",
"description": "Sell once price gives back this percent of the entry-to-peak run."
},
"arm_exit": {
"type": "string",
"description": "ET time the giveback exit arms (HH:mm)."
},
"sell_by": {
"type": "string",
"description": "Hard flatten time, ET (HH:mm), before the 9:30 bell."
},
"notional": {
"type": "number",
"description": "Position size in dollars."
}
},
"additionalProperties": false,
"required": [
"symbol"
]
}history_backfill
Queue tickers for years of permanent history (daily and 1-minute extended-hours bars, news, splits, EDGAR filings with Form 4) and optionally run the queue here; --reference runs the nightly market-wide splits and filings pass. Data already held is never fetched again.
Writes the history database; reads market data from the configured feed, paced month by month. The Hub worker (history.backfill.enabled) drains the same queue.
CLI equivalent: idiotproof history backfill [--symbols <string>] [--discover] [--years <int>] [--run <int>] [--reference] [--days <int>] Examples: idiotproof history backfill --symbols NVDA,TSLA --run 2 idiotproof history backfill --discover idiotproof history backfill --reference
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Queue tickers for years of permanent history (daily and 1-minute extended-hours bars, news, splits, EDGAR filings with Form 4) and optionally run the queue here; --reference runs the nightly market-wide splits and filings pass. Data already held is never fetched again.",
"properties": {
"symbols": {
"type": "string",
"description": "Tickers to queue, comma-separated. Omit with --discover to queue every ticker the app has met."
},
"discover": {
"type": "boolean",
"description": "Queue every ticker the app has met (strategies, tracked tickers, gapper candidates) that is not yet held.",
"default": false
},
"years": {
"type": "integer",
"description": "Years of history to hold (default 5).",
"default": 5
},
"run": {
"type": "integer",
"description": "Also run queued jobs here, now, up to this many (default 0: leave them for the Hub worker).",
"default": 0
},
"reference": {
"type": "boolean",
"description": "Run the market-wide splits and EDGAR filings pass now (the Hub worker runs it nightly), catching up at most --days calendar days.",
"default": false
},
"days": {
"type": "integer",
"description": "With --reference: how many calendar days back the pass may catch up (default 10).",
"default": 10
}
},
"additionalProperties": false
}history_import
Move data already downloaded into the permanent history database so it is never fetched again: the gapper study's research database and its 1-minute file store. Idempotent: rows already held are skipped.
Writes only to the history database; reads the research database and the file store; makes no API call.
CLI equivalent: idiotproof history import [--research] [--research-db <string>] [--app-cache] [--minutes] [--bar-root <string>] [--symbols <string>] [--parallelism <int>] Examples: idiotproof history import --research --minutes
Changes saved state. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Move data already downloaded into the permanent history database so it is never fetched again: the gapper study\u0027s research database and its 1-minute file store. Idempotent: rows already held are skipped.",
"properties": {
"research": {
"type": "boolean",
"description": "Import the gapper study\u0027s research database (daily bars, splits, news, filings, coverage ranges).",
"default": false
},
"research_db": {
"type": "string",
"description": "Research database name on the research server (ConnectionStrings__IdiotProofResearch, default the Azure SQL server; default name IdiotProof_Research_GAP).",
"default": "IdiotProof_Research_GAP"
},
"app_cache": {
"type": "boolean",
"description": "Import the app database\u0027s own bar cache (HistoricalBars) from the app\u0027s connection string.",
"default": false
},
"minutes": {
"type": "boolean",
"description": "Import the 1-minute file store (every covered day, zero-bar days included).",
"default": false
},
"bar_root": {
"type": "string",
"description": "Minute-bar file store root (default D:\\IdiotProofData\\gapper-study\\bars).",
"default": "D:\\IdiotProofData\\gapper-study\\bars"
},
"symbols": {
"type": "string",
"description": "Minute import only these symbols (comma-separated); default every symbol in the store."
},
"parallelism": {
"type": "integer",
"description": "Symbols imported at once (default 4).",
"default": 4
}
},
"additionalProperties": false
}history_status
The permanent market history database (IP-T454): its server and size, rows per table (minute bars, daily bars, splits, news, filings), symbols covered per kind, the newest coverage, and the backfill queue.
Reads the history database (ConnectionStrings__IdiotProofHistory, default IdiotProof_History on the Azure SQL server, signed in as you). Creates the schema if it is missing; never fetches data.
CLI equivalent: idiotproof history status Examples: idiotproof history status
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "The permanent market history database (IP-T454): its server and size, rows per table (minute bars, daily bars, splits, news, filings), symbols covered per kind, the newest coverage, and the backfill queue.",
"properties": {},
"additionalProperties": false
}hub_install_service
Install the Hub as a Windows service that runs as you (Monitor off unless --monitor).
Runs sc.exe create/description/failure and sets the service's environment in the registry. Needs an elevated Hub; otherwise it prints the commands and points at tools\install-hub-service.ps1, which elevates itself. Grant the account 'Log on as a service' (the script does). Stop any interactive Hub first: both use port 5910.
CLI equivalent: idiotproof hub install-service [--exe <string>] [--account <string>] [--password <string>] [--monitor] [--start <string>] [--dry-run] Examples: idiotproof hub install-service --dry-run idiotproof hub install-service --password "..." --monitor
DESTRUCTIVE. If it returns confirmation-required, show the preview and call again with confirmation_code only after the user agrees. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Install the Hub as a Windows service that runs as you (Monitor off unless --monitor).",
"properties": {
"exe": {
"type": "string",
"description": "The Hub exe the service runs (default: the published C:\\Apps\\IdiotProof\\Hub\\idiotproof-hub.exe)."
},
"account": {
"type": "string",
"description": "Windows account to run as (default: you, as DOMAIN\\user or .\\user). Must be the user who owns the keys (the Data Protection ring)."
},
"password": {
"type": "string",
"description": "That account\u0027s Windows password (required unless --dry-run; never logged)."
},
"monitor": {
"type": "boolean",
"description": "Host the trading Monitor in the service (it places real orders unattended). Off by default.",
"default": false
},
"start": {
"type": "string",
"description": "Start type: delayed-auto (default), auto or demand.",
"default": "delayed-auto"
},
"dry_run": {
"type": "boolean",
"description": "Show the commands without running them.",
"default": false
},
"confirmation_code": {
"type": "string",
"description": "Only after the user explicitly approves the preview: the code a previous call of this tool returned."
}
},
"additionalProperties": false
}hub_ping
Check the Hub is up, show its clock in ET, and whether its DB and Monitor are healthy.
CLI equivalent: idiotproof hub ping Examples: idiotproof hub ping
Read-only. Times are US Eastern.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "Check the Hub is up, show its clock in ET, and whether its DB and Monitor are healthy.",
"properties": {},
"additionalProperties": false
}hub_uninstall_service
Stop and remove the Hub's Windows service.
sc.exe stop (graceful: the Hub drains operations, stops the Monitor and releases the leader lease), then sc.exe delete. Needs an elevated Hub; otherwise prints the commands. Run it from an interactive Hub or the script, not the service's own Hub.
CLI equivalent: idiotproof hub uninstall-service [--dry-run] Examples: idiotproof hub uninstall-service --dry-run idiotproof hub uninstall-service
DESTRUCTIVE. If it returns confirmation-required, show the preview and call again with confirmation_code only after the user agrees. Times are US Eastern.
Part of IdiotProof.From IdiotProof/docs/MCP_TOOLS.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.