Skip to main content

Perform a Cash Adjustment

API URL: PUT https://userapi-demo.s2f.projectx.com/TradingAccount/cashAdjustment

API Reference: /TradingAccount/cashAdjustment

Description


Adjusts the balance of a Trading Account. A balance adjustment may occur for many reasons, including but not limited to payouts and account reconciliations.

Parameters


NameTypeDescriptionRequiredNullable
tradingAccountIdintegerThe Trading Account's id.Requiredfalse
amountintegerThe amount adjusted.Requiredfalse
reasonintegerThe reason for the cash adjustment.
Valid Values:
  • 0 - None
  • 1 - Payout
  • 2 - Account Reconciliation
Requiredfalse
notesstringAdditional notes.Requiredfalse

Example Usage


Example Request

curl -X 'PUT' \
'https://userapi-demo.s2f.projectx.com/TradingAccount/cashAdjustment' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"tradingAccountId": 7,
"amount": 100,
"reason": 1,
"notes": "EOD adjustment"
}'

Example Response