Application Overview
The European Union's Markets in Financial Instruments Directive II (MiFID II) and the U.S. Securities and Exchange Commission's Regulation SCI impose strict requirements on timestamp accuracy for financial trading systems. MiFID II Article 25 requires that orders and transactions are timestamped with a traceable time source accurate to 1 millisecond, with best practice recommendations for sub-millisecond accuracy. These requirements ensure regulatory compliance, enable cross-market surveillance, and support dispute resolution.
This reference design provides a complete timing infrastructure for trading venues, broker-dealers, and market participants requiring compliant timestamping. The architecture emphasizes hardware-based timestamping for deterministic latency, audit trail capabilities for regulatory compliance, and high availability for mission-critical trading operations.
Beyond regulatory compliance, precise timing enables latency optimization for algorithmic trading, cross-venue order correlation, and risk management systems that depend on accurate event sequencing. The reference design addresses both compliance requirements and competitive performance needs.
System Architecture
+---------------------------+
| GNSS Antenna |
| (GPS/BeiDou/GLONASS) |
+-------------+-------------+
|
v
+---------------------------+
| STW-TD |
| Satellite Time & |<----------+
| Frequency Equipment | Backup |
+-------------+-------------+ Ref |
| |
+-------------+-------------+ |
| | |
v v |
+------------------------+ +------------------------+ |
| STM-Rb-N | | STW-NT | |
| Rubidium Clock | | Network Time Server | |
| (Holdover Reference) | | (PTP/NTP Grandmaster) | |
+-----------+------------+ +-------------+---------+ |
| | |
10MHz | PTP/NTP | |
| v |
v +---------------------------+
+-------------------------+| Managed Switch |
| STZ-PF || (PTP Boundary Clock) ||
| Frequency |+---------------------------+
| Distributor | |
+------------+------------+ |
| |
+------------+------------+ +---------+---------+
| | | |
v v v v
[Servers] [Servers] [Trading [Market
Hardware Hardware Engine] Data Feed]
Timestamping Timestamping Handler
(STW-PC) (STW-PC)
+---------------------------------------------------------------+
| Trading Floor / Data Center |
+---------------------------------------------------------------+
+---------------------------------------------------------------+
| Compliance & Audit System |
+---------------------------------------------------------------+
Compliance Architecture
The STW-NT generates PTP and NTP packets with hardware timestamps, providing traceable timing to UTC with <100ns accuracy. The STM-Rb-N rubidium clock provides holdover capability, ensuring timestamp continuity during GNSS outages. The STW-PC PCIe cards provide hardware timestamping directly in trading servers, eliminating software stack delays.
MiFID II Requirements Addressed:
- Timestamp accuracy: <1ms to UTC (achieved: <100μs)
- Traceability: Direct to UTC via GNSS (achieved: <10ns)
- Audit trail: Hardware timestamps with integrity verification
Key Design Decisions
1. Hardware Timestamping Requirement
MiFID II requires timestamp accuracy of 1 millisecond, but competitive trading demands sub-100 microsecond accuracy. The STW-PC PCIe card provides hardware-level timestamping with <10ns latency from packet receipt to timestamp insertion.
Decision Rationale: Software-based timestamping introduces variable delays of 100-500μs due to OS scheduling. Hardware timestamping provides the deterministic performance required for both compliance and competitive advantage.
2. UTC Traceability
The STW-TD provides direct GNSS reception with <10ns accuracy to UTC. This establishes the traceability chain required for regulatory compliance: GNSS → STW-TD → Trading System → Timestamped Events.
Decision Rationale: MiFID II requires demonstrable traceability to UTC. Hardware-based GNSS timing provides the most reliable and auditable traceability path.
3. High Availability Architecture
Trading systems cannot tolerate timing interruptions that would invalidate transaction timestamps or require system restarts. The dual-reference architecture with hot-standby ensures continuous operation.
Decision Rationale: System restarts due to timing failures cause operational disruption and potential compliance issues. The holdover architecture ensures continuous operation through any single-point failure.
4. PTP Profile for Trading Networks
The STW-NT supports IEEE 1588 PTP with configurable profiles optimized for financial networks. The default profile with hardware timestamping achieves <100ns accuracy on local networks.
Decision Rationale: PTP provides higher accuracy than NTP for latency-sensitive applications. The configurable profile allows optimization for specific network topologies.
Bill of Materials (BOM)
| Item | BRIDZA Model | Function | Qty | Notes |
|---|---|---|---|---|
| ------ | ------------- | ---------- | ----- | ------- |
| GNSS Timing Equipment | STW-TD | Primary UTC traceable timing | 1 | Multi-constellation, ≤10ns |
| Rubidium Clock | STM-Rb-N | Holdover oscillator | 1 | <500ns over 24 hours |
| Network Time Server | STW-NT | PTP/NTP Grandmaster | 2 | Redundant configuration |
| Frequency Distributor | STZ-PF | Reference distribution | 1 | For multiple STW-NT units |
| PCIe Timing Card | STW-PC | Hardware timestamping | Per trading server | For latency-critical systems |
| GNSS Antenna | - | Timing antenna (not supplied) | 2 | Diversity configuration |
| Managed Switch | - | PTP distribution (not supplied) | 2+ | BC-capable, low latency |
| UPS System | - | Backup power (not supplied) | 2 | N+1 redundant |
Performance Targets
| Parameter | Requirement | Achieved | Notes |
|---|---|---|---|
| ----------- | ------------ | ---------- | ------- |
| Timestamp Accuracy | <1ms | <100μs | Hardware timestamp |
| UTC Traceability | Required | <10ns | STW-TD to GNSS |
| PTP Accuracy | <1μs | <100ns | Hardware timestamp, local |
| NTP Accuracy | <1ms | <25ns | Hardware timestamp |
| Holdover (24h) | <1ms | <500ns | STM-Rb-N performance |
| Holdover (4h) | <1ms | <100ns | Target for trading systems |
| System MTBF | >50,000h | >100,000h | With redundancy |
| Timestamp Resolution | <1ms | <1μs | Hardware capability |
Implementation Notes
Data Center Siting
Install timing equipment in the primary data center with redundant connectivity to trading systems. The STW-TD and STW-NT occupy 1-3U rack space each. Maintain adequate ventilation and power redundancy.
GNSS Antenna Installation
Install GNSS antenna on building roof with clear sky view (full sky coverage preferred). Use dual antennas for diversity reception to improve availability in urban canyons. Route RF cables through grounded conduits.
Network Architecture
Configure isolated VLAN for timing traffic:
- PTP: CoS 7 (highest), dedicated VLAN
- NTP: CoS 5, shared VLAN acceptable
- Management: CoS 0, standard VLAN
Deploy PTP Boundary Clocks at network boundaries to isolate timing domains.
Trading Server Configuration
Install STW-PC in each critical trading server:
- Install PCIe card in low-latency slot (x4 or better)
- Load kernel module and configure PTP stack
- Verify hardware timestamp operation
- Integrate with trading application via kernel timestamping
Compliance Documentation
Maintain documentation for regulatory audits:
- System architecture diagrams
- UTC traceability certificates
- Timestamp accuracy test results
- System configuration records
- Change management log
Test & Verification Approach
Compliance Testing
- Timestamp Accuracy Test: Compare trading system timestamps to reference UTC using GPS receiver
- Traceability Audit: Verify chain from GNSS to timestamping module
- Measurement Uncertainty: Document measurement uncertainty per ISO/IEC Guide 98-3
Performance Testing
- PTP Synchronization Test: Measure offset from grandmaster using PTP analyzers
- NTP Response Test: Run ntpq -p, verify stratum and offset
- Latency Measurement: Measure end-to-end timestamp latency using test packets
Availability Testing
- Failover Test: Disconnect primary GNSS, verify automatic switchover
- Holdover Test: Disconnect both GNSS sources, measure timestamp drift
- Recovery Test: Restore GNSS, verify automatic re-lock and accuracy recovery
Regulatory Audit Preparation
- Documentation Review: Verify completeness of compliance documentation
- System Configuration Audit: Verify configuration matches documentation
- Accuracy Validation: Conduct independent timestamp accuracy test
Alternative Configurations
High-Frequency Trading (HFT)
For HFT firms requiring lowest possible latency, configure direct-attached timing with dedicated STW-NT per trading cluster. Use fiber connections to minimize switch latency.
Component Changes: Add dedicated STW-NT per trading cluster, direct fiber connections
Market Data Feed Handler
For market data consolidation systems, ensure feed handlers use hardware timestamps for accurate message ordering. Configure STW-PC for all feed handler servers.
Configuration Change: Deploy STW-PC in all feed handler servers
Multi-Venue Operations
For firms operating across multiple trading venues, implement centralized timing with redundant PTP grandmasters. All venues synchronize to same time source for cross-venue order correlation.
Additional Components: Additional STW-NT units for venue distribution
Cloud Trading Infrastructure
For cloud-deployed trading systems, implement timing at cloud edge locations with dedicated GNSS receivers. Ensure latency to UTC remains within specification.
Configuration Change: Deploy STW-TD at each cloud edge location