Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    AI Quant Coder: ARIMA Forecasts & Paper-Trading Bots

    2

    AI Quant Coder turns your AI agent into a quantitative research assistant for price forecasting, strategy backtesting and paper-trading bot generation.

    Free

    4.5 (2 reviews)
    AI Quant Coder: ARIMA Forecasts & Paper-Trading Bots

    AI Quant Coder: ARIMA Forecasts & Paper-Trading Bots

    Example session with this skill installed

    Forecast the next 30 days for prices.csv, backtest an SMA 10/25 crossover with $10,000 starting capital, and then give me a paper-trading bot script for it.

    • Read your context and instructions
    • Compiled the ai quant coder

    Summary

    Ran an AIC-optimized ARIMA forecast and an SMA crossover backtest on a 120-bar sample dataset (2023-01-02 to 2023-06-16). The model selected ARIMA(0,1,0), so the 30-day forecast is flat (random-walk behavior) with widening 95% bands. In simulation, SMA 10/25 beat buy-and-hold on this sample.

    Forecast

    MetricValue
    Last close$93.24
    Selected modelARIMA(0,1,0), AIC 467.7
    30-day target$93.24 (0.0%)
    Projected trendNEUTRAL
    95% range at day 30$74.86 to $111.62

    Backtest: SMA 10/25, $10,000, 0.1% fee

    MetricStrategyBuy & Hold
    Total return+5.45%-7.78%
    Max drawdown-11.03%n/a
    Sharpe ratio0.73n/a
    Win rate66.7% (2 of 3)n/a
    Profit factor1.71n/a

    Commands the agent ran

    python scripts/forecast_arima.py --csv prices.csv --days 30
    python scripts/backtest.py --csv prices.csv --strategy sma_crossover --short-window 10 --long-window 25 --initial-capital 10000
    

    Next steps

    • Only 3 trades on 120 bars is too few to trust. Re-run on 250+ bars before drawing conclusions.
    • Review the generated paper-trading bot and its risk limits before changing any parameter.
    • Educational simulation only, not financial advice.

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

    About this skill

    AI Quant Coder turns your AI agent into a quantitative research assistant for price forecasting, strategy backtesting and paper-trading bot generation.

    What it does

    • ARIMA forecasting: 30-day price projection with AIC-based order selection, 95% confidence intervals and residual diagnostics.
    • Backtesting: SMA crossover, RSI and MACD strategies with transaction fees, max drawdown, Sharpe ratio, win rate and profit factor.
    • Bot generation: reusable templates for modular Python trading bots that default to paper-trading simulation, with ATR stop-loss and position-sizing rules.

    How it works

    1. Give your agent a CSV of OHLCV prices (or a ticker if yfinance is installed).
    2. The agent runs the bundled scripts and reads the JSON output.
    3. It reports the forecast, generates a bot script, and backtests it.

    Good to know

    • Bots are simulation-first. No live orders by default.
    • Educational and research use only. Not financial advice.
    • Best results with 250+ daily bars; ARIMA needs at least 50.

    Requires minimum 50 bars for ARIMA and 250 bars for backtesting. Generated bots default to simulation mode. Requires Python environment to run provided scripts.Requires numpy, pandas and statsmodels. The --ticker option needs internet and yfinance. ARIMA on price series often gives flat, random-walk-like forecasts, so treat outputs as a baseline, not a prediction.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    4.5
    2 reviews
    5
    1
    4
    1
    3
    0
    2
    0
    1
    0

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Requires

    Python 3.9+
    numpy
    pandas
    statsmodels

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files

    File Scopes

    *.csv
    *.py

    Terminal runs the bundled Python scripts. Files are read (CSV prices) and written (generated bot scripts). Network is only used if you pass --ticker.

    Listed3 days ago

    What's inside

    Frequently Asked Questions

    You need Python 3.9+ with numpy, pandas and statsmodels. Your agent runs the bundled scripts on a CSV of prices. yfinance is optional and only needed if you use --ticker (requires internet).

    ARIMA needs at least 50 historical bars to fit at all, and backtests are much more meaningful with 250+ bars. More data generally gives more reliable metrics, but no amount guarantees future results.

    The skill's workflow shifts signals by one bar and includes transaction fees in backtests, which helps avoid two common mistakes: look-ahead bias and ignoring costs. It cannot prevent every modeling error, so always review results.

    No. Generated bots are paper-trading templates by default and are meant for research and learning. Review the code and test thoroughly before any live use. Educational only, not financial advice.

    Two self-contained Python scripts (ARIMA forecasting and a fee-aware backtester) plus reference guides on ARIMA, risk rules, data sources and paper-trading bot templates that your agent uses to write bots.

    No. Scripts run locally on your CSV data.

    New in Trading & Investing