Skip to content
  • There are no suggestions because the search field is empty.

TradeLocker BrandSocket API

Brands using the TradeLocker Brand API can now enhance their integration by adding BrandSockets, enabling real-time updates on trader accounts.

This allows brands to receive real-time updates about trader accounts they provided. This includes updates on balances, equity, positions, and orders.

Coming soon: Streaming price quotes for instruments.

Key benefits

  • Real-time data sync – Keep your CRM updated in real-time with trader activity.
  • Live account monitoring – Get updates on balances, equity, positions, and orders as they happen.
  • Seamless integration – Works alongside the Brand API, giving brands full control over how they utilize the data.

Once your Brand API is set up, adding Brand Sockets is optional but highly recommended for a more dynamic and responsive system.

BrandSocket API documentation

For the integration, use the following documentation links:

During integration, use the development environment. Once you’re ready for productioncontact us to enable production sockets for you.

How to get started

  1. Connect to Brand Socket server powered by SocketIO protocol.
  2. Authenticate using your Brand API key.
  3. Subscribe to stream SocketIO events to receive the real-time updates on balance, positions, and orders and more.
  4. Check all of the real-time events in the docs.
  5. Implement automatic reconnection to maintain a stable data flow.Note: We allow only one active connection per API key. If multiple connections are attempted, the first connection will be terminated, and the new connection will be established.

 

For more details, check: