For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
      • GETContact Info Dependents
      • GETContact Info Item
      • GETContact Info Items
      • GETContact Info L Dependents
      • POSTMarket Data Subscription Create
      • GETMarket Data Subscription Dependents
      • GETMarket Data Subscription Item
      • GETMarket Data Subscription Items
      • GETMarket Data Subscription L Dependents
      • GETMarket Data Subscription List
      • POSTMarket Data Subscription Update
      • GETOrganization Find
      • GETOrganization Item
      • GETOrganization Items
      • GETOrganization List
      • GETOrganization Suggest
      • GETSecond Market Data Subscription Dependents
      • GETSecond Market Data Subscription Item
      • GETSecond Market Data Subscription Items
      • GETSecond Market Data Subscription L Dependents
      • GETSecond Market Data Subscription List
      • POSTTradovate Subscription Create
      • GETTradovate Subscription Dependents
      • GETTradovate Subscription Item
      • GETTradovate Subscription Items
      • GETTradovate Subscription L Dependents
      • GETTradovate Subscription List
      • POSTTradovate Subscription Update
      • POSTAccept Trading Permission
      • POSTActivate Second Market Data Subscription Renewal
      • POSTAdd Market Data Subscription
      • POSTAdd Second Market Data Subscription
      • POSTAdd Tradovate Subscription
      • POSTCancel Everything
      • POSTCancel Second Market Data Subscription
      • POSTCancel Second Market Data Subscription Renewal
      • POSTExpire Market Data Subscription
      • POSTCancel Tradovate Subscription
      • POSTCreate Evaluation Accounts
      • POSTCreate Evaluation Users
      • POSTCreate Trading Permission
      • GETUser Find
      • POSTGet Account Trading Permissions
      • POSTGet Second Market Data Subscription Cost
      • GETUser Item
      • GETUser Items
      • GETUser List
      • POSTModify Credentials
      • POSTModify Email Address
      • POSTModify Password
      • POSTOpen Demo Account
      • POSTRequest Trading Permission
      • POSTRevoke Trading Permission
      • POSTRevoke Trading Permissions
      • POSTSign Up Organization Member
      • GETUser Suggest
      • POSTSync Request
      • POSTAdd Entitlement Subscription
      • POSTChange Plugin Permission
      • POSTUser Plugin Create
      • GETUser Plugin Dependents
      • GETUser Plugin Item
      • GETUser Plugin Items
      • GETUser Plugin L Dependents
      • GETUser Plugin List
      • POSTUser Plugin Update
      • GETUser Property Dependents
      • GETUser Property Item
      • GETUser Property Items
      • GETUser Property L Dependents
      • GETUser Session Item
      • GETUser Session Items
      • GETUser Session Stats Dependents
      • GETUser Session Stats Item
      • GETUser Session Stats Items
      • GETUser Session Stats L Dependents
      • GETUser Session Stats List
Support Center
LogoLogo
REST API EndpointsUsers

Create Evaluation Accounts

POST
https://demo.tradovateapi.com/v1/user/createevaluationaccounts
POST
/v1/user/createevaluationaccounts
1const url = 'https://demo.tradovateapi.com/v1/user/createevaluationaccounts';
2const options = {
3 method: 'POST',
4 headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
5 body: '{"accounts":[{"userId":1,"templateAccountId":1,"name":"string","initialBalance":1.1}]}'
6};
7
8try {
9 const response = await fetch(url, options);
10 const data = await response.json();
11 console.log(data);
12} catch (error) {
13 console.error(error);
14}
200Successful
1{
2 "results": [
3 {
4 "errorText": "string",
5 "accountId": 1,
6 "tradingPermissionId": 1
7 }
8 ],
9 "errorText": "string"
10}
### Batch create up to 100 simulation accounts at once. A higher level B2B Partner operation that can help to greatly reduce your application's API usage footprint. This call is able to batch the functionality of several calls at once for each EvaluationAccount configuration object provided: - The `userId` field controls which user will be assigned a Trading Permission for this account once it is created. - Providing a `preTradeRisk` will allow you to apply `userAccountPositionLimit` and `userAccountRiskParameter` settings directly. - Providing a `postTradeRisk` will allow you to set the `userAccountAutoLiq` settings directly. It is strongly advised to use this endpoint when creating new accounts to minimize API traffic. ***Note***: This endpoint replaces [/user/openDemoAccount](/api/rest-api-endpoints/users/open-demo-account) and [/user/createTradingPermission](/api/rest-api-endpoints/users/create-trading-permission).
Was this page helpful?
Previous

Create Evaluation Users

Next
Built with

Batch create up to 100 simulation accounts at once.

A higher level B2B Partner operation that can help to greatly reduce your application’s API usage footprint. This call is able to batch the functionality of several calls at once for each EvaluationAccount configuration object provided:

  • The userId field controls which user will be assigned a Trading Permission for this account once it is created.
  • Providing a preTradeRisk will allow you to apply userAccountPositionLimit and userAccountRiskParameter settings directly.
  • Providing a postTradeRisk will allow you to set the userAccountAutoLiq settings directly.

It is strongly advised to use this endpoint when creating new accounts to minimize API traffic.

Note: This endpoint replaces /user/openDemoAccount and /user/createTradingPermission.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
accountslist of objectsRequired

Response

CreateEvaluationAccountsResponse
resultslist of objects
errorTextstring<=8192 characters

Non-empty if the request failed