func (e *TradingEngine) RegisterNewQuoteToken(t Token) error {
	if _, ok := e.quoteTokens[t.Address]; ok {
		return errors.New("Quote token already exists")
	}

	e.quoteTokens[t.Address] = t
	return nil
}
// RegisterNewQuoteToken registers a new quote token on the engine
// Only an authorized user should be allowed to register a new token on the engine (TODO)
RegisterNewQuoteToken registers a new quote token on the engine
Only an authorized user should be allowed to register a new token on the engine (TODO)
// RegisterNewQuoteToken registers a new quote token on the engine // Only an authorized user should be allowed to register a new token on the engine ( TODO )
func (e *TradingEngine) RegisterNewQuoteToken(t Token) error {
	if _, ok := e.quoteTokens[t.Address]; ok {
		return errors.New("Quote token already exists")
	}
	e.quoteTokens[t.Address] = t
	return nil
}
func ( e * TradingEngine ) RegisterNewQuoteToken ( t Token ) error { if _ , ok := e . quoteTokens [ t . Address ] ; ok { return errors . New ( " " ) } e . quoteTokens [ t . Address ] = t return nil }
RegisterNewQuoteToken registers a new quote token on the engine
Only an authorized user should be allowed to register a new token on the engine (TODO)
RegisterNewQuoteToken registers a new quote token on the engine Only an authorized user should be allowed to register a new token on the engine ( TODO )