-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathmodel_futures_account_book.go
29 lines (27 loc) · 1.17 KB
/
model_futures_account_book.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
28
29
/*
* Gate API v4
*
* Welcome to Gate.io API 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: [email protected]
* 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"`
// Changing Type: - dnw: Deposit & Withdraw - pnl: Profit & Loss by reducing position - fee: Trading fee - refr: Referrer rebate - fund: Funding - point_dnw: POINT Deposit & Withdraw - point_fee: POINT Trading fee - point_refr: POINT Referrer rebate - bonus_offset: bouns 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"`
// 账户变更记录 id
Id string `json:"id,omitempty"`
}