-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathmodel_account_balance.go
More file actions
22 lines (20 loc) · 888 Bytes
/
model_account_balance.go
File metadata and controls
22 lines (20 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Gate API
*
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
*
* Contact: support@mail.gate.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
// Total balances calculated with specified currency unit
type AccountBalance struct {
// Account total balance amount
Amount string `json:"amount,omitempty"`
// Currency
Currency string `json:"currency,omitempty"`
// Unrealised_pnl, this field will only appear in futures, options, delivery, and total accounts
UnrealisedPnl string `json:"unrealised_pnl,omitempty"`
// Total borrowed amount, this field will only appear in margin and cross_margin accounts
Borrowed string `json:"borrowed,omitempty"`
}