Please type in LOG and it won't show how to do it completely.

Author: teacherMa, Created: 2020-11-25 22:18:54, Updated:

Get Accounts (), which returns the account information of the exchange. Returns value: Account structure structure. Reporting errors See structure and inventor API incompatibility In the data that is returned by the function: {feeTier:0,canTrade:true,canDeposit:true,canWithdraw:true,updateTime:0,totalInitialMargin:2521.02766333,totalMaintMargin:63.82697543,totalWalletBalance:2551.83371130,totalUnrealizedProfit:open18.23426000,alMarginBalance:open18.23426000,alMarginBalance:2570.06797130,totalPositionInitialMargin:2521.02766333,totalMaintMargin:63.82697543,totalMarginMargin::63.8260000,totalMarginMargin::18.000000,UnlimitedMargin:

In the data returned by the exchange.GetAccount () function: {Info:{totalMaintMargin:63.82697543,totalWalletBalance:2551.83371130,totalPositionInitialMargin:2521.02766333,totalCrossWalletBalance:2551.83371130,availableBalance:49.04030797,canDeposit:true,canWithdraw:true,totalCrossUnPnl:18.426000,totalWalletBalance:2551.83371130,totalPositionInitialMargin:2521.02766666633333,totalCrossWalletBalance:2521.0276666333333333,totalCrossWalletBalance:2521.0276660.066


More

The grassSee if you need to, with GetRawJSON as the raw message, you can use this