Binance

Binance's has a separated wallet structure. This means users transfer balances between different wallets for different activities.

Therefore, to obtain insights on your balances, we pull balances based on its wallet structure.

Binance's wallet structure consists of the following:

  • Fiat and spot wallet

  • Margin wallet

  • Futures wallet

  • Earn wallet

  • Funding wallet

Fiat and spot wallet

For each cryptocurrency, the fiat and spot wallet carries 6 types of key information:

  • "Available balances" in amount of asset i.e. balances that are available for transfers & withdrawals.

  • "Available balances" in $ value.

  • "In order balances" in amount of asset i.e. balances that are locked and not transferable because the assets are placed in a limit order.

  • "In order balances" in $ value.

  • "Balances" in amount of asset is the sum of "Available balances" and "In order balances" (both in the amount of asset).

  • "Balances" in $ value is the sum of "Available balances" and "In order balances" (both in $ value).

The summation of each of the following gives you the total $ value:

  • "Available balances" in $ value

  • "In order balances" in $ value

  • "Balances" in $ value

Binance provides 2 other pieces of information that is useful at a summary level i.e. "Account Equity" in $ value and "Margin Level".

For example, a user's wallet may have 0.1 BTC and 5,000 USDT, of which 0.03 BTC is placed in a limit sell order and 2,000 USDT is placed in a limit buy order. In this case, the "available balances" will show 0.07 BTC and 3,000 USDT and "in order balances" will show 0.03 BTC and 2,000 USDT.

There is no P&L data in the fiat and spot wallet as there is no trading position. P&L data only applies to the futures wallet.

Margin wallet

For each cryptocurrency, the margin wallet carries 5 types of key information:

  • Available balances in amount of asset

  • Borrowed balances in amount of asset

  • Position in amount of asset

  • Position value in $ value

  • Liquidation price in $ price

For a total amount, there is only one relevant statistic: Total position value in $ value.

There is no P&L data in the margin wallet. While there is a position, there is no trading position based on an average entry price. P&L data only applies to the futures wallet.

Conceptually, every position in the margin wallet is supported by collateral posted to back the position. Hence, margin.

Futures wallet

Firstly, Binance provides 2 types of futures wallets:

  • USDT-margined wallet i.e. where each futures position is collateralized by a USDT balance.

  • Coin-margined wallet i.e. where each futures position is collateralized by non-USDT cryptocurrency assets.

For each wallet, the same structure applies. For each cryptocurrency position, there are 6 types of key information:

  • Direction of the position i.e. whether long or short

  • Size of the position in amount of asset

  • Average entry price of the position in $ price

  • Mark price of the position in $ price

  • Unrealized profit/loss of the position in $ value (which is a function of size, average entry and market price)

  • Liquidation price in $ price

For a total amount, there are only 2 relevant statistics:

  • Total margin balance backing all positions in $ value

  • Total unrealized profit/loss of all positions in $ value

There is P&L data in the futures wallet. This is because there is a trading position based on an average entry price.

Earn wallet

For this wallet, we provide you the total $ value for each of the 6 types of wallets:

  • Savings

  • Staking

  • Launchpad

  • Liquid swap

  • Dual investment

  • Pool savings

Funding wallet

The funding wallet is intended purely for peer-to-peer (P2P) purchase/sales of cryptocurrency involving fiat.

For each cryptocurrency, the funding wallet carries 2 types of key information:

  • "Available balances" in amount of assets.

  • "Frozen balances" in amount of assets i.e. balances that are locked and not transferable because the assets are placed in a P2P order that is pending completion.

There is no relevant total figure here.

Binance API documentation

https://binance-docs.github.io/apidocs/spot/en/#wallet-endpoints

Last updated