Broker-Independent APIs
Build your own multi-account, multi-broker trading in code — write once, run on any broker.
The broker-independent APIs let programmers build their own multi-account, multi-broker trading in code. You write your strategy once against one common API, and it works across every supported broker and account — switching a broker or adding accounts is a setting change, not a code change. You can connect from Java, Python, C#, Excel, AmiBroker, MetaTrader, or plain HTTP REST.
For programmers, AutoTrader Web offers broker-independent APIs to build your own automated trading. You write your strategy once and run it across many accounts and brokers. You build and control everything, and you can stop it at any time.
What you can build
Automate your own strategy from end to end in your own code:
- Place, modify and cancel orders
- Read positions, holdings, orders and margins
- Manage many accounts and brokers together
Write once, trade on any broker
This is the idea of broker independence. Your code talks to one common API instead of a single broker’s API. To switch brokers or add more trading accounts, you change a setting — you do not rewrite or retest your strategy.
Languages and tools
Connect in the language or tool you already use:
| You work in… | Use |
|---|---|
| Java, Python or C# | The client libraries |
| Excel | The Excel client (with an Add-in for VBA) |
| AmiBroker or MetaTrader | The ready-made bridges |
| Anything else | Plain HTTP REST |
See Client Setup for step-by-step connection guides, and the API reference for every function, parameter and response format.
Getting the code written
We answer anything about our side of the API: which function does what, what a parameter expects, which values it accepts, and what an error we return means. We are not set up to read or debug a whole program, so our support assistant will say so honestly rather than guess at it.
For the code itself, use an AI coding assistant (ChatGPT, Claude, Gemini, Copilot, or whichever you use), and give it the API reference, the field values and Client Setup first — an AI that has not read them will invent function names. There is also a plain-text map of our whole documentation at stocksdeveloper.in/llms.txt that most AI tools can read in one go.
Ready-to-copy prompts, and what to check before you trade with the result, are in Can you help me write or fix my Pine Script or API code? Try any new call once with the Postman collection before you put it in code.
Where to start
- New to the idea? Read Broker Independence.
- Ready to connect? Go to Client Setup.
- Need function details? Open the API reference.
Not a programmer? See Choose Your Feature for the ready-made ways to trade many accounts.
Frequently asked questions
Do I need to know programming to use AutoTrader Web?▾
No. The APIs are only for people who want to build their own automation in code. If you do not code, you can use the ready-made features instead — PMS copy trading, master-child auto-copy, alert automation, or bulk orders from Excel. See Choose Your Feature to pick one.
Can I trade many accounts and brokers from one program?▾
Yes. You write your strategy once against one common API. The same code works across every supported broker, and you add more trading accounts from settings — with no code change.
Which languages and tools can I use?▾
Java, Python and C# libraries, Excel (with an Add-in for VBA), AmiBroker, MetaTrader, or plain HTTP REST for anything else. See Client Setup for step-by-step connection guides.
Next steps
Thanks for the feedback. Still stuck? Contact support.
Last updated 18 August 2026