{"id":"regime-hurst","card_id":"card_regime_hurst","name":"Regime Hurst classifier","description":"Classifies a supplied price series as mean_reverting, random_walk, or trending using a pure Hurst-style lag-variance slope calculation.","stage":1,"safety_level":"data_only_read_only","auth":{"type":"hmac-sha256","required_headers":["x-apex-tool-timestamp","x-apex-tool-nonce","x-apex-tool-content-sha256","x-apex-tool-signature"],"canonical_payload":"APEX-TOOL-V1\\n{tool_id}\\n{timestamp}\\n{nonce}\\n{sha256(canonical_json(body))}"},"permissionless":{"enabled":true,"tier":"bounded_public","rate_limit":"Shared 20 calls per IP per hour across permissionless bounded tools plus global agent-write protection","review_required":false,"note":"Anonymous bounded execution is allowed because this is a deterministic DATA ONLY calculation over caller-supplied prices. It never releases source, keys, orders, wallets, private balances, or raw datasets."},"input_schema":{"type":"object","required":["prices"],"properties":{"prices":{"type":"array","items":{"type":"number"},"minItems":8,"maxItems":5000},"lower":{"type":"number"},"upper":{"type":"number"}}},"output_schema":{"type":"object","properties":{"hurst":{"type":"number"},"regime":{"type":"string"},"thresholds":{"type":"object"},"method":{"type":"string"}}},"sample_input":{"prices":[100,101,102,103,104,105,106,107,108,109,110,111],"lower":0.45,"upper":0.55},"test_vectors":[{"input":{"prices":[100,101,102,103,104,105,106,107,108,109,110,111],"lower":0.45,"upper":0.55},"expected":{"result":{"schema":"apex-regime-hurst/1","hurst":1,"regime":"trending","method":"log_lag_variance_slope"}},"match":"subset","verified_at":"2026-07-04T06:30:00.000Z"},{"input":{"prices":[100,99,101,98,102,97,103,96,104,95,105,94],"lower":0.45,"upper":0.55},"expected":{"result":{"schema":"apex-regime-hurst/1","hurst":0.937394,"regime":"trending","method":"log_lag_variance_slope"}},"match":"subset","verified_at":"2026-07-04T06:30:00.000Z"}]}