mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
binance: document balanceUpdate event
This commit is contained in:
parent
1dfb0cd1a1
commit
fa0cb1e85f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user