The References section provides the essential data dictionaries and mapping tables required to interpret system responses and handle exceptions programmatically.
This section is divided into two primary areas:
- Reference Data Definitions (Enumerated Values): A comprehensive guide to the allowed constants for fields such as Order Status, Trading Side, and Execution Strategies. Use these definitions to map raw API responses to your application's internal logic.
- Error Code Reference: A detailed breakdown of both HTTP and WebSocket error codes. This reference is designed to assist in debugging and implementing robust error-handling routines.
By utilizing these references, developers can ensure their integrations are synchronized with OSL's system logic and capable of gracefully managing various edge cases and network conditions.