// Example outputs for the Bazaar discovery declaration, OpenAPI and landing page (recorded 2026-10-22T19:00:54.379Z; trimmed lists).
export const LITE_EXAMPLE = {"symbol":"BTC","timeframe":"1h","source":"hyperliquid","market":"BTC","candles_used":300,"last_closed_at":"2026-10-22T19:00:00.000Z","last_price":81399,"indicators":{"close":81381,"ema_20":82179.416,"ema_50":82607.493,"ema_200":82541.062,"sma_20":82305.95,"rsi_14":30.65,"macd":{"line":-550.39178,"signal":-449.65055,"histogram":-100.74123,"cross":"none"},"bollinger_20_2":{"upper":83991.316,"middle":82305.95,"lower":80620.584,"percent_b":0.226,"bandwidth_pct":4.095},"atr_14":443.84296,"atr_pct":0.545,"adx_14":{"adx":46.16,"plus_di":8.15,"minus_di":35.13},"stochastic_k_14":22.64,"realized_vol_annual_pct":30.4,"volume_vs_20_avg":0.926,"change_pct":{"bars_1":0.22,"bars_24":-3.554},"high_20":84459,"low_20":80911,"notes":[]},"signal":{"bias":"strong_bearish","score":-84,"trend":"mixed","regime":"trending","components":[{"name":"ema_20_vs_50","points":-20,"why":"EMA20 below EMA50"},{"name":"price_vs_ema_200","points":-20,"why":"price below EMA200"},{"name":"macd_histogram","points":-15,"why":"MACD below signal"},{"name":"rsi_14","points":-10,"why":"RSI below 50"},{"name":"adx_direction","points":-15,"why":"trend strength ADX 46.16 (-DI leads)"},{"name":"bollinger_percent_b","points":0,"why":"inside the bands"}],"note":"Descriptive summary of the indicators above on closed candles; not a prediction or a recommendation to trade."},"confidence":"high","sources_failed":[],"checked_at":"2026-10-22T19:00:54.379Z","tier":"lite","disclaimer":"Not financial advice. Past performance does not guarantee future results. Technical indicators, risk metrics and backtests describe historical prices only; they are not predictions or trade recommendations. TASignal never trades, holds funds or keys."};
export const RISK_EXAMPLE = {"symbol":"ETH","timeframe":"4h","source":"hyperliquid","market":"ETH","candles_used":500,"last_price":2383.6,"atr_14":36.160089,"atr_pct":1.517,"risk":{"bars":499,"period_return_pct":27.347,"volatility_annual_pct":49.18,"sharpe_annual":2.4,"sortino_annual":3.914,"max_drawdown_pct":-15.882,"current_drawdown_from_high_pct":-13.65,"var_95_per_bar_pct":1.394,"var_99_per_bar_pct":2.972,"cvar_95_per_bar_pct":2.237,"cvar_99_per_bar_pct":3.406,"var_95_1d_pct":3.415,"var_99_1d_pct":7.281,"worst_bar_pct":-4.03,"best_bar_pct":8.496,"method":"historical simulation on closed-candle simple returns; 1-day VaR scaled by sqrt(time); Sharpe/Sortino use a 0% risk-free rate"},"position_sizing":{"side":"long","entry":2383.6,"stop":2311.2798,"stop_method":"2 x ATR(14) from entry","stop_distance_pct":3.034,"risk_per_unit":72.320178,"risk_pct_of_account":1,"account_usd":10000,"risk_usd":100,"units":1.38274,"notional_usd":3295.9,"implied_leverage":0.33,"take_profit_2r":2528.2404,"take_profit_3r":2600.5605},"confidence":"high","sources_failed":[],"checked_at":"2026-10-22T19:00:54.578Z","tier":"risk","disclaimer":"Not financial advice. Past performance does not guarantee future results. Technical indicators, risk metrics and backtests describe historical prices only; they are not predictions or trade recommendations. TASignal never trades, holds funds or keys."};
export const BACKTEST_EXAMPLE = {"symbol":"SOL","timeframe":"4h","source":"hyperliquid","market":"SOL","candles_used":500,"strategy":{"name":"ema_cross","params":{"fast":20,"slow":50},"direction":"long_only"},"result":{"period":{"from":"2026-08-08T16:00:00.000Z","to":"2026-10-22T16:00:00.000Z","bars":450},"total_return_pct":42.693,"buy_and_hold_return_pct":36.933,"excess_vs_buy_and_hold_pct":5.759,"annualized_return_pct":464.18,"max_drawdown_pct":-10.327,"sharpe_annual":3.869,"trades":2,"win_rate_pct":100,"profit_factor":null,"avg_trade_pct":19.972,"exposure_pct":69.78,"fees_bps_per_side":5,"last_trades":[{"side":"long","entry_time":"2026-08-08T16:00:00.000Z","entry":76.373,"exit_time":"2026-09-10T16:00:00.000Z","exit":99.676,"return_pct":30.447},{"side":"long","entry_time":"2026-09-18T12:00:00.000Z","entry":105.74,"exit_time":"2026-10-07T20:00:00.000Z","exit":115.84,"return_pct":9.497}],"equity_curve":[["2026-08-08T16:00:00.000Z",0.99632],["2026-08-23T16:00:00.000Z",1.24486],["2026-09-07T16:00:00.000Z",1.36524],["2026-09-22T16:00:00.000Z",1.45808],["2026-10-07T16:00:00.000Z",1.42764],["2026-10-22T12:00:00.000Z",1.42693]],"current_position":"flat","assumptions":"Signals on candle close, fills at the next candle open, fees per side as set; no slippage, funding, borrow or liquidity limits; position size 100% of equity, no leverage."},"confidence":"high","sources_failed":[],"checked_at":"2026-10-22T19:00:54.904Z","tier":"backtest","disclaimer":"Not financial advice. Past performance does not guarantee future results. Technical indicators, risk metrics and backtests describe historical prices only; they are not predictions or trade recommendations. TASignal never trades, holds funds or keys."};
agentgate-source: code mirror on Cloudflare Pages. All repos