Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExchangeInfo ¶
type ExchangeInfo struct { Timezone string `json:"timezone"` ServerTime int64 `json:"serverTime"` FuturesType string `json:"futuresType"` RateLimits []RateLimit `json:"rateLimits"` ExchangeFilters []interface{} `json:"exchangeFilters"` Assets []AssetInfo `json:"assets"` Symbols []SymbolInfo `json:"symbols"` }
type ServerTimeResponse ¶
type ServerTimeResponse struct {
ServerTime int64 `json:"serverTime"`
}
func (ServerTimeResponse) Format ¶
func (r ServerTimeResponse) Format(layout string) string
type SymbolFilter ¶
type SymbolFilter struct { TickSize string `json:"tickSize,omitempty"` MinPrice string `json:"minPrice,omitempty"` MaxPrice string `json:"maxPrice,omitempty"` FilterType string `json:"filterType"` StepSize string `json:"stepSize,omitempty"` MaxQty string `json:"maxQty,omitempty"` MinQty string `json:"minQty,omitempty"` Limit int `json:"limit,omitempty"` Notional string `json:"notional,omitempty"` MultiplierDecimal string `json:"multiplierDecimal,omitempty"` MultiplierDown string `json:"multiplierDown,omitempty"` MultiplierUp string `json:"multiplierUp,omitempty"` }
type SymbolInfo ¶
type SymbolInfo struct { Symbol string `json:"symbol"` Pair string `json:"pair"` ContractType string `json:"contractType"` DeliveryDate int64 `json:"deliveryDate"` OnboardDate int64 `json:"onboardDate"` Status string `json:"status"` MaintMarginPercent string `json:"maintMarginPercent"` RequiredMarginPercent string `json:"requiredMarginPercent"` BaseAsset string `json:"baseAsset"` QuoteAsset string `json:"quoteAsset"` MarginAsset string `json:"marginAsset"` PricePrecision int `json:"pricePrecision"` QuantityPrecision int `json:"quantityPrecision"` BaseAssetPrecision int `json:"baseAssetPrecision"` QuotePrecision int `json:"quotePrecision"` UnderlyingType string `json:"underlyingType"` UnderlyingSubType []interface{} `json:"underlyingSubType"` SettlePlan int `json:"settlePlan"` TriggerProtect string `json:"triggerProtect"` LiquidationFee string `json:"liquidationFee"` MarketTakeBound string `json:"marketTakeBound"` MaxMoveOrderLimit int `json:"maxMoveOrderLimit"` Filters []SymbolFilter `json:"filters"` OrderTypes []string `json:"orderTypes"` TimeInForce []string `json:"timeInForce"` }
Click to show internal directories.
Click to hide internal directories.