backtesting-frameworks – skill Khác cho agent AI
Xây dựng hệ thống backtesting chuẩn production, tránh các lỗi phổ biến và cho ước tính hiệu suất chiến lược đáng tin cậy.
Cài skill backtesting-frameworks bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/backtesting-frameworks-4c4b0.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /backtesting-frameworks – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/backtesting-frameworks-4c4b0.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $backtesting-frameworks – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/backtesting-frameworks-4c4b0.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /backtesting-frameworks – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/backtesting-frameworks-4c4b0.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /backtesting-frameworks – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Backtesting Frameworks
Build robust, production-grade backtesting systems that avoid common pitfalls and produce reliable strategy performance estimates.
Use this skill when
- Developing trading strategy backtests
- Building backtesting infrastructure
- Validating strategy performance and robustness
- Avoiding common backtesting biases
- Implementing walk-forward analysis
Do not use this skill when
- You need live trading execution or investment advice
- Historical data quality is unknown or incomplete
- The task is only a quick performance summary
Instructions
- Define hypothesis, universe, timeframe, and evaluation criteria.
- Build point-in-time data pipelines and realistic cost models.
- Implement event-driven simulation and execution logic.
- Use train/validation/test splits and walk-forward testing.
- If detailed examples are required, open
resources/implementation-playbook.md.
Safety
- Do not present backtests as guarantees of future performance.
- Avoid providing financial or investment advice.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Simulation boundaries
The examples are incomplete educational engines, not production-grade or validated performance estimates. Event execution is single-symbol long-only and needs sorted unique timestamps, finite positive OHLC prices, valid cash/order quantities and explicit unsupported limit/stop handling; do not silently discard unsupported or final pending orders. State persists across run calls: create a fresh engine per experiment. Corporate actions, dividends, delistings, missing bars, borrow/funding/margin, latency, liquidity/partial fills and capacity remain unmodeled. A one-period signal shift does not cure a signal function that reads future data, and close-to-close attribution requires a precisely defined execution clock. Annualization must match sampling frequency; 252 assumes trading-day data and simple IID scaling may fail under autocorrelation. Nonzero return days are not trades, geometric annual return divided by volatility is not the standard arithmetic excess-return Sharpe, and a curve without initial capital can miss first-period drawdown. Preserve initial wealth in each metric and report undefined ratios rather than invented zero. Walk-forward needs train-only warm-up for test indicators, no overlapping test windows and consistent costs/capital chaining; repeated parameter search adds selection bias. IID bootstrap ignores serial dependence/regime shifts and produces conditional simulation quantiles, not a calibrated future-loss probability. Record data versions, all trials, seeds, cost assumptions, benchmarks and untouched holdout results; no live execution or investment recommendation is authorized.
Skill liên quan
- bazel-build-optimization – Tối ưu build Bazel cho monorepo quy mô lớn. Dùng khi cấu hình Bazel, triển khai remote…
- bb-methodology – Dùng ở ĐẦU mỗi phiên săn bug bounty, khi chuyển sang mục tiêu khác, hoặc khi không biết…
- meeting-action-items – Biến ghi chú cuộc họp thành quyết định có trích dẫn, người phụ trách và ticket.
- meme-generation – Tạo ảnh meme PNG từ template với chữ chèn bằng Pillow.
- beatra – Cài đặt và sử dụng gói AI Media Generator chính thức, ghim theo digest, cho công việc…
- bill-gates – Mô phỏng giáo dục về phân tích chiến lược, lấy cảm hứng từ các chủ đề công khai của Bill…
- binary-diff – Di chuyển ký hiệu nhị phân giữa các phiên bản: so sánh (diff) các file nhị phân đã cập…
- fda-consultant-specialist – Tư vấn pháp lý FDA cho các công ty thiết bị y tế. Cung cấp hướng dẫn lộ trình…