joellewis avatar

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-code

Installs 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

Recommended

More Security
1ruvnet avatarbrowser-auth-flowruvnet/rufloProbe a site's authentication flow for redirect leaks, missing CSRF, weak session cookies, and OAuth misconfiguration; produces an auth findings.md690skills.sh installs
2anthropics avatarfhir-developer-skillanthropics/healthcareFHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, Medication672skills.sh installs
3alirezarezvani avatarterraform-patternsalirezarezvani/claude-skillsTerraform infrastructure-as-code agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Covers module design patterns, state management st647skills.sh installs
4sundial-org avatarproactive-agentsundial-org/awesome-openclaw-skillsTransform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Includes memory architecture with pre-compaction633skills.sh installs
5jezweb avatarhono-routingjezweb/claude-skillsBuild type-safe APIs with Hono for Cloudflare Workers, Deno, Bun, Node.js. Routing, middleware, validation (Zod/Valibot), RPC, streaming (SSE), WebSocket, secur615skills.sh installs
6tencentcloudbase avatarcloudbasetencentcloudbase/skillsUse this skill when you develop, design, build, deploy, debug, migrate, or troubleshoot CloudBase (腾讯云开发, 云开发, TCB, 微信云开发) projects. Covers Web, 微信小程序, 小程序, uni608skills.sh installs