trading-patterns

Installation
SKILL.md

Trading System Patterns

Domain-specific patterns for order management, FIX protocol integration, matching engines, and algorithmic execution.

Core Patterns

Pattern: Idempotent Order State Machine

// Order state transitions must be idempotent - receiving the same execution report twice
// (exchange retransmission) must not double-fill or create incorrect state

type OrdStatus = 'PENDING_NEW' | 'NEW' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELLED' | 'REJECTED';
Installs
2
GitHub Stars
2
First Seen
6 days ago