Skip to main content

Close Trading Account

API URL: DELETE https://userapi-demo.s2f.projectx.com/TradingAccount/close/{tradingAccountId}

API Reference: /TradingAccount/close/{tradingAccountId}

Description


Close a Trading Account. This operation changes the status of a Trading Account to 'Closed.'

Trading Accounts should be closed to avoid billing for 'dormant accounts.' It is within the purview of the Firm to close accounts at appropriate times (i.e. when a Trader passes an evaluation / when a Trader cancels their subscription).

Parameters


NameTypeDescriptionRequiredNullable
tradingAccountIdintegerThe Trading Account's id.Requiredfalse

Example Usage


Example Request

curl -X 'DELETE' \
'https://userapi-demo.s2f.projectx.com/TradingAccount/close/7' \
-H 'accept: application/json'

Example Response