forked from gateio/gateapi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_trade_fee.go
More file actions
27 lines (25 loc) · 983 Bytes
/
model_trade_fee.go
File metadata and controls
27 lines (25 loc) · 983 Bytes
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 TradeFee struct {
// User ID
UserId int64 `json:"user_id,omitempty"`
// taker fee rate
TakerFee string `json:"taker_fee,omitempty"`
// maker fee rate
MakerFee string `json:"maker_fee,omitempty"`
// Is GT deduction is enabled
GtDiscount bool `json:"gt_discount,omitempty"`
// Taker fee rate if using GT deduction. It will be 0 if GT deduction is disabled
GtTakerFee string `json:"gt_taker_fee,omitempty"`
// Maker fee rate if using GT deduction. It will be 0 if GT deduction is disabled
GtMakerFee string `json:"gt_maker_fee,omitempty"`
// Loan fee rate of margin lending
LoanFee string `json:"loan_fee,omitempty"`
}