Skip to content
Account Preferences

Update Account Settings

Updates one account setting as a key-value pair. It is currently used to change the Client’s preferred display currency. Call it when the Client switches the display currency on pages such as asset analysis or the P&L calendar; after saving, “Get Account Settings” returns the new value. If the Broker App caches the display currency locally, update the cache after a successful save. If the call fails, show message and restore the previous currency.

POSThttps://api.lbkrs.com/v1/account/update_setting

Request body application/json

keystringrequired

Setting key:

  • currency_preference - Preferred display currency
Values
currency_preference
valuestringrequired

Setting value. When key is currency_preference, pass a currency code such as HKD or USD

Responses

HTTP 200The request succeeded. The response body contains the result of the “Update Account Settings” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

No business fields

No nested fields

Whale Docs