Skill instructions
backtest-trading-strategy1.87 KB
View saved version →
---
name: backtest-trading-strategy
description: Translate supported trading ideas into explicit historical simulation rules.
---
# backtest-trading-strategy
Resolve exact ticker with search_securities. Parse natural-language entry/exit into supported rules, preserving crossing direction, period, AND/OR, costs, risk and dates. Ask when a material condition is ambiguous. Use preview_backtest; show exact rules, tested dates, costs and next-open execution assumptions. A close-based stop is not an intraday stop order. Never accept partial coverage without explicit confirmation. Use run_backtest with the preview fingerprint and stable request UUID. On retry use the same ID. Compare same-security price return with buy and hold, including drawdown, exposure, trade count and cost stress. Separate an open marked position from closed trades.
## Review the setup
- Convert words such as “breaks above” and “stays above” into explicit crossing and level conditions, respectively. If the user says “RSI recovers from 30,” confirm whether they mean a cross above 30 or a buy while RSI remains below 30.
- Show the data window and the strategy's warmup separately. Eligibility for a backtest starts only once all indicators can be computed from earlier observations.
- A signal calculated at the close cannot be filled at that same close. Explain any next-open gap and use the engine's configured execution and cost assumptions.
## Report the result
- Start with the simulated return and same-window benchmark, then maximum drawdown, exposure, closed trades, and the verified costs. A single profitable trade provides little evidence about repeatability.
- Describe cost stress and chronological validation if returned. Keep marked open positions separate from completed trades.
- Label any shortened dates before asking for approval. A changed strategy, window, or data fingerprint needs a new preview.
strategy-discovery1.52 KB
View saved version →
---
name: strategy-discovery
description: Research bounded historical strategy candidates without claiming future outperformance.
---
# strategy-discovery
Use discover_trading_strategies only for supported single-security daily long-only objectives over supported windows. Preserve goal and requested universe; do not silently drop user constraints. Use returned tested_count, tested_window, data_as_of, conclusion and limitations. Distinguish development ranking from holdout checks, and exploratory finalists from nonqualifiers. If zero pass, report that plainly; do not select a failed candidate as a winner. Multiple testing increases false discovery risk. Repeated use of the same holdout is not fresh validation. Read cost stress and number of trades before evaluating any candidate.
## Read the evidence
- Searching more configurations makes it easier to find an apparently successful historical rule by chance. Report the tested count and catalog scope alongside any candidates.
- Development data can select candidates. Reserve the independent chronological holdout for evaluation. Repeatedly changing rules after reading holdout outcomes consumes its independence.
- Look for evidence that results survive cost stress, changed neighboring parameters and multiple windows. A narrow parameter peak or one unusually profitable trade calls for a smaller claim.
- Distinguish findings conditional on one selected security from findings that generalize across a universe. Keep results for reviewed nonqualifiers visible when the service returns them.
swing-trading-research1.34 KB
View saved version →
---
name: swing-trading-research
description: Research historical daily swing-trading hypotheses with clearly defined timing.
---
# swing-trading-research
Use completed daily bars only. For MA trend and RSI pullback hypotheses, separate trend filters from exact crossing triggers. Use supported configuration and research tools, not unsupported real-time signals or promises. Discuss signal-to-next-open execution, gaps, holding duration and price-return benchmark. A historical winning strategy is not a trade recommendation. Never present hypothetical entry/exit as a real user's trade. If the request is intraday, options, futures or leveraged/short simulation, explain the available scope.
## Specify the hypothesis
- State the trend filter, exact trigger, position exposure and exit separately. A trend filter can remain true for weeks while a crossing trigger is an event.
- A completed-bar stop detects that a close breached the threshold. Its next-open fill can be materially worse after a gap. Report the actual programmed execution assumption.
- When two exit rules can trigger together, use the engine's precedence only if it is specified by the preview or result. Otherwise ask for clarification.
- Compare comparable historical dates and use distinct terms for time in position, trade frequency, closed-trade results and simulated mark-to-market equity.
trading-journal-analysis1.65 KB
View saved version →
---
name: trading-journal-analysis
description: Analyze matched, recorded trading history with FIFO and evidence-aware metrics.
---
# trading-journal-analysis
Use analyze_trading_performance and get_closed_trades for the requested account/date window. Ensure the window preserves opening inventory. Explain matched sale events rather than full round trips. Report candidate, matched and excluded counts; never extrapolate a subset to all trades. Separate currencies. Distinguish gross P&L, recorded fees, net after recorded fees, and verified net. If fees are unknown, do not interpret zero as verified. Do not compute a portfolio equity return from realized sales. Compare holding durations and monthly/ticker breakdowns only when sample sizes are meaningful. Ask for a complete history if missing basis or ambiguous ordering blocks matching.
## Review journal coverage
- FIFO consumes earlier acquisition lots before later ones within the same verified listing, account and currency. A partial sale can consume parts of several lots. Interpret it as one sale execution.
- Begin the simulation of inventory before the reporting window if the opening lots predate it. Unknown opening inventory, unresolved transfers or an unknown same-day ordering can make reported realized cost basis incomplete.
- Reconcile gross realized P&L, allocated recorded charges and verified net P&L. Standalone taxes, dividends, deposits and changes in open positions do not belong in matched-sale metrics.
- When a symbol is ambiguous, ask for the listing, currency, exchange, or ISIN. When a dataset is incomplete, show matched and excluded sale counts before offering ticker or monthly interpretations.
trading-performance-review1.2 KB
View saved version →
---
name: trading-performance-review
description: Review recorded trade history and reconcile it with ValuEdge journal and backtest results.
---
# Trading performance review
Use the connected user's selected portfolio. Retrieve transaction history or the trading journal for the requested dates and explain any gaps in cost basis, fees or order of execution. Compare personal trades with a simulation only when the user has supplied comparable rules and dates. Use separate headings for recorded executions and historical simulations.
## Bring trade history into ValuEdge
- If the selected portfolio is empty, guide the user to [ValuEdge Portfolio Tracker](https://valuedge.app/portfolio) to import a supported transaction-history CSV. Review the imported records after the user returns. A holdings snapshot cannot establish realized trade performance.
- Use the manual transaction tool for trades the user has already executed. Obtain the separate portfolio permission and confirm the exact destination, listing, side, date, quantity and price before a write.
- To correct or remove a record, find the exact transaction first and review supported changes. Read it again if it changed since the user confirmed the correction.
trading-risk-analysis1.43 KB
View saved version →
---
name: trading-risk-analysis
description: Interpret drawdown, trade-count and profitability evidence without conflating metrics.
---
# trading-risk-analysis
Distinguish realized journal P&L from simulated equity drawdown. Check maximum drawdown, exposure, loss count, largest trade contribution and cost stress where present. Profit factor is gross winning P&L divided by absolute losing P&L using the specified engine convention; when losses are zero or evidence is absent, use the reported undefined value, not infinity as proof. Win rate alone does not show edge. Expectancy depends on matched sale-event definitions, verified costs and sample size. Preserve missing values. Do not invent Sharpe, total return or leverage assumptions.
## Interpret metrics together
- Drawdown is a fall from an earlier equity peak. Interpret the magnitude together with the recovery period, the measurement window and market exposure.
- Expectancy is mean P&L per measured event under a defined cost assumption. A higher win rate may still coincide with negative expectancy when losses are much larger than wins.
- Profit factor compares aggregate gains with aggregate loss magnitude. An undefined ratio with zero recorded losses and few closed events supplies limited evidence.
- An equity curve measures simulation results under specified rules. A cumulative realized journal chart tracks realized matched sales and excludes unrealized positions and contributions.