Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 3.26 KB

UnifiedAccount.md

File metadata and controls

28 lines (24 loc) · 3.26 KB

UnifiedAccount

Properties

Name Type Description Notes
user_id int User ID [optional]
refresh_time int Time of the most recent refresh [optional]
locked bool Whether the account is locked, valid in cross-currency margin/combined margin mode, false in other modes such as single-currency margin mode [optional]
balances dict(str, UnifiedBalance) [optional]
total str Total account assets converted to USD, i.e. the sum of `(available + freeze) * price` in all currencies (deprecated, to be deprecated, replaced by unified_account_total) [optional]
borrowed str The total borrowed amount of the account converted into USD, i.e. the sum of `borrowed * price` of all currencies (excluding Point Cards). It is valid in cross-currency margin/combined margin mode, and is 0 in other modes such as single-currency margin mode. [optional]
total_initial_margin str Total initial margin, valid in cross-currency margin/combined margin mode, 0 in other modes such as single-currency margin mode [optional]
total_margin_balance str Total margin balance, valid in cross-currency margin/combined margin mode, 0 in other modes such as single-currency margin mode [optional]
total_maintenance_margin str Total maintenance margin is valid in cross-currency margin/combined margin mode, and is 0 in other modes such as single-currency margin mode [optional]
total_initial_margin_rate str Total initial margin rate, valid in cross-currency margin/combined margin mode, 0 in other modes such as single-currency margin mode [optional]
total_maintenance_margin_rate str Total maintenance margin rate, valid in cross-currency margin/combined margin mode, 0 in other modes such as single-currency margin mode [optional]
total_available_margin str Available margin amount, valid in cross-currency margin/combined margin mode, 0 in other modes such as single-currency margin mode [optional]
unified_account_total str Unify the total account assets, valid in single currency margin/cross-currency margin/combined margin mode [optional]
unified_account_total_liab str Unify the total loan of the account, valid in the cross-currency margin/combined margin mode, and 0 in other modes such as single-currency margin mode [optional]
unified_account_total_equity str Unify the total account equity, valid in single currency margin/cross-currency margin/combined margin mode [optional]
leverage str Actual leverage, valid in cross-currency margin/combined margin mode [optional] [readonly]
spot_order_loss str Total pending order loss, in USDT, valid in cross-currency margin/combined margin mode, 0 in other modes such as single-currency margin mode [optional]
spot_hedge bool Spot hedging status, true - enabled, false - not enabled. [optional]
use_funding bool Whether to use funds as margin [optional]

[Back to Model list] [Back to API list] [Back to README]