// ToMap converts a ticket object to a map
ToMap converts a ticket object to a map
// ToMap converts a ticket object to a map
func (ticker *Ticker) ToMap() map[string]string {
	asMap := make(map[string]string)
	asMap["high"] = ticker.High
	asMap["volume"] = ticker.Volume
	asMap["low"] = ticker.Low
	asMap["ask"] = ticker.Ask
	asMap["timestamp"] = ticker.Timestamp
	asMap["bid"] = ticker.Bid
	asMap["last_price"] = ticker.LastPrice
	asMap["market"] = ticker.Market
	cleanMap(&asMap)
	return asMap
}
func ( ticker * Ticker ) ToMap ( ) map [ string ] string { asMap := make ( map [ string ] string ) asMap [ " " ] = ticker . High asMap [ " " ] = ticker . Volume asMap [ " " ] = ticker . Low asMap [ " " ] = ticker . Ask asMap [ " " ] = ticker . Timestamp asMap [ " " ] = ticker . Bid asMap [ " " ] = ticker . LastPrice asMap [ " " ] = ticker . Market cleanMap ( & asMap ) return asMap }
ToMap converts a ticket object to a map
ToMap converts a ticket object to a map