MT5: Password Check (mt5_password_check)

This call validates the main password for the MT5 user

Auth Scope(s): admin

mt5_password_check(login: str, password: str, password_type: Optional[str] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • login (str) – MT5 user login
  • password (str) – The password of the account.
  • password_type (Optional[str]) – [Optional] Type of the password to check.
  • 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.mt5_password_check(
    login='MTR1000'
    password='abc1234'
    password_type='main'
)