if config.Config["key"] == "" || config.Config["secret"] == "" {
}
if config.Config["key"] == "" || config.Config["secret"] == "" {
- return nil, &Error{BadRequest, "your credentials for this market are not setup", fmt.Errorf("'%v' credentials are not setup", q.In.Market)}
+ return nil, &Error{InvalidMarketCredentials, "your credentials for this market are not setup", fmt.Errorf("'%v' credentials are not setup", q.In.Market)}