Open documentation ↗Overview
### Overview Tradematic Cloud is a trading infrastructure for building investment services. It’s a trading engine + API + ready-made adapters to stock and forex brokers, crypto exchanges, and market data providers. You can use it as a cloud API, or you can deploy it on your servers. ### How to use Tradematic Cloud API Sign up at [tradematic.cloud](https://tradematic.cloud). After signing up, you will receive your API key. ### Authorization Add the 'X-API-KEY' header with your API key to each request. ### Examples of writing code with Tradematic Cloud API Examples are available at [tradematic.cloud](https://tradematic.cloud). ### Swagger (.yaml) File Swagger (.yaml) file can be found [here](http://tradematic.cloud/sdk/swagger.yaml).
Tradematic Cloud API is a finance API from tradematic.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 67 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Finance
- Base URL
https://api.tradematic.com- Version
- 1.0.2
- Endpoints
- 67
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.tradematic.com/autofollow/strategies" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.tradematic.com/autofollow/strategies", {
method: "GET",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://api.tradematic.com/autofollow/strategies",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /autofollow/strategies | Get autofollow strategies list |
| POST | /autofollow/strategies | Create new autofollow strategy |
| GET | /autofollow/strategies/{strategyid} | Get autofollow strategy by ID |
| PUT | /autofollow/strategies/{strategyid} | Update autofollow strategy |
| PUT | /autofollow/strategies/{strategyid}/content | Update rules for strategy that was created with strategy builder |
| GET | /autofollow/strategies/{strategyid}/positions | Get positions for strategy |
| GET | /autofollow/strategies/{strategyid}/signals | Get trading signals for strategy |
| POST | /autofollow/strategies/{strategyid}/signals | Send a new signal for autofollow strategy |
| GET | /builder/rules | Get strategy builder rules list |
| GET | /builder/rules/{ruleid} | Get strategy builder rules by ID |
| GET | /client/apikeys | Get API keys |
| POST | /client/apikeys | Create new API key |
| DELETE | /client/apikeys/{keyid} | Delete API key |
| GET | /client/users | Get users list |
| POST | /client/users/login | Logs user into the system |
| POST | /client/users/register | Register a new user |
| GET | /client/users/{userid} | Get user by ID |
| GET | /cloud/accounts | Get trading accounts list |
| GET | /cloud/accounts/{accountid} | Get trading account by ID |
| POST | /cloud/accounts/{accountid}/closeall | Close all positions by account |
| GET | /cloud/accounts/{accountid}/orders | Get orders list by account |
| POST | /cloud/accounts/{accountid}/orders | Place a new order |
| DELETE | /cloud/accounts/{accountid}/orders/{orderid} | Cancel an order by ID |
| GET | /cloud/accounts/{accountid}/snapshots | Get account equity and cash snapshots |
| POST | /cloud/accounts/{accountid}/sync | Syhchronize an account with account active strategies |
| GET | /cloud/accounts/{accountid}/trades | Get trades list by account |
| GET | /cloud/commands | Get commands list |
| GET | /cloud/commands/{commandid} | Get command by ID |
| GET | /cloud/connections | Get connections list |
| POST | /cloud/connections | Create a new connection |
| GET | /cloud/connections/{connectionid} | Get connection by ID |
| PUT | /cloud/connections/{connectionid} | Update existing connection |
| DELETE | /cloud/connections/{connectionid} | Delete connection by ID |
| GET | /cloud/connectors | Get available connectors list |
| GET | /cloud/connectors/{connectorid} | Get connector by ID |
| GET | /cloud/sessions | Get sessions list |
| GET | /cloud/sessions/{sessionid} | Get session by ID |
| GET | /cloud/strategies | Get list of active (executing) strategies |
| POST | /cloud/strategies/start | Start a strategy execution for account |
| GET | /cloud/strategies/{strategyid} | Get active (executing) strategy by ID |
| POST | /cloud/strategies/{strategyid}/stop | Stop a strategy execution by ID |
| GET | /marketdata/markets | Get markets list |
| GET | /marketdata/markets/{marketid} | Get market by ID |
| GET | /marketdata/symbols | Get symbols list |
| GET | /marketdata/symbols/{symbolid} | Get symbol by ID |
| GET | /marketdata/symbols/{symbolid}/histdata | Get historical data for instrument |
| GET | /news/news | Get news list |
| GET | /news/news/{newsid} | Get news by ID |
| GET | /ping | Ping |
| GET | /taskmanager/tasks | Get tasks list |
| POST | /taskmanager/tasks | Create a new task |
| GET | /taskmanager/tasks/{taskid} | Get task by ID |
| GET | /taskmanager/tasks/{taskid}/bymonths | Get backtest data for equity chart, grouped by months |
| GET | /taskmanager/tasks/{taskid}/byquarters | Get backtest data for equity chart, grouped by quarters |
| GET | /taskmanager/tasks/{taskid}/byyears | Get backtest data for equity chart, grouped by years |
| GET | /taskmanager/tasks/{taskid}/contribution | Get backtest symbol contribution data |
| GET | /taskmanager/tasks/{taskid}/drawdown | Get data for drawdown chart |
| GET | /taskmanager/tasks/{taskid}/equity | Get data for equity chart |
| GET | /taskmanager/tasks/{taskid}/equitypct | Get data for equity chart (%) |
| GET | /taskmanager/tasks/{taskid}/equitypctsm | Get spared data for equity chart (%) |
| GET | /taskmanager/tasks/{taskid}/folder | Get task result folder name |
| GET | /taskmanager/tasks/{taskid}/performance | Get backtest statistics |
| GET | /taskmanager/tasks/{taskid}/result | Get task result |
| GET | /taskmanager/tasks/{taskid}/result2 | Get task result (version 2) |
| GET | /taskmanager/tasks/{taskid}/status | Get task status |
| GET | /taskmanager/tasks/{taskid}/trades | Get backtest trades list |
| GET | /time | Get current server time |
Questions
Does the Tradematic Cloud API API need an API key?
Yes. The Tradematic Cloud API API uses API key authentication; the documentation explains how to get credentials.
Does the Tradematic Cloud API API support HTTPS?
Yes, the Tradematic Cloud API API is served over HTTPS.
How many endpoints does the Tradematic Cloud API API have?
Its OpenAPI description lists 67 endpoints in version 1.0.2. All of them are shown on this page.
What are alternatives to the Tradematic Cloud API API?
Other Finance APIs include Stripe, SEC EDGAR Data, Plaid, Fed Treasury, Razorpay IFSC.
Similar finance APIs
Compare alternatives →Stripe
FinancePayment processing, subscriptions, and financial management
SEC EDGAR Data
FinanceAPI to access annual reports of public US companies
Plaid
FinanceConnect with user's bank accounts and access transaction data
Fed Treasury
FinanceU.S. Department of the Treasury Data
Razorpay IFSC
FinanceIndian Financial Systems Code (Bank Branch Codes)
Klarna
FinanceKlarna payment and shopping service
Listed from APIs.guru (CC0).