Add bash/zsh autocomplete files and minor fixes

This commit is contained in:
Adrian Gallagher
2019-09-18 10:22:52 +10:00
parent 09d642c381
commit 7c49ada7f6
6 changed files with 81 additions and 31 deletions

View File

@@ -607,7 +607,6 @@ func (s *RPCServer) GetForexRates(ctx context.Context, r *gctrpc.GetForexRatesRe
func (s *RPCServer) GetOrders(ctx context.Context, r *gctrpc.GetOrdersRequest) (*gctrpc.GetOrdersResponse, error) {
exch := GetExchangeByName(r.Exchange)
if exch == nil {
log.Debugln(log.GRPCSys, exch)
return nil, errors.New("exchange is not loaded/doesn't exist")
}