Skip to main content

Get Trade Auto Repay​

Retrieve the authenticated Unified account's trade auto repayment switch. The saved setting takes effect only in Cross and Portfolio margin modes; it has no effect in Isolated mode. This switch is separate from the scheduled auto repayment settings returned by get-auto-repay-mode.

Responses

Request accepted; a non-zero retCode indicates a business error.


Schema
  • retCode integer

    Business return code. 0 means success.

  • retMsg string

    Business return message.

  • result object
  • autoRepay string

    Possible values: Value must match regular expression ^[01]$

    Saved switch state; "1" means enabled and "0" means disabled.

  • retExtInfo object

    Extended return information.

  • time int64

    Server timestamp in milliseconds.

Loading...