Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2021 Changes in this version + const ALL + const BASEFUTURE + const BASESPOT + type Candle struct + Close float64 + High float64 + Low float64 + Open float64 + StartTime time.Time + Volume float64 + type Market struct + Ask float64 + BaseCurrency string + Bid float64 + Change1H float64 + Change24H float64 + ChangeBod float64 + Enabled bool + Last float64 + Name string + Price float64 + PriceIncrement float64 + QuoteCurrency string + QuoteVolume24H float64 + SizeIncrement float64 + Type string + Underlying string + VolumeUsd24H float64 + type Orderbook struct + Asks [][]float64 + Bids [][]float64 + type RequestForCandles struct + End int64 + Limit int + ProductCode string + Resolution int + Start int64 + func (req *RequestForCandles) Method() string + func (req *RequestForCandles) Path() string + func (req *RequestForCandles) Payload() []byte + func (req *RequestForCandles) Query() string + type RequestForMarkets struct + ProductCode string + func (req *RequestForMarkets) Method() string + func (req *RequestForMarkets) Path() string + func (req *RequestForMarkets) Payload() []byte + func (req *RequestForMarkets) Query() string + type RequestForOrderbook struct + Depth int + ProductCode string + func (req *RequestForOrderbook) Method() string + func (req *RequestForOrderbook) Path() string + func (req *RequestForOrderbook) Payload() []byte + func (req *RequestForOrderbook) Query() string + type RequestForTrades struct + End int64 + Limit int + ProductCode string + Start int64 + func (req *RequestForTrades) Method() string + func (req *RequestForTrades) Path() string + func (req *RequestForTrades) Payload() []byte + func (req *RequestForTrades) Query() string + type ResponseForCandles []Candle + func (a ResponseForCandles) Len() int + func (a ResponseForCandles) Less(i, j int) bool + func (a ResponseForCandles) Swap(i, j int) + type ResponseForMarkets []Market + func (a ResponseForMarkets) Len() int + func (a ResponseForMarkets) Less(i, j int) bool + func (a ResponseForMarkets) Swap(i, j int) + func (markets ResponseForMarkets) List() []string + func (markets ResponseForMarkets) Ranking(base int) []string + type ResponseForOrderbook Orderbook + type ResponseForTrades []Trade + type Ticker struct + Ask float64 + AskSize float64 + Bid float64 + BidSize float64 + Last float64 + Time types.FtxTime + type Trade struct + ID int + Liquidation bool + Price float64 + Side string + Size float64 + Time time.Time