← Files Trading Journal & BacktestingARCHIVED FILE

plugin.json

11.5 KB · Nov 30, 2026 · 12:14 UTC

↓ Download file

See the change to this file →

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "valuedge-trading-journal-backtesting",
  "version": "0.1.6",
  "description": "Trading journal and backtesting for stocks and ETFs in ChatGPT. Analyze closed trades and FIFO realized P&L, then compare supported daily long-only U.S. stock and ETF strategies with buy and hold.",
  "author": {
    "name": "Lulu Digital, doing business as ValuEdge",
    "email": "hello@valuedge.app",
    "url": "https://valuedge.app"
  },
  "homepage": "https://valuedge.app",
  "keywords": [
    "trading",
    "trading journal",
    "backtesting",
    "stock trading journal",
    "trade log",
    "trade analysis",
    "trading performance",
    "closed trades",
    "realized P&L",
    "FIFO cost basis",
    "win rate",
    "profit factor",
    "stock backtesting",
    "ETF backtesting",
    "trading strategy backtesting",
    "swing trading",
    "swing trading backtesting",
    "RSI backtest",
    "moving average crossover",
    "breakout strategy",
    "strategy discovery",
    "buy and hold",
    "maximum drawdown",
    "equity curve",
    "ValuEdge"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Trading Journal & Backtesting",
        "shortDescription": "Trading P&L and backtesting",
        "longDescription": "Trading journal and backtesting in ChatGPT: review recorded stock and ETF trades, analyze FIFO realized P&L, and test supported daily strategies against buy and hold with ValuEdge.\n\nTrading journal and performance analysis\nReview your trade log by portfolio and date range. See matched closed trades, FIFO cost basis, gross realized profit and loss, P&L after recorded fees, win rate, profit factor, and holding periods. Break down trading performance by ticker and month, keep currencies separate, and identify missing fee or cost-basis evidence. Ask which trades drove your realized P&L or how your closed trades performed this month.\n\nStock and ETF strategy backtesting\nTurn a trading idea into explicit entry and exit rules for supported daily, long-only U.S. stock and ETF strategies. Preview the rules, historical data coverage, commissions, and slippage before running a backtest. Test RSI mean reversion, moving average crossovers, and range breakouts. Compare net strategy returns and maximum drawdown with a buy-and-hold benchmark, then inspect simulated trades, market exposure, and the equity curve. Ask how a swing trading strategy performed after trading costs over the same historical window.\n\nStrategy discovery and saved backtests\nResearch a defined set of candidate strategies for one ticker. Review the tested date range and out-of-sample evidence when available, see which candidates passed their checks, and see when none qualified. Revisit completed backtests to inspect past rules, costs, and results. Historical simulations do not establish future outperformance.\n\nBring your trade history into the journal\nConnect your ValuEdge account to review your own records. Import supported transaction-history CSVs in ValuEdge Portfolio Tracker, then analyze the recorded transactions in ChatGPT. With permission and confirmation, record an already-completed buy or sell, correct the quantity or price of an eligible manual buy, or remove a manual record.\n\nAccess and scope\nJournal access follows your portfolio plan limits. Backtesting, including previews and strategy discovery, requires an eligible ValuEdge Unlimited account. Backtests use daily data; intraday, options, futures, and short-selling simulations are outside this package's scope. Recorded executions and simulated results remain distinct. The plugin does not place brokerage orders.",
        "developerName": "ValuEdge",
        "category": "Finance",
        "capabilities": [
          "Trading journal analytics",
          "Historical stock and ETF backtesting",
          "Interactive"
        ],
        "websiteURL": "https://valuedge.app/connect",
        "supportURL": "https://valuedge.app/contact",
        "privacyPolicyURL": "https://valuedge.app/privacy",
        "termsOfServiceURL": "https://valuedge.app/terms",
        "defaultPrompt": [
          "Analyze my trading journal for the past 90 days. Show FIFO realized P&L by ticker and currency.",
          "How do I import my trade history CSV into ValuEdge and review it in this trading journal?",
          "Preview a daily AAPL RSI mean reversion backtest and compare the strategy with buy and hold after costs."
        ],
        "logo": "./assets/valuedge-logo.png",
        "logoDark": "./assets/valuedge-logo.png",
        "composerIcon": "./assets/valuedge-icon.png",
        "composerIconDark": "./assets/valuedge-icon.png"
      },
      "review": {
        "prompts": [
          "Analyze my trading journal for the past 90 days. Show FIFO realized P&L by ticker and currency.",
          "How do I import my trade history CSV into ValuEdge and review it in this trading journal?",
          "Preview a daily AAPL RSI mean reversion backtest and compare the strategy with buy and hold after costs.",
          "Research daily long-only AAPL strategy candidates over three years. Tell me which, if any, passed validation and how the finalists compared with buy and hold."
        ],
        "test_cases": {
          "positive": [
            {
              "description": "Review one named journal with opening inventory before the reporting window. Connect the reviewer account with the Trading Review sample portfolio described in README.md.",
              "prompt": "How did my Trading Review portfolio perform during January 2025? Show realized P&L by currency and flag any missing fee evidence.",
              "tools_triggered": "analyze_trading_performance with portfolio_name Trading Review, from 2025-01-01 and to 2025-01-31.",
              "expected_behavior": "Report the fixture's one matched USD sale and gross realized P&L of USD 20 based on a USD 100 cost basis and USD 120 sale proceeds. Identify missing fee evidence when the manual records have no reported fees. Keep the one remaining share outside realized sales and avoid treating the sale result as an account return."
            },
            {
              "description": "Audit the inputs to one matched historical sale. Connect the same reviewer account with the unchanged Trading Review fixture.",
              "prompt": "Show the matched AAPL sale in Trading Review from January 2025. Explain the FIFO basis and holding period.",
              "tools_triggered": "get_closed_trades with portfolio_name Trading Review, from 2025-01-01 and to 2025-01-31.",
              "expected_behavior": "Use the returned matched sale to show January 10, 2025, the AAPL USD listing, the one-share sale, and its allocated FIFO cost basis and holding period. Use the source's fee coverage and explain any exclusions without labelling a missing fee as zero."
            },
            {
              "description": "Record an already-executed manual buy in a disposable reviewer-owned portfolio. The reviewer account needs the optional manual portfolio permission and space for a fixture portfolio named Trading Review Writes.",
              "prompt": "Record this completed historical purchase in my Trading Review Writes portfolio. I bought 1 AAPL share at USD 185 on July 10, 2025. Show me the details first so I can confirm.",
              "tools_triggered": "search_securities if listing resolution is needed. After reviewer confirmation, record_my_portfolio_transaction with Trading Review Writes, AAPL, BUY, quantity 1, price_per_share 185, transaction_date 2025-07-10. Then list_my_portfolio_transactions if requested for read-back.",
              "expected_behavior": "Before any write, show the destination, listing, side, date, price and quantity, and wait. After confirmation, report a record only when the tool returns a confirmed result. If verified by read-back, show the exact recorded manual transaction. On retry of the same operation, reuse its operation ID."
            },
            {
              "description": "Preview and run one daily stock strategy on an eligible reviewer account with suitable historical data. Confirm the exact strategy after reviewing the preview.",
              "prompt": "Preview a one-year daily AAPL strategy. Buy when RSI crosses above 30 and exit when it crosses above 60. Use 5 bps commission and 5 bps slippage per side. Ask me before running it.",
              "tools_triggered": "preview_backtest for AAPL, lookback_years 1, entry RSI crosses above 30, exit above 60, commission_bps 5 and slippage_bps 5. After confirmation call run_backtest with the accepted configuration, exact preview fingerprint and a stable request ID.",
              "expected_behavior": "Show the rules, fees and actual historical dates before running. If available coverage is shorter, ask for explicit acceptance. On a completed run, report the actual net strategy and benchmark returns, maximum drawdown and closed-trade count. Distinguish simulated fills from recorded trades."
            },
            {
              "description": "Run bounded long-only strategy discovery on one U.S. stock with an eligible reviewer account.",
              "prompt": "Research daily long-only AAPL strategy candidates over three years. Tell me which, if any, passed validation and how the finalists compared with buy and hold.",
              "tools_triggered": "discover_trading_strategies with symbol AAPL, lookback_years 3 and an idea matching the requested daily long-only research.",
              "expected_behavior": "Return the tested date range, tested count and verified conclusion. Show holdout and trading-cost evidence only when returned. A zero-qualifier result is valid and must be reported explicitly. Do not label an exploratory nonqualifier as a winner."
            }
          ],
          "negative": [
            {
              "description": "A live securities order is outside the historical-record scope. Explain the limit and do not invoke the manual ledger write tool as an order.",
              "prompt": "Place a live market order to buy 100 AAPL shares from my brokerage account now."
            },
            {
              "description": "This package supports review of records imported in ValuEdge Portfolio Tracker. For a request to import a file through ChatGPT, direct the reviewer to the website and leave the ledger untouched.",
              "prompt": "Can I upload a broker transaction CSV in this chat and have the plugin copy all of it into my portfolio without opening ValuEdge?"
            },
            {
              "description": "The connected account scope does not authorize another user's portfolio. Explain the access boundary and do not use portfolio tools with the other person's identity.",
              "prompt": "Show me another ValuEdge user's private transaction history using their email address."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "The plugin reviews historical trade records and runs simulations. It does not have an order execution, purchase, payment, or subscription checkout tool. Access follows existing ValuEdge account entitlements."
      },
      "publication": {
        "release_notes": "Improves listing metadata for trading-journal analysis and stock/ETF backtesting. Both descriptions now start with Trading, the subtitle includes backtesting, and 25 focused discovery keywords cover supported workflows and metrics. Clarifies daily long-only scope, CSV import through ValuEdge, and account eligibility. Connection configuration, skills, starter prompts, and review cases are unchanged."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: fb085c79fad7ab4f65b34f9c4c733a914493b77a4cbf1d0dd0311cedd4fc1c7a