Documentation ¶
Index ¶
Constants ¶
View Source
const TRADING_PAIR = "XFE_BTC"
Variables ¶
View Source
var Data = FetchTicker()
Functions ¶
Types ¶
type MarketData ¶
type MarketData struct { Id string `json:"id"` Volume string `json:"volume"` Ask string `json:"ask"` Bid string `json:"bid"` Last string `json:"last"` PercentChange float64 `json:"percentChange"` }
func FetchTicker ¶
func FetchTicker() *MarketData
type Markets ¶
type Markets []MarketData
Click to show internal directories.
Click to hide internal directories.