B2BITS OUCH 5.0 Market Data Adaptor Client Library for Nasdaq and other OUCH 5.0-compatible exchanges is a production-ready C++ solution, suitable for all types of users from proprietary trading systems to high-frequency trading firms. It provides a complete implementation of the Nasdaq OUCH 5.0 protocol specification with type-safe APIs, automatic reference number management, and optional message retransmission support.

Features

Feature Description
Nasdaq OUCH 5.0 Protocol Support

Complete implementation of the Nasdaq OUCH 5.0 order entry protocol:

  • All egress message types (Enter Order, Replace Order, Cancel Order, etc.)
  • All ingress message types (Order Accepted, Order Executed, Order Rejected, etc.)
  • TagValue appendage support for variable-length messages
  • Full protocol compliance with Nasdaq OUCH 5.0 specification
Type-Safe API

Strongly-typed message classes with compile-time checking:

  • Zero-copy message parsing where possible
  • Type-safe price handling with 4 implied decimals (Price type wrapper)
  • Type-safe timestamp utilities (nanoseconds since midnight)
  • Automatic padding for fixed-length strings
  • Compile-time validation of message fields
UserRefNum Management

Automatic strictly-increasing reference number generation:

  • Persistent UserRefNum state across application restarts
  • Memory-mapped file storage for durability
  • Automatic initialization and recovery
  • Prevents duplicate order submissions
Message Buffering & Retransmission

Optional egress message buffering for reliable message delivery:

  • Automatic retransmission support for connection recovery
  • Bulk acknowledgment mode for improved performance
  • Configurable buffer size and behavior
Session Management

Comprehensive connection and state management:

  • Connection handling via SoupBinTCP transport
  • Login/logout with authentication
  • Session state tracking and recovery
  • Automatic reconnection support
  • Sequence number management
TagValue Infrastructure

Full support for variable-length message appendages:

  • Zero-copy TagValue building for optimal performance
  • Standalone mode for flexible message construction
  • Efficient TagValue parsing and iteration
  • Type-safe TagValue accessors
High Performance

Optimized for low-latency trading systems:

  • Zero-copy message serialization
  • Efficient ring buffer operations
  • Zero-copy TagValue building
  • Optimized for high-frequency trading scenarios
Packaging

Complete development package:

  • Pre-compiled binaries for chosen platforms
  • Complete API documentation
  • Quick Start guide and code samples
  • Protocol specification reference
  • Performance benchmarks
  • Software escrow available on demand
Supported Versions

OUCH 5.0 (Nasdaq Standard Protocol)

Supported Platforms

Supported OS:

  • Windows
  • Linux

Supported Compilers:

  • GCC 7+
  • MS Visual Studio 2017+

Architecture:

  • x86_64 (64-bit).

OUCH 5.0 Market Data Adaptor is now available in a 30-day trial version.

Software escrow is available on demand.

Can't find your platform in the table?