Update User Auto Liq

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
accountIdlongRequired
asOwnerbooleanOptional
marginPercentageAlertdoubleOptional

Margin % for an Alert

dailyLossPercentageAlertdoubleOptional

Daily Loss % for an Alert

dailyLossAlertdoubleOptional

$ Daily Loss for an Alert

marginPercentageLiqOnlydoubleOptional

Margin % for an Liq Only

dailyLossPercentageLiqOnlydoubleOptional

Daily Loss % for an Liq Only

dailyLossLiqOnlydoubleOptional

$ Daily Loss for an Liq Only

marginPercentageAutoLiqdoubleOptional

Margin % for an Auto-Liq

dailyLossPercentageAutoLiqdoubleOptional

Daily Loss % for an AutoLiq

dailyLossAutoLiqdoubleOptional

$ Daily Loss for an Auto-Liq

weeklyLossAutoLiqdoubleOptional

$ Weekly Loss for an Auto-Liq

flattenTimestampstringOptionalformat: "date-time"

Flatten & Cancel

trailingMaxDrawdowndoubleOptional

$ Trailing Max Drawdown

trailingMaxDrawdownLimitdoubleOptional

$ Trailing Max Drawdown Limit

trailingMaxDrawdownModeenumOptional
EOD, RealTime
Allowed values:
dailyProfitAutoLiqdoubleOptional

$ Daily Profit for an Auto-Liq

weeklyProfitAutoLiqdoubleOptional

$ Weekly Profit for an Auto-Liq

doNotUnlockbooleanOptional
Do not automatically unlock account if triggered

Response

UpdateUserAutoLiqResponse
errorTextstring or null<=8192 characters

Non-empty if the request failed

userAccountAutoLiqobject or null
permissionedAccountAutoLiqobject or null