# TradeLocker API: questions and answers

Independent and unofficial. Not affiliated with or endorsed by any broker or platform named here. Educational only: nothing here is advice, and nothing here recommends a broker or a trade.

This is the markdown version of https://openbrokerapi.com/answers/tradelocker, written from the same records as that page.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

7 questions about the TradeLocker API, each answered from the TradeLocker record on this site (https://openbrokerapi.com/platforms/tradelocker) and nothing else. 1 of the answers rests on a record labelled unverified.

- Newest check: 2026-10-12
- Official documentation: [public-api.tradelocker.com](https://public-api.tradelocker.com/)

An answer here is the record's own wording, cut at the end of a sentence, or a list of names read from records. An answer that opens with the word Unverified has no dated source behind it. Where this page and the provider's own documentation differ, the documentation wins. Nothing here recommends a broker.

## TradeLocker API questions

### Does TradeLocker have a demo or paper trading API?

Yes: separate demo environment at demo.tradelocker.com.

- Status: verified. Source: [Getting Started with TradeLocker Public API](https://public-api.tradelocker.com/), checked 2026-09-20.

- [The TradeLocker record's full wording](https://openbrokerapi.com/platforms/tradelocker#access)

### What are TradeLocker's API rate limits?

Per route limits only, served at runtime by the /trade/config route as a number of requests per interval of seconds or minutes. The documentation publishes no fixed figure and gives 2 requests a second only as an example of the form.

- Status: verified. Source: [TradeLocker public API, getting started](https://public-api.tradelocker.com/docs/getting-started), checked 2026-10-12.
- Status: verified. Source: [TradeLocker public API, index of pages](https://public-api.tradelocker.com/llms.txt), checked 2026-10-12.

- [TradeLocker API rate limits, as the record words them](https://openbrokerapi.com/platforms/tradelocker/rate-limits)

### How do I authenticate with the TradeLocker API?

POST email, password and server to /auth/jwt/token; send the JWT as Bearer token; refresh tokens issued. /trade/\* routes also need the accNum header (not the accountId).

- Status: verified. Source: [Getting Started with TradeLocker Public API](https://public-api.tradelocker.com/), checked 2026-09-20.

- [The TradeLocker record's full wording](https://openbrokerapi.com/platforms/tradelocker#access)

### Does TradeLocker support streaming or WebSocket prices?

Unverified. TradeLocker's public API documentation, re-read 12 Oct 2026, describes a request and response REST API only, and its index of pages lists no streaming page.

- Status: unverified. Source: [TradeLocker public API, getting started](https://public-api.tradelocker.com/docs/getting-started), checked 2026-10-12.

- [The TradeLocker record's full wording](https://openbrokerapi.com/platforms/tradelocker#access)

### Is there an official Python library for TradeLocker?

The TradeLocker record marks one Python library as official: tradelocker.

- Status: verified. Source: [tradelocker](https://pypi.org/project/tradelocker/), checked 2026-09-20.

- [Every library in the TradeLocker record](https://openbrokerapi.com/platforms/tradelocker#sdks)

### Does TradeLocker have an MCP server?

Not found on the pages opened, which is not proof that none exists. No MCP server found. public-api.tradelocker.com states verbatim: For AI agents: visit https://public-api.tradelocker.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.

- Status: verified. Source: [public-api.tradelocker.com](https://public-api.tradelocker.com/), checked 2026-09-24.

- [The MCP server directory: looked for and not found](https://openbrokerapi.com/ai/mcp-directory#none-found)

### What does TradeLocker error no_data mean?

A status in the response of GET /trade/history, not an HTTP error. TradeLocker says the status is set to no_data when there is no data in the requested time period.

- Status: verified. Source: [public-api.tradelocker.com](https://public-api.tradelocker.com/reference/gethistory.md), checked 2026-10-09.

- [TradeLocker error no_data: the meaning in full and what to do](https://openbrokerapi.com/errors/tradelocker/no-data)

## Where to go next

- [The TradeLocker API record in full: every field with its source](https://openbrokerapi.com/platforms/tradelocker)
- [Answers for every broker and platform API](https://openbrokerapi.com/answers)
- [Which broker APIs have a demo environment?](https://openbrokerapi.com/answers/demo-api)
- [What are the rate limits of each broker API?](https://openbrokerapi.com/answers/rate-limits)
- [How does each broker API authenticate?](https://openbrokerapi.com/answers/authentication)
- [Which broker APIs stream prices?](https://openbrokerapi.com/answers/streaming)
- [Which broker APIs have an official Python library?](https://openbrokerapi.com/answers/python-library)
- [Which broker APIs have an MCP server?](https://openbrokerapi.com/answers/mcp-server)
- [What does each API's most referenced error mean?](https://openbrokerapi.com/answers/error-codes)
- [cTrader API: questions and answers](https://openbrokerapi.com/answers/ctrader)
- [DXtrade API: questions and answers](https://openbrokerapi.com/answers/dxtrade)
- [Match-Trader API: questions and answers](https://openbrokerapi.com/answers/match-trader)
- [MetaApi API: questions and answers](https://openbrokerapi.com/answers/metaapi)
- [MetaCopier API: questions and answers](https://openbrokerapi.com/answers/metacopier)
- [MetaTrader 4 API: questions and answers](https://openbrokerapi.com/answers/metatrader-4)
- [MetaTrader 5 API: questions and answers](https://openbrokerapi.com/answers/metatrader-5)

## Licence and how to cite

The records behind this page are all rights reserved. This file is the page itself, at its own address, in another format. It is not part of the CC BY 4.0 downloads listed at https://openbrokerapi.com/data. Quote from it with a link to the page.

Cite as: TradeLocker API: questions and answers. Broker API Hub, https://openbrokerapi.com/answers/tradelocker, newest check 2026-10-12.

Where you rely on a single figure, cite the source and the checked date printed beside it as well. Where this page and a broker's own documentation differ, the documentation wins.
