{"apiVersion":"v1","directorySlug":"alphaassay-mcp-98147a140c","title":"AlphaAssay — Is your edge real? Statistical validation for t","description":"Most trading signals are noise. AlphaAssay puts them on trial — out of sample, against chance, against overfitting — and returns structured verdicts with named failure codes. Proof, not promises.","pageUrl":"https://www.mcpbundles.com/skills/alphaassay-mcp-98147a140c","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://mcp.alphaassay.com/mcp","hostedMcpUrl":null,"toolCount":21,"toolInventoryStatus":"observed","refreshedAt":"2026-11-16T18:50:02.677936+00:00","registryName":"com.alphaassay/alphaassay-mcp-98147a140c","registryVersion":"2026.11.16","registryEligible":true,"tools":[{"name":"assay_demo","description":"Use this when you want to see AlphaAssay's exact verdict envelope --\nschema, findings, leakage taxonomy -- on a built-in example before\nspending a check. A methodology audit; no buy/sell advice.\nFree demo verdict -- see AlphaAssay's full output shape in one call.","inputSchema":{"type":"object","properties":{},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Inspect a sample AlphaAssay verdict","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"assay_demo","displayName":"Inspect a sample AlphaAssay verdict"},{"name":"assay_signal","description":"Use this when you have a backtest result or live track record (a\ntrades log, equity curve or QuantConnect export) and need to know\nwhether the edge is real or just overfitting, survivorship or luck.\nValidate a trading strategy export: fail-closed statistical verdict.","inputSchema":{"type":"object","$defs":{"JsonValue":{"anyOf":[{"type":"boolean"},{"type":"integer","maximum":1000000000000000,"minimum":-1000000000000000,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},{"type":"string","maxLength":262144,"x-maxUtf8Bytes":262144},{"type":"array","items":{"$ref":"#/$defs/JsonValue"},"maxItems":10000},{"type":"object","maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"additionalProperties":{"$ref":"#/$defs/JsonValue"}},{"type":"null"}],"x-maxDepth":16,"x-maxNodes":10000},"PitEvidence":{"type":"object","properties":{"top_k":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"detail":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"status":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"verdict":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"top_flip":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null},"min_tickers":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"power_alpha":{"anyOf":[{"type":"integer","maximum":1,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"default":null},"spearman_rho":{"anyOf":[{"type":"integer","maximum":1,"minimum":-1,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":-1},{"type":"null"}],"default":null},"pit_rank_top_k":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"pit_rank_reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"pit_rank_top_pit":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"pit_rank_top_flip":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null},"ticker_flip_count":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"matched_null_min_p":{"anyOf":[{"type":"integer","maximum":1,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"default":null},"pit_rank_n_tickers":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"pit_rank_min_tickers":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"pit_rank_power_alpha":{"anyOf":[{"type":"integer","maximum":1,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"default":null},"pit_rank_spearman_rho":{"anyOf":[{"type":"integer","maximum":1,"minimum":-1,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":-1},{"type":"null"}],"default":null},"pit_rank_underpowered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null},"pit_rank_rho_threshold":{"anyOf":[{"type":"integer","maximum":1,"minimum":-1,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":-1},{"type":"null"}],"default":null},"pit_rank_top_same_session":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"pit_rank_ticker_flip_count":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"pit_rank_consistency_status":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"pit_rank_matched_null_floor":{"anyOf":[{"type":"integer","maximum":1,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"default":null},"pit_rank_matched_null_min_p":{"anyOf":[{"type":"integer","maximum":1,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"default":null},"pit_rank_consistency_verdict":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"pit_oi_rank_consistency_verdict":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null}},"x-relations":["pit_rank_top_k <= pit_rank_n_tickers","pit_rank_ticker_flip_count <= pit_rank_top_k","ticker_flip_count <= top_k"],"additionalProperties":false},"SourceRightsEvidence":{"type":"object","properties":{"detail":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"status":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"verdict":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"source_rights_clean":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null}},"additionalProperties":false}},"properties":{"label":{"type":"string","default":"user_strategy","maxLength":256},"api_key":{"type":"string","default":"","maxLength":512},"n_trials":{"anyOf":[{"type":"integer","maximum":1000000,"minimum":1,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"equity_csv":{"type":"string","default":"","maxLength":5242880},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"trades_csv":{"type":"string","default":"","maxLength":5242880},"signals_csv":{"type":"string","default":"","maxLength":5242880},"pit_evidence":{"anyOf":[{"$ref":"#/$defs/PitEvidence"},{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"out_of_sample":{"anyOf":[{"type":"boolean"},{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"source_rights":{"anyOf":[{"$ref":"#/$defs/SourceRightsEvidence"},{"type":"string","maxLength":2000},{"type":"null"}],"default":null},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000,"minimum":0}],"default":10.0},"quantconnect_json":{"anyOf":[{"type":"string","maxLength":5242880},{"type":"object","maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"additionalProperties":{"$ref":"#/$defs/JsonValue"}},{"type":"null"}],"default":null}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Validate a trading signal or track record","logicalName":"assay_signal","displayName":"Validate a trading signal or track record","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_reproduce","description":"Use this when someone hands you a claimed track record and you want\nto recompute it yourself from the fills and candles -- an arithmetic\naudit of the numbers, not buy/sell advice.\nIndependently recompute a claimed track record -- audit the\narithmetic, not the story.","inputSchema":{"type":"object","$defs":{"ExitOrder":{"type":"object","required":["stop_price","limit_price"],"properties":{"stop_price":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"limit_price":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]}},"additionalProperties":false},"OHLCVSeries":{"type":"object","required":["close"],"properties":{"low":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"high":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"open":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"time":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"close":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},"volume":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null}},"x-relations":["len(time|open|high|low|volume) == len(close) when present"],"additionalProperties":false},"ClaimedMetrics":{"type":"object","anyOf":[{"required":["total_return_pct"],"properties":{"total_return_pct":{"not":{"type":"null"}}}},{"required":["max_drawdown_pct"],"properties":{"max_drawdown_pct":{"not":{"type":"null"}}}},{"required":["win_rate"],"properties":{"win_rate":{"not":{"type":"null"}}}},{"required":["n_trades"],"properties":{"n_trades":{"not":{"type":"null"}}}},{"required":["sharpe_annualized"],"properties":{"sharpe_annualized":{"not":{"type":"null"}}}}],"properties":{"n_trades":{"anyOf":[{"type":"integer","maximum":10000,"minimum":0,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"win_rate":{"anyOf":[{"ge":0,"le":1,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}]},{"type":"null"}],"default":null},"max_drawdown_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"default":null},"total_return_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"default":null},"sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"default":null}},"additionalProperties":false},"ReproduceTrade":{"type":"object","required":["symbol","side","entry_time","exit_time","entry_price","exit_price"],"properties":{"side":{"enum":["long","short"],"type":"string"},"symbol":{"type":"string","pattern":"^\\S+$","maxLength":64,"minLength":1},"exit_time":{"type":"string","maxLength":64,"minLength":1},"entry_time":{"type":"string","maxLength":64,"minLength":1},"exit_order":{"anyOf":[{"$ref":"#/$defs/ExitOrder"},{"type":"null"}],"default":null},"exit_price":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"entry_price":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]}},"additionalProperties":false}},"allOf":[{"required":["trades","ohlcv_by_symbol","claimed"],"properties":{"trades":{"not":{"type":"null"}},"claimed":{"not":{"type":"null"}},"ohlcv_by_symbol":{"not":{"type":"null"}}}}],"properties":{"trades":{"anyOf":[{"type":"array","items":{"$ref":"#/$defs/ReproduceTrade"},"maxItems":10000,"minItems":1},{"type":"null"}],"default":null},"api_key":{"type":"string","default":"","maxLength":512},"claimed":{"anyOf":[{"$ref":"#/$defs/ClaimedMetrics"},{"type":"null"}],"default":null},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"ohlcv_by_symbol":{"anyOf":[{"type":"object","maxProperties":50,"propertyNames":{"maxLength":64,"minLength":1},"patternProperties":{"^\\S+$":{"$ref":"#/$defs/OHLCVSeries"}},"additionalProperties":false},{"type":"null"}],"default":null},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000,"minimum":0}],"default":10.0}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Reproduce a claimed track record","logicalName":"assay_reproduce","displayName":"Reproduce a claimed track record","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_tradelog","description":"Use this when you have a raw fill or trade log and want it scanned\nfor internal contradictions -- look-ahead timestamps, pnl that\ndisagrees with the row's own prices, duplicate or out-of-order fills.\nInterrogate a raw fill log for internal contradictions -- no\ncandles needed.","inputSchema":{"type":"object","$defs":{"JsonValue":{"anyOf":[{"type":"boolean"},{"type":"integer","maximum":1000000000000000,"minimum":-1000000000000000,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},{"type":"string","maxLength":262144,"x-maxUtf8Bytes":262144},{"type":"array","items":{"$ref":"#/$defs/JsonValue"},"maxItems":10000},{"type":"object","maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"additionalProperties":{"$ref":"#/$defs/JsonValue"}},{"type":"null"}],"x-maxDepth":16,"x-maxNodes":10000},"TradeLogRow":{"type":"object","properties":{"pnl":{"$ref":"#/$defs/JsonValue","default":null},"side":{"anyOf":[{"enum":["long","short"],"type":"string"},{"type":"null"}],"default":null},"symbol":{"anyOf":[{"type":"string","pattern":"^\\S+$","maxLength":64,"minLength":1},{"type":"null"}],"default":null},"exit_time":{"$ref":"#/$defs/JsonValue","default":null},"entry_time":{"$ref":"#/$defs/JsonValue","default":null},"exit_price":{"$ref":"#/$defs/JsonValue","default":null},"return_pct":{"$ref":"#/$defs/JsonValue","default":null},"entry_price":{"$ref":"#/$defs/JsonValue","default":null},"decision_time":{"$ref":"#/$defs/JsonValue","default":null}},"additionalProperties":false}},"allOf":[{"required":["trades"],"properties":{"trades":{"not":{"type":"null"}}}}],"properties":{"trades":{"anyOf":[{"type":"array","items":{"$ref":"#/$defs/TradeLogRow"},"maxItems":10000,"minItems":1},{"type":"null"}],"default":null},"api_key":{"type":"string","default":"","maxLength":512},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"trading_calendar":{"enum":["24/7","weekdays"],"type":"string","default":"24/7"}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Audit a trade log for contradictions","logicalName":"assay_tradelog","displayName":"Audit a trade log for contradictions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_forensics","description":"Use this when a signal looks good but you suspect leakage or\nlook-ahead and want to know WHY it fails, not just that it fails --\na diagnostic audit, it does not give buy/sell advice.\nLeakage forensics: WHY your signal fails, not just that it fails.","inputSchema":{"type":"object","$defs":{"OHLCVSeries":{"type":"object","required":["close"],"properties":{"low":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"high":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"open":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"time":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"close":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},"volume":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null}},"x-relations":["len(time|open|high|low|volume) == len(close) when present"],"additionalProperties":false},"SignalEvent":{"type":"object","required":["decision_time","symbol","direction"],"properties":{"symbol":{"type":"string","pattern":"^\\S+$","maxLength":64,"minLength":1},"direction":{"enum":["long","short"],"type":"string"},"confidence":{"anyOf":[{"ge":0,"le":1,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}]},{"type":"null"}],"default":null},"decision_time":{"type":"string","maxLength":64,"minLength":1}},"additionalProperties":false}},"required":["signal_events","ohlcv_by_symbol"],"properties":{"api_key":{"type":"string","default":"","maxLength":512},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"signal_events":{"type":"array","items":{"$ref":"#/$defs/SignalEvent"},"maxItems":10000,"minItems":1},"ohlcv_by_symbol":{"type":"object","maxProperties":50,"propertyNames":{"maxLength":64,"minLength":1},"patternProperties":{"^\\S+$":{"$ref":"#/$defs/OHLCVSeries"}},"additionalProperties":false},"primary_horizon":{"type":"integer","default":3,"maximum":5000,"minimum":1,"x-strictJsonInteger":true}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Diagnose signal timing leakage","logicalName":"assay_forensics","displayName":"Diagnose signal timing leakage","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_backtest","description":"Use this when you want a code-computed DSL backtest whose deflated-\nSharpe verdict still means something after repeated searching -- every\nrun is priced into your family's trial ledger. A research audit, not\nbuy/sell advice.\nLedger-aware DSL backtest with honest family-level trial accounting.","inputSchema":{"type":"object","$defs":{"ConstNode":{"type":"object","required":["const"],"properties":{"const":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]}},"additionalProperties":false},"SignalNode":{"type":"object","oneOf":[{"required":["op","left","right"],"properties":{"op":{"enum":["cross_above","cross_below","gt","lt"]},"left":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"}]},"right":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"}]}}},{"required":["op","left","right"],"properties":{"op":{"enum":["and","or"]},"left":{"$ref":"#/$defs/SignalNode"},"right":{"$ref":"#/$defs/SignalNode"}}},{"required":["op","left"],"properties":{"op":{"const":"not"},"left":{"$ref":"#/$defs/SignalNode"},"right":{"type":"null"}}}],"required":["op","left"],"properties":{"op":{"enum":["cross_above","cross_below","gt","lt","and","or","not"],"type":"string"},"left":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"},{"$ref":"#/$defs/SignalNode"}]},"right":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"},{"$ref":"#/$defs/SignalNode"},{"type":"null"}],"default":null}},"additionalProperties":false},"OHLCVSeries":{"type":"object","required":["close"],"properties":{"low":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"high":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"open":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"time":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"close":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},"volume":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null}},"x-relations":["len(time|open|high|low|volume) == len(close) when present"],"additionalProperties":false},"StrategySpec":{"type":"object","required":["dsl_version","asset_universe","bar_interval","target","signal"],"properties":{"signal":{"$ref":"#/$defs/SignalNode","x-maxDepth":16},"target":{"$ref":"#/$defs/StrategyTarget"},"position":{"anyOf":[{"$ref":"#/$defs/StrategyPosition"},{"type":"null"}],"default":null},"dsl_version":{"type":"string","const":"1"},"bar_interval":{"type":"string","pattern":"^\\S+$","maxLength":256,"minLength":1},"asset_universe":{"type":"array","items":{"type":"string","pattern":"^\\S+$","maxLength":64,"minLength":1},"maxItems":50,"minItems":1,"uniqueItems":true},"entry_lag_bars":{"type":"integer","default":1,"maximum":5000,"minimum":0,"x-strictJsonInteger":true}},"additionalProperties":false},"IndicatorNode":{"type":"object","oneOf":[{"required":["indicator"],"properties":{"window":{"type":"null"},"indicator":{"const":"price"}}},{"required":["indicator","window"],"properties":{"source":{"type":"null"},"window":{"type":"integer","minimum":1,"x-strictJsonInteger":true},"indicator":{"const":"atr"}}},{"required":["indicator","window"],"properties":{"window":{"type":"integer","minimum":2,"x-strictJsonInteger":true},"indicator":{"const":"zscore"}}},{"required":["indicator","window"],"properties":{"window":{"type":"integer","minimum":1,"x-strictJsonInteger":true},"indicator":{"enum":["sma","ema","rsi","roc"]}}}],"required":["indicator"],"properties":{"source":{"anyOf":[{"enum":["open","high","low","close","volume"],"type":"string"},{"type":"null"}],"default":null},"window":{"anyOf":[{"type":"integer","maximum":5000,"minimum":1,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"indicator":{"enum":["sma","ema","rsi","atr","roc","zscore","price"],"type":"string"}},"additionalProperties":false},"StrategyTarget":{"type":"object","required":["kind","horizon_bars"],"properties":{"kind":{"type":"string","const":"forward_return"},"horizon_bars":{"type":"integer","maximum":5000,"minimum":1,"x-strictJsonInteger":true}},"additionalProperties":false},"StrategyPosition":{"type":"object","required":["on_signal","else"],"properties":{"else":{"type":"string","const":"flat"},"on_signal":{"type":"string","const":"long"}},"additionalProperties":false}},"required":["spec","ohlcv_by_symbol"],"properties":{"spec":{"$ref":"#/$defs/StrategySpec"},"api_key":{"type":"string","default":"","maxLength":512},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"sketch_opt_out":{"type":"boolean","default":false},"ohlcv_by_symbol":{"type":"object","maxProperties":50,"propertyNames":{"maxLength":64,"minLength":1},"patternProperties":{"^\\S+$":{"$ref":"#/$defs/OHLCVSeries"}},"additionalProperties":false},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000,"minimum":0}],"default":10.0},"variants_in_call":{"type":"integer","default":1,"maximum":25,"minimum":1,"x-strictJsonInteger":true}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Run a family-deflated backtest assay","logicalName":"assay_backtest","displayName":"Run a family-deflated backtest assay","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_falsify","description":"Use this when you want your strategy actively attacked -- execution\nlag, cost stress, regime split, parameter neighbourhood, drift-burst --\nto see what kills it first. Demote-only; it does not give buy/sell advice.\nWe do not check your signal -- we actively try to KILL it. An adversary\nruns a battery of stress attacks against your strategy (execution-lag push,\ncost stress, time jackknife, regime split, parameter-neighbourhood\nperturbation, combinatorial purged CPCV partitions, synthetic no-edge","inputSchema":{"type":"object","$defs":{"ConstNode":{"type":"object","required":["const"],"properties":{"const":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]}},"additionalProperties":false},"SignalNode":{"type":"object","oneOf":[{"required":["op","left","right"],"properties":{"op":{"enum":["cross_above","cross_below","gt","lt"]},"left":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"}]},"right":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"}]}}},{"required":["op","left","right"],"properties":{"op":{"enum":["and","or"]},"left":{"$ref":"#/$defs/SignalNode"},"right":{"$ref":"#/$defs/SignalNode"}}},{"required":["op","left"],"properties":{"op":{"const":"not"},"left":{"$ref":"#/$defs/SignalNode"},"right":{"type":"null"}}}],"required":["op","left"],"properties":{"op":{"enum":["cross_above","cross_below","gt","lt","and","or","not"],"type":"string"},"left":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"},{"$ref":"#/$defs/SignalNode"}]},"right":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"},{"$ref":"#/$defs/SignalNode"},{"type":"null"}],"default":null}},"additionalProperties":false},"OHLCVSeries":{"type":"object","required":["close"],"properties":{"low":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"high":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"open":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"time":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"close":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},"volume":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null}},"x-relations":["len(time|open|high|low|volume) == len(close) when present"],"additionalProperties":false},"StrategySpec":{"type":"object","required":["dsl_version","asset_universe","bar_interval","target","signal"],"properties":{"signal":{"$ref":"#/$defs/SignalNode","x-maxDepth":16},"target":{"$ref":"#/$defs/StrategyTarget"},"position":{"anyOf":[{"$ref":"#/$defs/StrategyPosition"},{"type":"null"}],"default":null},"dsl_version":{"type":"string","const":"1"},"bar_interval":{"type":"string","pattern":"^\\S+$","maxLength":256,"minLength":1},"asset_universe":{"type":"array","items":{"type":"string","pattern":"^\\S+$","maxLength":64,"minLength":1},"maxItems":50,"minItems":1,"uniqueItems":true},"entry_lag_bars":{"type":"integer","default":1,"maximum":5000,"minimum":0,"x-strictJsonInteger":true}},"additionalProperties":false},"IndicatorNode":{"type":"object","oneOf":[{"required":["indicator"],"properties":{"window":{"type":"null"},"indicator":{"const":"price"}}},{"required":["indicator","window"],"properties":{"source":{"type":"null"},"window":{"type":"integer","minimum":1,"x-strictJsonInteger":true},"indicator":{"const":"atr"}}},{"required":["indicator","window"],"properties":{"window":{"type":"integer","minimum":2,"x-strictJsonInteger":true},"indicator":{"const":"zscore"}}},{"required":["indicator","window"],"properties":{"window":{"type":"integer","minimum":1,"x-strictJsonInteger":true},"indicator":{"enum":["sma","ema","rsi","roc"]}}}],"required":["indicator"],"properties":{"source":{"anyOf":[{"enum":["open","high","low","close","volume"],"type":"string"},{"type":"null"}],"default":null},"window":{"anyOf":[{"type":"integer","maximum":5000,"minimum":1,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"indicator":{"enum":["sma","ema","rsi","atr","roc","zscore","price"],"type":"string"}},"additionalProperties":false},"StrategyTarget":{"type":"object","required":["kind","horizon_bars"],"properties":{"kind":{"type":"string","const":"forward_return"},"horizon_bars":{"type":"integer","maximum":5000,"minimum":1,"x-strictJsonInteger":true}},"additionalProperties":false},"StrategyPosition":{"type":"object","required":["on_signal","else"],"properties":{"else":{"type":"string","const":"flat"},"on_signal":{"type":"string","const":"long"}},"additionalProperties":false}},"required":["spec","ohlcv_by_symbol"],"properties":{"spec":{"$ref":"#/$defs/StrategySpec"},"api_key":{"type":"string","default":"","maxLength":512},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"ohlcv_by_symbol":{"type":"object","maxProperties":50,"propertyNames":{"maxLength":64,"minLength":1},"patternProperties":{"^\\S+$":{"$ref":"#/$defs/OHLCVSeries"}},"additionalProperties":false},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000,"minimum":0}],"default":10.0}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Falsify a strategy against synthetic nulls","logicalName":"assay_falsify","displayName":"Falsify a strategy against synthetic nulls","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_pbo","description":"Use this when you have the T x N returns of a grid search and want\nthe probability of backtest overfitting (PBO, CSCV) -- did the sweep\nfind an edge or manufacture one? A demote-only audit, not buy/sell advice.\nDid your parameter sweep FIND an edge -- or manufacture one? PBO over\nthe whole trial matrix.","inputSchema":{"type":"object","required":["returns_matrix"],"properties":{"purge":{"type":"integer","default":0,"maximum":5000,"minimum":0,"x-strictJsonInteger":true},"api_key":{"type":"string","default":"","maxLength":512},"embargo":{"type":"integer","default":0,"maximum":5000,"minimum":0,"x-strictJsonInteger":true},"n_groups":{"type":"integer","default":8,"maximum":16,"minimum":2,"multipleOf":2,"x-strictJsonInteger":true},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"returns_matrix":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":64,"minItems":2},"maxItems":5000,"minItems":2},"periods_per_year":{"gt":0,"le":1000000,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}],"default":365.0}},"x-relations":["all returns_matrix rows have equal length"],"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Measure probability of backtest overfitting","logicalName":"assay_pbo","displayName":"Measure probability of backtest overfitting","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_var_es","description":"Use this when you have VaR or Expected-Shortfall forecasts and need\nto know whether reality breached them more often or deeper than your\nclaimed tail level allows -- a risk-forecast audit, not buy/sell advice.\nDoes your risk model's VaR/ES forecast survive contact with reality?\nExceedance backtest over YOUR forecasts -- a new claim type: risk\nnumbers, not return claims.","inputSchema":{"type":"object","allOf":[{"if":{"required":["benchmark_es_forecasts"],"properties":{"benchmark_es_forecasts":{"not":{"type":"null"}}}},"then":{"required":["es_forecasts","benchmark_var_forecasts"],"properties":{"es_forecasts":{"not":{"type":"null"}},"benchmark_var_forecasts":{"not":{"type":"null"}}}}}],"required":["returns","var_forecasts"],"properties":{"alpha":{"ge":0.001,"le":0.25,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}],"default":0.05},"api_key":{"type":"string","default":"","maxLength":512},"returns":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":100000,"minItems":1},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"es_forecasts":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":100000,"minItems":1},{"type":"null"}],"default":null},"var_forecasts":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":100000,"minItems":1},"benchmark_es_forecasts":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":100000,"minItems":1},{"type":"null"}],"default":null},"benchmark_var_forecasts":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":100000,"minItems":1},{"type":"null"}],"default":null}},"x-relations":["len(var_forecasts) == len(returns)","len(es_forecasts) == len(returns) when present","len(benchmark_var_forecasts) == len(returns) when present","len(benchmark_es_forecasts) == len(returns) when present","es_forecasts[i] > var_forecasts[i] when present","benchmark_es_forecasts[i] > benchmark_var_forecasts[i] when present"],"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Backtest VaR and expected shortfall forecasts","logicalName":"assay_var_es","displayName":"Backtest VaR and expected shortfall forecasts","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_conformal","description":"Use this when your model emits prediction intervals or confidence\nbands and you want to audit whether realised outcomes actually fall\ninside them at the claimed coverage -- a calibration audit, not advice.\nDoes your model's confidence label survive contact with outcomes?\nCoverage audit over prediction intervals -- confidence claims are the\nthird claim type after return claims and risk forecasts.","inputSchema":{"type":"object","required":["intervals_lower","intervals_upper","outcomes"],"properties":{"api_key":{"type":"string","default":"","maxLength":512},"outcomes":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":100000,"minItems":1},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"intervals_lower":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":100000,"minItems":1},"intervals_upper":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":100000,"minItems":1},"calibration_size":{"anyOf":[{"type":"integer","maximum":100000,"minimum":1,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"claimed_coverage":{"ge":0.5,"le":0.999,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}],"default":0.9}},"x-relations":["len(intervals_lower) == len(intervals_upper) == len(outcomes)","intervals_lower[i] <= intervals_upper[i]","ceil((calibration_size + 1) * claimed_coverage) <= calibration_size when present"],"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Audit conformal interval coverage","logicalName":"assay_conformal","displayName":"Audit conformal interval coverage","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_survivors","description":"Use this when you ran a grid or parameter sweep and want to know\nWHICH variants survive family-wise error control (FWER) rather than\nsurfacing by chance -- an error-budget disclosure, not buy/sell advice.\nWHICH variants of your sweep survive family-wise error control --\nan error-budget disclosure, never a ranking.","inputSchema":{"type":"object","properties":{"alpha":{"gt":0,"lt":1,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}],"default":0.05},"api_key":{"type":"string","default":"","maxLength":512},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"n_bootstrap":{"type":"integer","default":500,"maximum":2000,"minimum":200,"x-strictJsonInteger":true},"block_length":{"anyOf":[{"type":"integer","maximum":5000,"minimum":1,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"returns_matrix":{"anyOf":[{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"maxItems":64,"minItems":2},"maxItems":5000,"minItems":2},{"type":"null"}],"default":null},"periods_per_year":{"gt":0,"le":1000000,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}],"default":365.0}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Run a stepwise survivor reality check","logicalName":"assay_survivors","displayName":"Run a stepwise survivor reality check","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_register","description":"Use this when you want to seal a strategy and its success criteria\nNOW, before the forward data exists, so that registration cannot be\nadapted or backfilled against those later bars -- a commitment audit,\nnot buy/sell advice. Pre-register a signal NOW; freeze its terms before\nthe forward evidence exists.","inputSchema":{"type":"object","$defs":{"ConstNode":{"type":"object","required":["const"],"properties":{"const":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]}},"additionalProperties":false},"Hypothesis":{"type":"object","required":["declared_pass_sharpe_annualized","max_evaluation_bars"],"properties":{"rationale":{"type":"string","default":"","maxLength":2000},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000,"minimum":0}],"default":10.0},"trading_calendar":{"enum":["24/7","weekdays"],"type":"string","default":"24/7"},"max_evaluation_bars":{"type":"integer","maximum":10000,"minimum":1,"x-strictJsonInteger":true},"declared_pass_sharpe_annualized":{"gt":0,"le":20,"anyOf":[{"type":"integer","x-strictJsonInteger":true},{"type":"number"}]}},"additionalProperties":false},"SignalNode":{"type":"object","oneOf":[{"required":["op","left","right"],"properties":{"op":{"enum":["cross_above","cross_below","gt","lt"]},"left":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"}]},"right":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"}]}}},{"required":["op","left","right"],"properties":{"op":{"enum":["and","or"]},"left":{"$ref":"#/$defs/SignalNode"},"right":{"$ref":"#/$defs/SignalNode"}}},{"required":["op","left"],"properties":{"op":{"const":"not"},"left":{"$ref":"#/$defs/SignalNode"},"right":{"type":"null"}}}],"required":["op","left"],"properties":{"op":{"enum":["cross_above","cross_below","gt","lt","and","or","not"],"type":"string"},"left":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"},{"$ref":"#/$defs/SignalNode"}]},"right":{"anyOf":[{"$ref":"#/$defs/ConstNode"},{"$ref":"#/$defs/IndicatorNode"},{"$ref":"#/$defs/SignalNode"},{"type":"null"}],"default":null}},"additionalProperties":false},"StrategySpec":{"type":"object","required":["dsl_version","asset_universe","bar_interval","target","signal"],"properties":{"signal":{"$ref":"#/$defs/SignalNode","x-maxDepth":16},"target":{"$ref":"#/$defs/StrategyTarget"},"position":{"anyOf":[{"$ref":"#/$defs/StrategyPosition"},{"type":"null"}],"default":null},"dsl_version":{"type":"string","const":"1"},"bar_interval":{"type":"string","pattern":"^\\S+$","maxLength":256,"minLength":1},"asset_universe":{"type":"array","items":{"type":"string","pattern":"^\\S+$","maxLength":64,"minLength":1},"maxItems":50,"minItems":1,"uniqueItems":true},"entry_lag_bars":{"type":"integer","default":1,"maximum":5000,"minimum":0,"x-strictJsonInteger":true}},"additionalProperties":false},"IndicatorNode":{"type":"object","oneOf":[{"required":["indicator"],"properties":{"window":{"type":"null"},"indicator":{"const":"price"}}},{"required":["indicator","window"],"properties":{"source":{"type":"null"},"window":{"type":"integer","minimum":1,"x-strictJsonInteger":true},"indicator":{"const":"atr"}}},{"required":["indicator","window"],"properties":{"window":{"type":"integer","minimum":2,"x-strictJsonInteger":true},"indicator":{"const":"zscore"}}},{"required":["indicator","window"],"properties":{"window":{"type":"integer","minimum":1,"x-strictJsonInteger":true},"indicator":{"enum":["sma","ema","rsi","roc"]}}}],"required":["indicator"],"properties":{"source":{"anyOf":[{"enum":["open","high","low","close","volume"],"type":"string"},{"type":"null"}],"default":null},"window":{"anyOf":[{"type":"integer","maximum":5000,"minimum":1,"x-strictJsonInteger":true},{"type":"null"}],"default":null},"indicator":{"enum":["sma","ema","rsi","atr","roc","zscore","price"],"type":"string"}},"additionalProperties":false},"StrategyTarget":{"type":"object","required":["kind","horizon_bars"],"properties":{"kind":{"type":"string","const":"forward_return"},"horizon_bars":{"type":"integer","maximum":5000,"minimum":1,"x-strictJsonInteger":true}},"additionalProperties":false},"StrategyPosition":{"type":"object","required":["on_signal","else"],"properties":{"else":{"type":"string","const":"flat"},"on_signal":{"type":"string","const":"long"}},"additionalProperties":false}},"required":["spec"],"properties":{"spec":{"$ref":"#/$defs/StrategySpec"},"api_key":{"type":"string","default":"","maxLength":512},"hypothesis":{"anyOf":[{"$ref":"#/$defs/Hypothesis"},{"type":"null"}],"default":null},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"embargo_bars":{"type":"integer","default":3,"maximum":10000,"minimum":0,"x-strictJsonInteger":true},"maturity_bars":{"type":"integer","default":30,"maximum":10000,"minimum":1,"x-strictJsonInteger":true}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Pre-register a sealed strategy hypothesis","logicalName":"assay_register","displayName":"Pre-register a sealed strategy hypothesis","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_verdict","description":"Use this when a signal was pre-registered with assay_register and the\nmaturity window has passed -- get the post-cutoff verdict computed only\nfrom data after registration. A sealed audit, it gives no buy/sell advice.\nPost-cutoff verdict under the registration's sealed terms.","inputSchema":{"type":"object","$defs":{"OHLCVSeries":{"type":"object","required":["close"],"properties":{"low":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"high":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"open":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"time":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null},"close":{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"exclusiveMinimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"exclusiveMinimum":0}]},"maxItems":5000,"minItems":1},"volume":{"anyOf":[{"type":"array","items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000.0,"minimum":0}]},"maxItems":5000,"minItems":1},{"type":"null"}],"default":null}},"x-relations":["len(time|open|high|low|volume) == len(close) when present"],"additionalProperties":false}},"required":["prereg_id","ohlcv_by_symbol"],"properties":{"api_key":{"type":"string","default":"","maxLength":512},"prereg_id":{"type":"string","pattern":"^\\S+$","maxLength":256,"minLength":1},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"default":null},"ohlcv_by_symbol":{"type":"object","maxProperties":50,"propertyNames":{"maxLength":64,"minLength":1},"patternProperties":{"^\\S+$":{"$ref":"#/$defs/OHLCVSeries"}},"additionalProperties":false},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0,"x-strictJsonInteger":true},{"type":"number","maximum":1000,"minimum":0},{"type":"null"}],"default":null},"trading_calendar":{"anyOf":[{"enum":["24/7","weekdays"],"type":"string"},{"type":"null"}],"default":null}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Evaluate a matured pre-registration","logicalName":"assay_verdict","displayName":"Evaluate a matured pre-registration","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"assay_graveyard","description":"Use this when you want to check, for free, how often a signal family\n(e.g. sma_cross) has already been falsified and what usually kills it,\nbefore spending a check. Anonymised stats only -- no buy/sell advice.\nFree lookup: how often has this signal family already died?","inputSchema":{"type":"object","$defs":{"JsonValue":{"anyOf":[{"type":"boolean"},{"type":"integer","maximum":1000000000000000,"minimum":-1000000000000000,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},{"type":"string","maxLength":262144,"x-maxUtf8Bytes":262144},{"type":"array","items":{"$ref":"#/$defs/JsonValue"},"maxItems":10000},{"type":"object","maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"additionalProperties":{"$ref":"#/$defs/JsonValue"}},{"type":"null"}],"x-maxDepth":16,"x-maxNodes":10000}},"properties":{"variant":{"$ref":"#/$defs/JsonValue","default":null},"strategy":{"type":"string","default":"","maxLength":256},"timeframe":{"type":"string","default":"","maxLength":64},"fingerprint":{"type":"string","default":"","maxLength":256}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Inspect anonymised strategy-family mortality","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"assay_graveyard","displayName":"Inspect anonymised strategy-family mortality"},{"name":"assay_calibration","description":"Use this when you want to inspect AlphaAssay's current public\ncalibration state for free rather than trust marketing. Calibration v0 is\na population/status disclosure, not an outcome score or track record.","inputSchema":{"type":"object","properties":{},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Read the validator calibration snapshot","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"assay_calibration","displayName":"Read the validator calibration snapshot"},{"name":"assay_certificate_verify","description":"Use this when someone hands you a signed AlphaAssay certificate and\nyou want to verify both its Ed25519 signature and current platform trust.\nA verification tool, not buy/sell advice.\nVerify a signed AlphaAssay certificate against externally rooted public trust.","inputSchema":{"type":"object","$defs":{"JsonValue":{"anyOf":[{"type":"boolean"},{"type":"integer","maximum":1000000000000000,"minimum":-1000000000000000,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},{"type":"string","maxLength":262144,"x-maxUtf8Bytes":262144},{"type":"array","items":{"$ref":"#/$defs/JsonValue"},"maxItems":10000},{"type":"object","maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"additionalProperties":{"$ref":"#/$defs/JsonValue"}},{"type":"null"}],"x-maxDepth":16,"x-maxNodes":10000}},"required":["certificate","signature_b64","public_key_pem"],"properties":{"certificate":{"type":"object","maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"additionalProperties":{"$ref":"#/$defs/JsonValue"}},"signature_b64":{"type":"string","maxLength":512},"public_key_pem":{"type":"string","maxLength":16384}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Verify an AlphaAssay certificate against platform trust","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"assay_certificate_verify","displayName":"Verify an AlphaAssay certificate against platform trust"},{"name":"assay_provider_protocol","description":"Use this when you want to judge ANY signal seller -- including us --\nwith a machine-readable seven-test falsification protocol you can run\nin an afternoon. It scores methodology, not markets: no buy/sell advice.\nTest ANY signal provider in an afternoon -- the falsification\nprotocol as machine-readable rules.","inputSchema":{"type":"object","properties":{},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Read the signal-provider falsification protocol","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"assay_provider_protocol","displayName":"Read the signal-provider falsification protocol"},{"name":"assay_preflight","description":"Use this when you want to lint the SHAPE of a submission (DSL spec,\ncandles or trades) for free before spending a check, so a typo never\ncosts you one. A format check only -- it gives no buy/sell advice.\nFree payload lint -- fix your submission BEFORE spending a check.","inputSchema":{"type":"object","$defs":{"JsonValue":{"anyOf":[{"type":"boolean"},{"type":"integer","maximum":1000000000000000,"minimum":-1000000000000000,"x-strictJsonInteger":true},{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},{"type":"string","maxLength":262144,"x-maxUtf8Bytes":262144},{"type":"array","items":{"$ref":"#/$defs/JsonValue"},"maxItems":10000},{"type":"object","maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"additionalProperties":{"$ref":"#/$defs/JsonValue"}},{"type":"null"}],"x-maxDepth":16,"x-maxNodes":10000}},"properties":{"spec":{"$ref":"#/$defs/JsonValue","default":null},"trades":{"anyOf":[{"type":"array","items":{"$ref":"#/$defs/JsonValue"},"maxItems":10000},{"type":"null"}],"default":null},"ohlcv_by_symbol":{"anyOf":[{"type":"object","maxProperties":50,"propertyNames":{"maxLength":64,"minLength":1},"patternProperties":{"^\\S+$":{"$ref":"#/$defs/JsonValue"}},"additionalProperties":false},{"type":"null"}],"default":null}},"x-maxBodyBytes":5242880,"additionalProperties":false},"title":"Lint an assay payload before spending credit","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"logicalName":"assay_preflight","displayName":"Lint an assay payload before spending credit"}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=AlphaAssay-Is-your-edge-real-Statistical-validation-for-t&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3AuYWxwaGFhc3NheS5jb20vbWNwIn0%3D"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22AlphaAssay-Is-your-edge-real-Statistical-validation-for-t%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.alphaassay.com%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22AlphaAssay-Is-your-edge-real-Statistical-validation-for-t%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.alphaassay.com%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=AlphaAssay+%E2%80%94+Is+your+edge+real%3F+Statistical+validation+for+t&connectorUrl=https%3A%2F%2Fmcp.alphaassay.com%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"AlphaAssay-Is-your-edge-real-Statistical-validation-for-t\" --url \"https://mcp.alphaassay.com/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/alphaassay-mcp-98147a140c","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/alphaassay-mcp-98147a140c/tools/{tool}","mcpServerUrl":"https://mcp.alphaassay.com/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/alphaassay-mcp-98147a140c?live=1"}