Users

Open Demo Account

Request to open a Demo account for a user.

Note: The /user/createEvaluationAccounts endpoint replaces /user/openDemoAccount and /user/createTradingPermission.

Typically used by B2B Partners to open simulation accounts for their users.

  • The defaultAutoLiq field controls the auto-liquidation paramters for the account. Setting it here will save an API call to userAccountAutoLiq/update, and should be preferred. It also prevents issues related to incorrect SOD balance when called during market close.
  • The preTradeRisk field allows you to wrap userAccountPositionLimit/create and userAccountRiskParameter/create calls into the account creation operation. This can save many API calls if you have complicated pre-trade risk settings to apply for your users.
post/user/opendemoaccount

Request

  • Base URL: https://demo.tradovateapi.com/v1
  • URL: https://demo.tradovateapi.com/v1/user/opendemoaccount
  • Auth: HTTP bearer

Request body

templateAccountIdinteger
namestring
initialBalancenumber double

Response

OpenDemoAccountResponse

errorTextstring

Non-empty if the request failed

accountIdinteger

Changes

No recorded changes to this operation across all 1 revision of this API.