// GetPriceConnector creates a connector that can retrieve pricing information for the specified cryptocurrency exchange
// a not nil error indicates that a connector for the exchange is not available
GetPriceConnector creates a connector that can retrieve pricing information for the specified cryptocurrency exchange
a not nil error indicates that a connector for the exchange is not available
// GetPriceConnector creates a connector that can retrieve pricing information for the specified cryptocurrency exchange // a not nil error indicates that a connector for the exchange is not available
func GetPriceConnector(exchangeName string) (trade.PriceConnector, error) {
	switch strings.ToLower(exchangeName) {
	case "binance":
		return binance.NewPriceConnector(), nil
	default:
		return nil, fmt.Errorf("could't find a price connector for the provided exchange %s", exchangeName)
	}
}
func GetPriceConnector ( exchangeName string ) ( trade . PriceConnector , error ) { switch strings . ToLower ( exchangeName ) { case " " : return binance . NewPriceConnector ( ) , nil default : return nil , fmt . Errorf ( " " , exchangeName ) } }
GetPriceConnector creates a connector that can retrieve pricing information for the specified cryptocurrency exchange
a not nil error indicates that a connector for the exchange is not available
GetPriceConnector creates a connector that can retrieve pricing information for the specified cryptocurrency exchange a not nil error indicates that a connector for the exchange is not available