diff --git a/README.md b/README.md index 13981ed..4e59ac5 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ res, err := client.Wallet().Balance(bybit.CoinBTC) - `/spot/v1/order` - `/spot/v1/order/fast` -- `/spot/v1/order/batch-cancel` -- `/spot/v1/order/batch-fast-cancel` +- `/spot/order/batch-cancel` +- `/spot/order/batch-fast-cancel` - `/spot/order/batch-cancel-by-ids` ### Wallet Data Endpoints diff --git a/account_spot.go b/account_spot.go index 0e5094c..518e63f 100644 --- a/account_spot.go +++ b/account_spot.go @@ -300,7 +300,7 @@ type SpotOrderBatchCancelResult struct { func (s *AccountService) SpotOrderBatchCancel(param SpotOrderBatchCancelParam) (*SpotOrderBatchCancelResponse, error) { var res SpotOrderBatchCancelResponse - url, err := s.Client.BuildPrivateURL("/spot/v1/order/batch-cancel", param.build()) + url, err := s.Client.BuildPrivateURL("/spot/order/batch-cancel", param.build()) if err != nil { return nil, err } @@ -357,7 +357,7 @@ type SpotOrderBatchFastCancelResult struct { func (s *AccountService) SpotOrderBatchFastCancel(param SpotOrderBatchFastCancelParam) (*SpotOrderBatchFastCancelResponse, error) { var res SpotOrderBatchFastCancelResponse - url, err := s.Client.BuildPrivateURL("/spot/v1/order/batch-fast-cancel", param.build()) + url, err := s.Client.BuildPrivateURL("/spot/order/batch-fast-cancel", param.build()) if err != nil { return nil, err }