{"id":"396d7b02-7e94-4d41-9438-273fc394155b","slug":"clawhub-ssidharhubble-options-trading-backtester","name":"Options Trading Backtester","description":"Automated options trading backtester tool. Built by Shubh's autonomous Money Machine — self-improving based on live market data.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-ssidharhubble-options-trading-backtester","sourceUrl":"https://clawhub.ai/ssidharhubble/options-trading-backtester","homepage":"https://clawhub.ai/ssidharhubble/skills/options-trading-backtester","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/ssidharhubble/skills/options-trading-backtester"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.0.18","freshnessAt":"2026-10-10T04:47:52.041Z","freshnessLabel":"Oct 10, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 10, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.0.18"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/ssidharhubble/skills/options-trading-backtester","sourceUrl":"https://clawhub.ai/ssidharhubble/skills/options-trading-backtester","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T04:47:52.041Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-ssidharhubble-options-trading-backtester/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ssidharhubble-options-trading-backtester/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-10T04:47:52.041Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"1.7K downloads","href":"https://clawhub.ai/ssidharhubble/options-trading-backtester","sourceUrl":"https://clawhub.ai/ssidharhubble/options-trading-backtester","sourceType":"profile","confidence":"medium","observedAt":"2026-10-10T04:47:52.041Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"1.0.18","href":"https://clawhub.ai/ssidharhubble/options-trading-backtester","sourceUrl":"https://clawhub.ai/ssidharhubble/options-trading-backtester","sourceType":"release","confidence":"medium","observedAt":"2026-06-22T14:02:55.396Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-ssidharhubble-options-trading-backtester/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ssidharhubble-options-trading-backtester/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["1.7K downloads","Trust evidence available"],"agentCard":{"name":"Options Trading Backtester","description":"Automated options trading backtester tool. Built by Shubh's autonomous Money Machine — self-improving based on live market data.","source":"CLAWHUB","sourceId":"clawhub:s1751xfhp40q8vjjqd22y5vaw584gpke:options-trading-backtester","homepage":"https://clawhub.ai/ssidharhubble/skills/options-trading-backtester","repository":"https://clawhub.ai/ssidharhubble/options-trading-backtester","documentation":"https://www.xpersona.co/agent/clawhub-ssidharhubble-options-trading-backtester","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"python","snippet":"#!/usr/bin/env python3\n\"\"\"Options Trading Backtester v1.0.\"\"\"\nimport json, argparse, numpy as np\nfrom typing import List, Dict\n\nCOMMISSION = 0.65  # $/contract\nSLIPPAGE = 0.02    # $/share\n\ndef simulate_iron_condor(price_at_entry: float, iv: float, days_to_exp: int, \n                         short_delta: float = 0.20, width: float = 5.0) -> Dict:\n    \"\"\"Simulate Iron Condor P&L.\"\"\"\n    put_short_strike = price_at_entry * (1 - short_delta)\n    put_long_strike  = put_short_strike - width\n    call_short_strike = price_at_entry * (1 + short_delta)\n    call_long_strike  = call_short_strike + width\n    \n    # Simplified premium model (uses IV and moneyness)\n    def premium(strike, is_put):\n        dist = abs(price_at_entry - strike) / price_at_entry\n        base = iv * price_at_entry * 0.3\n        return base * np.exp(-dist * 3) * (0.85 if is_put else 0.75)\n    \n    short_put_credit  = premium(put_short_strike, True)\n    long_put_debit    = premium(put_long_strike, True)\n    short_call_credit = premium(call_short_strike, False)\n    long_call_debit   = premium(call_long_strike, False)\n    \n    net_credit = (short_put_credit + short_call_credit) - (long_put_debit + long_call_debit)\n    \n    # Expiration P&L (simplified)\n    expiries = np.random.normal(0, price_at_entry * 0.02, 100)\n    outcomes = []\n    for final_price in expiries:\n        put_pnl  = (short_put_credit - long_put_debit) * 100 if final_price < put_long_strike else \\\n                   (short_put_credit - long_put_debit) * 100 if final_price < put_short_strike else \\\n                   -(width * 100)\n        call_pnl = (short_call_credit - long_call_debit) * 100 if final_price > call_long_strike else \\\n                   (short_call_credit - long_call_debit) * 100 if final_price > call_short_strike else \\\n                   -(width * 100)\n        outcomes.append(put_pnl + call_pnl - COMMISSION * 4)\n    \n    pnl_arr = np.array(outcomes)\n    return {\n        \"net_credit\": round(net_credit, 2),\n        \"max_loss\""},{"kind":"example","language":"bash","snippet":"# Iron Condor backtest\npython scripts/backtest.py --strategy iron_condor --symbol SPY --iv 0.30 --days 45 --short-delta 0.20 --width 5\n\n# Strangle backtest\npython scripts/backtest.py --strategy strangle --symbol AAPL --iv 0.35 --days 30\n\n# Calendar spread\npython scripts/backtest.py --strategy calendar --symbol NVDA --days 45\n\n# Vertical credit spread\npython scripts/backtest.py --strategy vertical_spread --symbol TSLA --iv 0.40 --width 10"}]}}