package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 11, 2018
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type FuturesData struct {
Bids [][2]string `json:"bids"`
Asks [][2]string `json:"asks"`
}
func (h *Hub) RunBroadcaster()
func (h *Hub) RunOrderBookWatcher()
func (h *Hub) RunTradeWatcher()
type Message struct {
Type string `json:"type"`
Mode string `json:"mode"`
FuturesID string `json:"futures_id"`
Data Data `json:"data"`
}
type TradeData struct {
Price string `json:"price"`
Quantity string `json:"quantity"`
Time string `json:"time"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.