# True Markets CeFi WebSocket ## Overview This API allows clients to interact with the **CeFi trading platform** for real time instrument, market data and exchange transactions. ## Authentication Certain API requests must be **authenticated** using **HMAC-SHA256 signature authentication**. ## Unauthenticated Endpoints Many endpoints have an unauthenticated version which only requires the user to supply a valid timestamp (no older than 15 seconds and not in the future, relative to server UTC time). These endpoints batch updates and publish on an interval set by the exchange, typically 1 second. ## Authenticated-Only Channels Some channels require authentication and cannot be accessed without valid credentials: - **DROPCOPY**: Order drop copy channel that provides real-time order state updates. ## Links - 📖 **Full API Documentation**: https://docs.truex.co/ - 📧 **Support**: support@truex.co ## Change Log | Version | Date | Notes | |-----------|------------|---------------------------------------------| | v1.0.3 | 2026-02-23 | Added `UNSUBSCRIBE_NO_AUTH` and clarified no-auth request requirements on authenticated sessions. | | v1.0.2 | 2026-02-10 | Clarified authentication/signature rules and subscription field requirements. | | v1.0.1 | 2026-01-28 | Added DROPCOPY channel for order drop copy. | | v1.0.0 | 2025-10-16 | Initial Release. | Version: v1.0.3 ## Servers ### uat UAT websocket sandbox server. Host: uat.truex.co Protocol: wss ### production Production websocket server. Host: prod.truex.co Protocol: wss #### /api/v1 - [/api/v1](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1.md) #### subscribe - [subscribe](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/subscribe.md) #### welcome - [welcome](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/welcome.md) #### confirmation - [confirmation](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/confirmation.md) #### instrument - [instrument](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/instrument.md) #### trade - [trade](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/trade.md) #### ebbo - [ebbo](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/ebbo.md) #### depth - [depth](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/depth.md) #### dropcopy - [dropcopy](https://docs.truemarkets.co/apis/cefi-direct/ws/v1/channels/v1/operations/dropcopy.md)