ai strategy code reviewer

    1

    Audit AI-generated trading strategies for lookahead bias, repainting, and unrealistic execution logic.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    ai strategy code reviewer

    Example session with this skill installed

    Review this Pine Script strategy. It uses request.security to get daily data for a 15-minute timeframe crossover. I'm getting 90% win rate and want to check for lookahead bias.

    • Read your context and instructions
    • Compiled the ai strategy code

    Summary

    Verdict: FAIL
    Severity count: Critical: 1, Major: 0, Minor: 1

    Issues Found

    Issue 1

    • Severity: Critical
    • Category: Lookahead
    • Description: request.security is called without barmerge.lookahead_off.
    • Impact: Accesses future daily closes.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Detect lookahead bias in backtests to prevent false performance metrics.Identify state management errors that cause incorrect position tracking.Verify position-sizing logic to ensure account equity is protected.Audit order execution realism including slippage and commission assumptions.

    About this skill

    The problem

    AI-generated trading strategies often produce impossible backtest results due to lookahead bias and repainting. These scripts frequently lack the safeguards and execution realism required to survive live market conditions without blowing up an account.

    What it does

    • Audits code for lookahead bias and repainting that invalidates backtest results.
    • Identifies state management bugs where position flags fail to reset or update correctly.
    • Verifies position-sizing math to ensure risk calculations and lot sizes are accurate.
    • Checks for unrealistic order execution like zero-slippage fills or same-bar entries/exits.
    • Flags missing safeguards such as drawdown limits, cooldown periods, and input validation.

    Frameworks & tools

    Pine Script (TradingView), Python (backtesting.py, Backtrader, vectorbt, zipline), C# (NinjaScript), and MQL4/MQL5.

    Why this beats prompting it yourself

    Standard LLMs often overlook subtle indexing errors or framework-specific quirks like Pine Script's barmerge behavior. This skill applies a rigid, multi-point audit process specifically designed to catch the "too good to be true" bugs that generic prompts miss.

    Use cases

    • Reviewing a Pine Script strategy before deploying it to a TradingView alert.
    • Auditing a Python backtest for hidden future-data leakage in dataframes.
    • Validating the risk management logic of an MQL5 Expert Advisor.
    • Converting a backtest-only script into a live-ready execution bot.

    Known limitations

    Cannot verify external data quality or broker-side execution latency. Assumes standard framework behavior unless custom libraries are fully provided.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 21 days ago

    • Passed all security checks, Safe to install

    Listed21 days ago

    Frequently Asked Questions