# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
