AccountSummary

AccountSummary

Account Summary model

Constructor

new AccountSummary(data)

Source:
Parameters:
Name Type Description
data object | Array

account summary data

Properties
Name Type Description
trade_vol_30d Array

traded volume over the past 30 days detailed by currency

fees_trading_30d object

trading fees charged over the past 30 days detailed by currency

fees_trading_total_30d number

USD equivalent of the trading fees charged over the past 30 days

fees_funding_30d object

funding returns over the past 30 days detailed by currency

fees_funding_total_30d number

USD equivalent of the funding returns over the past 30 days

makerFee number

maker fee rate for the account

derivMakerRebate number

maker rebate for derivative trades on the account

takerFeeToCrypto number

taker fee rate for crypto to crypto trades on the account

takerFeeToStable number

taker fee rate for crypto to stable coin trades on the account

takerFeeToFiat number

taker fee rate for crypto to stable coin trades on the account

derivTakerFee number

taker fee rate for derivative trades on the account

leoLev number

current LEO discount level of the account

leoAmountAvg number

average amount of LEO held in the account over the past 30 days.

Methods

(static) unserialize(data) → {object}

Source:
Parameters:
Name Type Description
data Array.<object> | object | Array.<Array> | Array

data to convert to POJO

Returns:

pojo

Type
object

(static) validate(data) → {string}

Description:
  • Validates a given account summary instance

Source:
Parameters:
Name Type Description
data Array.<object> | object | Array.<AccountSummary> | AccountSummary | Array

instance to validate

Returns:

error - null if instance is valid

Type
string