-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathmodel_futures_account_book.go
More file actions
29 lines (27 loc) · 1.21 KB
/
model_futures_account_book.go
File metadata and controls
29 lines (27 loc) · 1.21 KB
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
28
29
/*
* 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
type FuturesAccountBook struct {
// Change time
Time float64 `json:"time,omitempty"`
// Change amount
Change string `json:"change,omitempty"`
// Balance after change
Balance string `json:"balance,omitempty"`
// Change types: - dnw: Deposit and withdrawal - pnl: Profit and loss from position reduction - fee: Trading fees - refr: Referrer rebates - fund: Funding fees - point_dnw: Point card deposit and withdrawal - point_fee: Point card trading fees - point_refr: Point card referrer rebates - bonus_offset: Trial fund deduction
Type string `json:"type,omitempty"`
// Comment
Text string `json:"text,omitempty"`
// Futures contract, the field is only available for data after 2023-10-30
Contract string `json:"contract,omitempty"`
// trade id
TradeId string `json:"trade_id,omitempty"`
// Account change record ID
Id string `json:"id,omitempty"`
}