Documentation ¶
Index ¶
Constants ¶
View Source
const ( /*support exchanges*/ EXCHANGE_POLONIEX = "poloniex" EXCHANGE_BITTREX = "bittrex" EXCHANGE_UPBIT = "upbit" EXCHANGE_BITFINEX = "bitfinex" /*subscribe topic list*/ //This topic is called when data comes in TOPIC_DATA = "bucket:data" //This topic is called when db is updated. TOPIC_UPDATE = "bucket:update" TOPIC_TICKER = "bucket:ticker" TOPIC_STATUS = "bucket:status" )
Variables ¶
This section is empty.
Functions ¶
func CompareStrings ¶
Types ¶
type AssetStatus ¶
type StatusUpdateEvent ¶
type StatusUpdateEvent func(market string, pair cdb.Pair, status AssetStatus)
type TickerUpdateEvent ¶
type TickerUpdateEvent func()
type UpdateEvent ¶
type UpdateEvent func(market string, pair cdb.Pair, data []cdb.MarketTake)
Click to show internal directories.
Click to hide internal directories.