
Pre Trade Compliance
This guides you through building the compliance layer that sits between order generation and execution, catching violations before they hit the market. It covers the architectural decisions that matter: sequential versus parallel rule evaluation, where to intercept orders in the workflow, and when to use hard blocks that stop everything versus soft blocks that require documented overrides. You'll find specifics on implementing restricted lists, concentration limits, wash sale detection, and client-specific constraints like ESG screens. The latency discussion is honest about the tradeoff between comprehensive checks and execution speed, with actual targets like sub-100ms for real-time equity orders. Most useful when you're building a rule engine from scratch or inheriting a compliance system that's generating too many false positives.
- skills.sh installs
- 699
- GitHub stars
- 224
- last updated
- Aug 21, 2026
Install
$ npx -y skills add joellewis/finance_skills --skill pre-trade-compliance --agent claude-codeInstalls into .claude/skills of the current project.
Files
Pre-Trade Compliance
Core Concepts
Pre-Trade Compliance Architecture
The pre-trade compliance system intercepts orders after generation by the portfolio management system or order entry interface and before routing to custodians or execution venues. The system evaluates each order against a set of rules and either permits the order to proceed, blocks it entirely (hard block), or flags it for review (soft block).
Rule engine design — sequential vs. parallel evaluation:
Sponsors
Details
- Repository
- github.com/joellewis/finance_skills
- Categories
- Security, Documentation, Code Review & Quality, Automation & Workflows, Design & UI/UX, Finance & Trading
- First seen
- Jun 3, 2026
More from joellewis/finance_skills
All 84- Order Management Advisor698
- Books And Records697
- Corporate Actions693
- Fixed Income Municipal693
- Reference Data692
- Crm Client Lifecycle691
- Post Trade Compliance691
- Advisor Dashboards690
- Gips Compliance689
- Integration Patterns688
- Account Opening Compliance687
- Account Maintenance686
- Stp Automation686
- Client Disclosures685
- Client Reporting Delivery685
- Proposal Generation684
- Conflicts Of Interest682
- Sales Practices680
- Fee Disclosure679
- Workflow Automation679
- Fiduciary Standards677
- Examination Readiness675
- Reg Bi675
- Client Review Prep673