Documentation ¶
Index ¶
- type CurrenciesVo
- type DeliveryPriceVo
- type FundingRateHistoryVo
- type FundingRateVo
- type GetCurrenciesResponse
- type GetDeliveryInfoResponse
- type GetFundingRateHistoryResponse
- type GetFundingRateResponse
- type GetIndexResponse
- type GetInstrumentsResponse
- type GetKlinesResponse
- type GetMarketSummaryResponse
- type GetMarketTradeResponse
- type GetOrderBookResponse
- type GetTickerResponse
- type GetTotalVolumeResponse
- type IndexVo
- type InstrumentVo
- type KlineVo
- type MarketSummaryVo
- type MarketTradeVo
- type OrderBookVo
- type TickerVo
- type TotalVolumeVo
- type VolumeDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrenciesVo ¶
type CurrenciesVo struct {
Currencies []string `json:"currencies"`
}
type DeliveryPriceVo ¶
type FundingRateHistoryVo ¶
type FundingRateHistoryVo struct { InstrumentId string `json:"instrument_id" example:"BTC-27MAR20-9000-C"` Time int64 `json:"time" example:"1585296000000"` AverageFundingRate string `json:"average_funding_rate" example:"0.0000023"` IndexPrice string `json:"index_price" example:"8000"` MarkPrice string `json:"mark_price" example:"7993"` }
type FundingRateVo ¶
type FundingRateVo struct { InstrumentId string `json:"instrument_id" example:"BTC-27MAR20-9000-C"` Time int64 `json:"time" example:"1585296000000"` FundingRate string `json:"funding_rate" example:"0.0000023"` IndexPrice string `json:"index_price" example:"8000"` MarkPrice string `json:"mark_price" example:"7993"` }
type GetCurrenciesResponse ¶
type GetCurrenciesResponse struct { base.RestBaseResponse Data CurrenciesVo `json:"data"` }
type GetDeliveryInfoResponse ¶
type GetDeliveryInfoResponse struct { base.RestBaseResponse Data []DeliveryPriceVo `json:"data"` }
type GetFundingRateHistoryResponse ¶
type GetFundingRateHistoryResponse struct { base.RestBaseResponse Data []FundingRateHistoryVo `json:"data"` }
type GetFundingRateResponse ¶
type GetFundingRateResponse struct { base.RestBaseResponse Data FundingRateVo `json:"data"` }
type GetIndexResponse ¶
type GetIndexResponse struct { base.RestBaseResponse Data IndexVo `json:"data"` }
type GetInstrumentsResponse ¶
type GetInstrumentsResponse struct { base.RestBaseResponse Data []InstrumentVo `json:"data"` }
type GetKlinesResponse ¶
type GetKlinesResponse struct { base.RestBaseResponse Data KlineVo `json:"data"` }
type GetMarketSummaryResponse ¶
type GetMarketSummaryResponse struct { base.RestBaseResponse Data []MarketSummaryVo `json:"data"` }
type GetMarketTradeResponse ¶
type GetMarketTradeResponse struct { base.RestBaseResponse PageInfo base.NewPaging `json:"page_info"` Data []MarketTradeVo `json:"data"` }
type GetOrderBookResponse ¶
type GetOrderBookResponse struct { base.RestBaseResponse Data OrderBookVo `json:"data"` }
type GetTickerResponse ¶
type GetTickerResponse struct { base.RestBaseResponse Data TickerVo `json:"data"` }
type GetTotalVolumeResponse ¶
type GetTotalVolumeResponse struct { base.RestBaseResponse Data TotalVolumeVo `json:"data"` }
type InstrumentVo ¶
type InstrumentVo struct { InstrumentId string `json:"instrument_id" example:"BTC-27MAR20-9000-C"` CreatedAt int64 `json:"created_at" example:"1582790400000"` UpdatedAt int64 `json:"updated_at" example:"1582790400000"` BaseCurrency string `json:"base_currency" example:"BTC"` QuoteCurrency string `json:"quote_currency" example:"USD"` StrikePrice string `json:"strike_price" example:"9000"` ExpirationAt int64 `json:"expiration_at" example:"1585296000000"` OptionType string `json:"option_type" example:"call"` Category string `json:"category"` MinPrice string `json:"min_price" example:"0.0005"` MaxPrice string `json:"max_price" example:"10"` PriceStep string `json:"price_step" example:"0.0005"` MinSize string `json:"min_size" example:"0.1"` SizeStep string `json:"size_step" example:"0.1"` DeliveryFeeRate string `json:"delivery_fee_rate" example:"0.0002"` ContractSize string `json:"contract_size"` ContractSizeCurrency string `json:"contract_size_currency"` Active bool `json:"active"` }
type MarketSummaryVo ¶
type MarketSummaryVo struct { InstrumentId string `json:"instrument_id"` Timestamp int64 `json:"timestamp"` BestBid string `json:"best_bid"` BestAsk string `json:"best_ask"` BestBidQty string `json:"best_bid_qty"` BestAskQty string `json:"best_ask_qty"` LastPrice string `json:"last_price"` LastQty string `json:"last_qty"` Open24H string `json:"open24h"` High24H string `json:"high24h"` Low24H string `json:"low24h"` Volume24H string `json:"volume24h"` OpenInterest string `json:"open_interest"` MarkPrice string `json:"mark_price"` MaxBuy string `json:"max_buy"` MinSell string `json:"min_sell"` Delta string `json:"delta"` Gamma string `json:"gamma"` Vega string `json:"vega"` Theta string `json:"theta"` }
type MarketTradeVo ¶
type MarketTradeVo struct { CreatedAt int64 `json:"created_at" example:"1585299600000"` TradeId int64 `json:"trade_id" example:"3743"` InstrumentId string `json:"instrument_id" example:"BTC-27MAR20-9000-C"` Price string `json:"price" example:"0.034"` Qty string `json:"qty" example:"1"` Side string `json:"side" example:"buy"` Sigma string `json:"sigma" example:"0.002"` IndexPrice string `json:"index_price" example:"8000"` UnderlyingPrice string `json:"underlying_price" example:"7900"` IsBlockTrade bool `json:"is_block_trade" example:"false"` }
type OrderBookVo ¶
type TickerVo ¶
type TickerVo struct { Time int64 `json:"time"` InstrumentId string `json:"instrument_id"` BestBid string `json:"best_bid"` BestAsk string `json:"best_ask"` BestBidQty string `json:"best_bid_qty"` BestAskQty string `json:"best_ask_qty"` AskSigma string `json:"ask_sigma"` BidSigma string `json:"bid_sigma"` LastPrice string `json:"last_price"` LastQty string `json:"last_qty"` Open24H string `json:"open24h"` High24H string `json:"high24h"` Low24H string `json:"low24h"` PriceChange24H string `json:"price_change24h"` Volume24H string `json:"volume24h"` OpenInterest string `json:"open_interest"` UnderlyingName string `json:"underlying_name,omitempty"` UnderlyingPrice string `json:"underlying_price,omitempty"` MarkPrice string `json:"mark_price"` Sigma string `json:"sigma,omitempty"` Delta string `json:"delta,omitempty"` Vega string `json:"vega,omitempty"` Theta string `json:"theta,omitempty"` Gamma string `json:"gamma,omitempty"` MinSellPrice string `json:"min_sell"` MaxBuyPrice string `json:"max_buy"` }
type TotalVolumeVo ¶
type TotalVolumeVo struct { TotalVolume24Hours string `json:"total_volume_24_hours"` Details []VolumeDetails `json:"details"` }
Source Files ¶
- get_currencies_response.go
- get_delivery_info_response.go
- get_funding_rate_history_response.go
- get_funding_rate_response.go
- get_index_response.go
- get_instrument_response.go
- get_klines_response.go
- get_market_summary_response.go
- get_market_trade_response.go
- get_orderbook_response.go
- get_ticker_response.go
- get_total_volume_response.go
Click to show internal directories.
Click to hide internal directories.