{"slug":"www-octio-xyz-v1-markets-backtest-6511fa","title":"Market backtest","host":"www.octio.xyz","method":"GET","resource":"https://www.octio.xyz/v1/markets/backtest","category":"market","description":"Market backtest","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":485,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:4663","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"candles":{"default":500,"description":"Trade on this many of the latest closed candles; earlier candles in memory only warm the indicators up.","maximum":600,"minimum":50,"type":"integer"},"exit_period":{"description":"breakout only: exit channel look-back, a whole number 2–100, default 10.","type":"number"},"fast":{"description":"ema_cross only: fast EMA, a whole number 2–100, default 20.","type":"number"},"fee_bps":{"default":5,"description":"Fee per side in basis points, on the entry and the exit notional (default 5, about Hyperliquid’s base taker fee; 0 for gross results).","maximum":100,"minimum":0,"type":"number"},"interval":{"default":"4h","description":"Candle interval.","enum":["15m","1h","4h","1d","1w"],"type":"string"},"lower":{"description":"rsi only: lower threshold, 1–99, default 30.","type":"number"},"period":{"description":"rsi, bollinger and breakout: look-back, a whole number 2–100. Defaults rsi 14, bollinger 20, breakout 20.","type":"number"},"side":{"default":"long","enum":["long","short"],"type":"string"},"slow":{"description":"ema_cross only: slow EMA, a whole number 3–200, default 50.","type":"number"},"stddev":{"description":"bollinger only: band width in standard deviations, 0.5–4, default 2.","type":"number"},"stop_loss_pct":{"description":"Optional stop loss, percent from the entry, checked inside every candle (the stop first when both levels are touched in one candle).","maximum":50,"minimum":0.1,"type":"number"},"strategy":{"description":"rsi: enter when RSI < lower, exit when RSI > upper. ema_cross: enter when EMA fast crosses above EMA slow, exit when it crosses below. bollinger: enter when the close is below the lower band, exit when it is above the middle. breakout: enter when the close is above the highest high of the previous period candles, exit when it is below the lowest low of the previous exit_period candles. side=short mirrors each rule. A param of another strategy is refused.","enum":["rsi","ema_cross","bollinger","breakout"],"type":"string"},"symbol":{"description":"Crypto: BTC, ETH, SOL, XRP, HYPE, BNB, DOGE. US stocks: NVDA, AAPL, MSFT, GOOGL, AMZN, META, TSLA, AMD, MU, COIN, MSTR, HOOD, PLTR. Indexes: SP500, XYZ100. Commodities: GOLD, SILVER, CL (WTI crude), BRENTOIL (Brent crude).","enum":["BTC","ETH","SOL","XRP","HYPE","BNB","DOGE","NVDA","AAPL","MSFT","GOOGL","AMZN","META","TSLA","AMD","MU","COIN","MSTR","HOOD","PLTR","SP500","XYZ100","GOLD","SILVER","CL","BRENTOIL"],"type":"string"},"take_profit_pct":{"description":"Optional take profit, percent from the entry.","maximum":1000,"minimum":0.1,"type":"number"},"upper":{"description":"rsi only: upper threshold, 1–99, default 70.","type":"number"}},"required":["symbol","strategy"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":483,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":488,"error":null}],"description_full":"Market backtest","last_updated":"2026-11-25T18:29:10.899Z","schemes":["exact"]}