> 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

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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
