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
defaultAutoLiqfield controls the auto-liquidation paramters for the account. Setting it here will save an API call touserAccountAutoLiq/update, and should be preferred. It also prevents issues related to incorrect SOD balance when called during market close. - The
preTradeRiskfield allows you to wrapuserAccountPositionLimit/createanduserAccountRiskParameter/createcalls into the account creation operation. This can save many API calls if you have complicated pre-trade risk settings to apply for your users.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
templateAccountId
name
initialBalance
defaultAutoLiq
preTradeRisk
Response
OpenDemoAccountResponse
errorText
Non-empty if the request failed
accountId