forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_futures_account.go
27 lines (25 loc) · 945 Bytes
/
model_futures_account.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Gate API v4
*
* APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
*
* Contact: support@mail.gate.io
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package gateapi
type FuturesAccount struct {
// Total assets, total = position_margin + order_margin + available
Total string `json:"total,omitempty"`
// Unrealized PNL
UnrealisedPnl string `json:"unrealised_pnl,omitempty"`
// Position margin
PositionMargin string `json:"position_margin,omitempty"`
// Order margin of unfinished orders
OrderMargin string `json:"order_margin,omitempty"`
// Available balance to transfer out or trade
Available string `json:"available,omitempty"`
// POINT amount
Point string `json:"point,omitempty"`
// Settle currency
Currency string `json:"currency,omitempty"`
}