{"id":"cf9f890b-bedb-472f-9769-53c063b3766b","authorId":"08398a34-26f5-4992-82de-0cfba0302908","title":"Surviving Market Friction: Evolving a Quant Project on the RLXBT Hypothesis Canvas","slug":"surviving-market-friction-evolving-a-quant-project-on-the-rlxbt-hypothesis-canvas","excerpt":"A deep dive into the quant lifecycle of our trading strategies on the RLXBT Hypothesis Canvas, from zero-fee backtest shocks to maker-execution pivots and zero-correlation portfolio ensembles.","content":"# Surviving Market Friction: Evolving a Quant Project on the Hypothesis Canvas\n\n**Verdict:** robust · **Asset/TF:** BTCUSDT/SOLUSDT Portfolio · **Sample:** 60,000 bars (2019-2026)\n\n## Rationale & Background\nEvery quant researcher eventually faces the \"friction shock\": the transition of backtested ideas from zero-fee environments to the brutal realities of live slippage and execution costs. In this case study, we outline the exact lifecycle of our trading hypotheses as tracked by the **RLXBT Hypothesis Canvas (Idea Map)**. We document the transition from naive zero-fee strategies to execution-optimized limit-order models, culminating in a multi-pattern portfolio ensemble.\n\n---\n\n## Part 1: The Great Friction Shock (Zero Fees to Taker Costs)\nOur early strategies on the Hypothesis Canvas showed exceptional results under version 0.2.6 (e.g., S1 Flagship returning **+170.8%, Sharpe 1.47**). However, a commission-capping bug was undercharging fees by 100x. \n\nWhen re-verified on version 0.2.7 under a realistic Hyperliquid taker fee model (**4.404 bps per side**, measured from 184 live fills):\n*   **5m HFT Scalp Strategies** (e.g., `hyp_1784303072649_18`): Promptly demoted to **`rejected`**. Because the average profit per trade was smaller than the round-trip fee, the strategy lost **-48.28%** (Sharpe -11.83) at real costs.\n*   **1h Flagship Volatility Regime** (`hyp_1783794452336_0`): Demoted to **`watch`**. Standalone returns flipped to **-8.52%** (Sharpe -0.23), proving that a high-turnover strategy cannot survive taker market orders.\n\n---\n\n## Part 2: The Execution Pivot (Maker-Exit Policy)\nRather than discarding the underlying alpha, we shifted our focus from the *signal* to the *execution model*. We replaced market-order exits with resting limit orders (maker exits) starting 15 bars prior to the max hold time. \n\nWe verified this on **SOL 1M BTC-Triggered Spike Reversal** (`hyp_1785824592951_186`):\n*   **Taker Exit**: Sharpe **0.722**\n*   **Maker Exit**: Sharpe **0.986** (with blended fee of 1.91 bps/side).\n*   **Out-of-Sample Verification**: WFE = **+2.10**, Monte Carlo Risk of Ruin = **0.0%**.\nThis proved that order-routing alone can transform a rejected signal into a robust, tradeable strategy.\n\n---\n\n## Part 3: The Portfolio Ensemble (Zero Correlation)\nThe final stage of our Canvas evolution resolved the problem of \"rejected\" low-frequency patterns. An individual pattern (such as the **BTC Capitulation Reversal**) is rejected because it trades rarely, creating massive \"cash drag\" that underperforms a simple bull market baseline.\n\nBy ensembling the **Hurst Trend Breakout** and the **BTC Capitulation Reversal** into a single portfolio (`hyp_1785845291447_1`), we achieved:\n1.  **Zero Correlation**: Cross-strategy correlation of **-0.042** (complete risk independence).\n2.  **Drawdown Reduction**: Drawdown compressed to **-3.78%** (compared to Hurst's standalone -6.86%).\n3.  **No Cash Drag**: Capital remains allocated to the active trend model, and is only utilized by the capitulation model during market panics (acting as an uncorrelated hedging booster).\n\n```mermaid\ngraph TD\n    A[Zero-Fee Backtests v0.2.6] -->|Friction Shock: Taker 4.4bps| B(5m HFT: REJECTED)\n    A -->|Friction Shock: Taker 4.4bps| C(1h Vol Regime: Watch/Rejected)\n    C -->|Execution Pivot: Maker 1.5bps| D(SOL Spike Reversal: Sharpe 0.72 -> 0.99)\n    D -->|Portfolio Integration| E[Multi-Pattern Ensemble: Correlation -0.042, DD -3.78%]\n    C -->|Portfolio Integration| E\n```\n\n---\n\n## Reproduce\nAll configs are mapped on the Hypothesis Canvas. Backtests can be run in the RLXBT app by loading the combo datasets:\n*   [rlxbt_custom_features_BTCUSDT_1h_combo_v1.csv](file:///Users/serg/projects/trading/data_prep/data/rlxbt_custom_features_BTCUSDT_1h_combo_v1.csv)\n*   [rlxbt_feature_btc_triggered_1m_SOLUSDT.csv](file:///Users/serg/projects/trading/data_prep/data/rlxbt_feature_btc_triggered_1m_SOLUSDT.csv)\n","coverImage":null,"status":"published","publishedAt":"2026-08-04T12:09:53.184Z","backtestResults":{"bars":60000,"asset":"Multi-Asset","metrics":{"sharpe":0.045,"trades":739,"win_rate":41.5,"max_drawdown":3.779,"total_return":3.038},"verdict":"robust","strategy":{"exit_rules":[],"entry_rules":["Hurst Breakout","BTC Capitulation Reversal"]},"report_id":"port_1785845291","timeframe":"1h","robustness":{"sensitivity_top_param":"portfolio_weights","walk_forward_efficiency":0,"monte_carlo_risk_of_ruin":0},"tools_used":["load_dataset","portfolio","create_hypothesis","list_hypotheses"]},"researchManifest":null,"viewCount":46,"likeCount":0,"metaTitle":null,"metaDescription":null,"createdAt":"2026-08-04T12:09:53.185Z","updatedAt":"2026-09-11T13:05:16.314Z","author":{"id":"08398a34-26f5-4992-82de-0cfba0302908","name":"Serg","picture":"https://lh3.googleusercontent.com/a/ACg8ocKJfy0qxMGacsuTCbRKqF2-Ahj7AqOXwzIJU2wBJye6JmKsh8A=s96-c"},"tags":[{"id":"8b189a61-344a-4d18-b913-9e6df40aa511","name":"strategy","slug":"strategy","color":"#6366f1","createdAt":"2026-07-08T20:24:11.516Z"},{"id":"0e9b555c-fa99-4eff-8c0d-c0c7603aa41c","name":"robustness","slug":"robustness","color":"#6366f1","createdAt":"2026-07-08T20:24:11.522Z"},{"id":"2bde4217-4ce2-449b-81f7-47dc5936029a","name":"portfolio","slug":"portfolio","color":"#6366f1","createdAt":"2026-08-04T12:09:53.195Z"},{"id":"837b310f-7674-4a8d-8813-0641be5b96ad","name":"canvas","slug":"canvas","color":"#6366f1","createdAt":"2026-08-04T12:09:53.198Z"},{"id":"69969bb4-fb09-489f-84ee-bc5052b732b5","name":"execution-optimization","slug":"execution-optimization","color":"#6366f1","createdAt":"2026-08-04T06:23:13.366Z"},{"id":"548ebc89-f20d-4aa6-ba6f-464a23c7a978","name":"agent","slug":"agent","color":"#6366f1","createdAt":"2026-07-02T14:44:23.006Z"}],"comments":[],"isLiked":false,"isAuthor":false}