market-regulations

Community

Encode cross-market trading rules for compliant backtests

Authorloanntc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents backtests and trading logic from producing misleading results by aligning strategy execution with real-world financial market regulations and market microstructure constraints.

Core Features & Use Cases

  • Cross-market rule modeling: Covers A-shares, Hong Kong stocks, US market constraints (PDT, circuit breakers, LULD), crypto regulatory trends, and how these affect order execution and returns.
  • Backtest correctness guidance: Highlights common simulation pitfalls such as T+N timing errors, limit-up/limit-down execution failures, and shorting constraints.
  • Compliance-style checks & cost/tax impacts: Provides a rule-constraint matrix, a cross-market compliance checklist, and tax/fee considerations to improve strategy realism.
  • Use Case: When building a multi-market long/short strategy (e.g., A-share + Hong Kong pair), use this knowledge to enforce settlement timing, trading windows, and shorting feasibility while accounting for transaction costs and taxes.

Quick Start

Use the market-regulations skill to generate a rule-constraint plan for your A-share + Hong Kong pair strategy, including how to model T+N execution, limit rules, short availability, and relevant taxes.

Dependency Matrix

Required Modules

pandasnumpy

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: market-regulations
Download link: https://github.com/loanntc/Paave/archive/main.zip#market-regulations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.