binance: document balanceUpdate event

This commit is contained in:
c9s 2023-06-01 12:17:11 +08:00
parent 1dfb0cd1a1
commit fa0cb1e85f
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -165,7 +165,12 @@ func (e *ExecutionReportEvent) Trade() (*types.Trade, error) {
}
/*
balanceUpdate
event: balanceUpdate
Balance Update occurs during the following:
Deposits or withdrawals from the account
Transfer of funds between accounts (e.g. Spot to Margin)
{
"e": "balanceUpdate", //KLineEvent Type
@ -174,6 +179,8 @@ balanceUpdate
"d": "100.00000000", //Balance Delta
"T": 1573200697068 //Clear Time
}
This event is only for Spot
*/
type BalanceUpdateEvent struct {
EventBase