Set Account Currency (set_account_currency)

Set account currency, this will be default currency for your account i.e currency for trading, deposit. Please note that account currency can only be set once, and then can never be changed.

Auth Scope(s): admin

set_account_currency(set_account_currency: str, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • set_account_currency (str) – Currency of the account. List of supported currencies can be acquired with payout_currencies call.
  • passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
  • req_id (Optional[int]) – [Optional] Used to map request to response.
Returns:

req_id

Return type:

int

Example

binary.api.set_account_currency(
    'USD'
)