// GetOrderConnector creates a connector that can execute orders and access private information for the specified cryptocurrency exchange
// a not nil error indicates wrong authentication information or that a connector for the exchange is not available
GetOrderConnector creates a connector that can execute orders and access private information for the specified cryptocurrency exchange
a not nil error indicates wrong authentication information or that a connector for the exchange is not available
// GetOrderConnector creates a connector that can execute orders and access private information for the specified cryptocurrency exchange // a not nil error indicates wrong authentication information or that a connector for the exchange is not available
func GetOrderConnector(exchangeName, apiKey, secretKey string, isTestnet bool) (trade.OrderConnector, error) {
	switch strings.ToLower(exchangeName) {
	case "binance":
		return binance.NewOrderConnector(apiKey, secretKey, isTestnet), nil
	default:
		return nil, fmt.Errorf("could't find a order connector for the provided exchange %s", exchangeName)
	}
}
func GetOrderConnector ( exchangeName , apiKey , secretKey string , isTestnet bool ) ( trade . OrderConnector , error ) { switch strings . ToLower ( exchangeName ) { case " " : return binance . NewOrderConnector ( apiKey , secretKey , isTestnet ) , nil default : return nil , fmt . Errorf ( " " , exchangeName ) } }
GetOrderConnector creates a connector that can execute orders and access private information for the specified cryptocurrency exchange
a not nil error indicates wrong authentication information or that a connector for the exchange is not available
GetOrderConnector creates a connector that can execute orders and access private information for the specified cryptocurrency exchange a not nil error indicates wrong authentication information or that a connector for the exchange is not available