-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathmodel_flash_swap_currency_pair.go
28 lines (26 loc) · 1.14 KB
/
model_flash_swap_currency_pair.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
/*
* 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
// List all supported currencies in flash swap
type FlashSwapCurrencyPair struct {
// The currency pair, BTC_USDT represents selling Bitcoin (BTC) and buying Tether (USDT).
CurrencyPair string `json:"currency_pair,omitempty"`
// The currency to be sold
SellCurrency string `json:"sell_currency,omitempty"`
// The currency to be bought
BuyCurrency string `json:"buy_currency,omitempty"`
// The minimum quantity required for selling
SellMinAmount string `json:"sell_min_amount,omitempty"`
// The maximum quantity allowed for selling
SellMaxAmount string `json:"sell_max_amount,omitempty"`
// The minimum quantity required for buying
BuyMinAmount string `json:"buy_min_amount,omitempty"`
// The maximum quantity allowed for buying
BuyMaxAmount string `json:"buy_max_amount,omitempty"`
}