> For the complete documentation index, see [llms.txt](https://docs.lsports.eu/u/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lsports.eu/u/trade/integration/sdk.md).

# SDK

Official SDKs for simplified TRADE integration

TRADE provides official SDKs to simplify integration with our data feed. The SDKs handle connection management, message parsing, and provide typed interfaces for all message types.

## Available SDKs

| Language | Package                 | Documentation                                                                   |
| -------- | ----------------------- | ------------------------------------------------------------------------------- |
| Node.js  | `@lsports/trade-sdk`    | [Installation Guide](/u/trade/integration/sdk/sdk-installation-guide-nodejs.md) |
| .NET     | `LSports.Trade.SDK`     | [Installation Guide](/u/trade/integration/sdk/sdk-installation-guide-.net.md)   |
| Java     | `com.lsports.trade-sdk` | [Installation Guide](/u/trade/integration/sdk/sdk-installation-guide-java.md)   |

## Features

All SDKs provide:

* **Automatic connection management** - Handles reconnection and heartbeat monitoring
* **Message deserialization** - Strongly-typed message objects
* **Event-based architecture** - Subscribe to specific message types
* **Error handling** - Built-in retry logic and error recovery
* **Logging** - Configurable logging for debugging

## Getting Started

1. [SDK Overview](/u/trade/integration/sdk/sdk-overview.md) - Understanding SDK architecture
2. [Configuration](/u/trade/integration/sdk/configuration.md) - Configuration options and settings
3. Choose your language-specific installation guide

## Quick Start Example (Node.js)

```javascript
const { TradeClient } = require('@lsports/trade-sdk');

const client = new TradeClient({
  packageId: 'YOUR_PACKAGE_ID',
  username: 'YOUR_USERNAME',
  password: 'YOUR_PASSWORD'
});

client.on('fixture', (message) => {
  console.log('Fixture update:', message.fixtureId);
});

client.on('market', (message) => {
  console.log('Market update:', message.fixtureId);
});

await client.connect();
```

## Support

For SDK-related issues:

* Check the [Notes & Troubleshooting](/u/trade/integration/apis/notes-and-troubleshooting.md) guide
* Contact your Customer Success Manager
* Open a support ticket at support.lsports.eu


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lsports.eu/u/trade/integration/sdk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
