Coder Social home page Coder Social logo

Comments (4)

pcriadoperez avatar pcriadoperez commented on June 5, 2024

In the sandbox it does work for me correctly. I'll ask if someone in the team has production keys to test too.

from ccxt.

carlosmiei avatar carlosmiei commented on June 5, 2024

@mjwvb @pcriadoperez Yeah I can confirm this issue

 p bybit cancelOrderWs "77a249a9-6b2d-4ba6-8c73-2ea6c60997e3" "ADA/USDT:USDT"                          
Python v3.11.7
CCXT v4.3.17
bybit.cancelOrderWs(77a249a9-6b2d-4ba6-8c73-2ea6c60997e3,ADA/USDT:USDT)
Traceback (most recent call last):
  File "/Users/cjg/Git/ccxt9/ccxt/examples/py/cli.py", line 249, in <module>
    asyncio.run(main())
  File "/opt/homebrew/Cellar/[email protected]/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/cjg/Git/ccxt9/ccxt/examples/py/cli.py", line 228, in main
    result = await result
             ^^^^^^^^^^^^
  File "/Users/cjg/Git/ccxt9/ccxt/python/ccxt/pro/bybit.py", line 282, in cancel_order_ws
    await self.authenticate(url)
  File "/Users/cjg/Git/ccxt9/ccxt/python/ccxt/pro/bybit.py", line 1723, in authenticate
    return await future
           ^^^^^^^^^^^^
  File "/Users/cjg/Git/ccxt9/ccxt/python/ccxt/pro/bybit.py", line 1773, in handle_error_message
    self.throw_exactly_matched_exception(self.exceptions['exact'], code, feedback)
  File "/Users/cjg/Git/ccxt9/ccxt/python/ccxt/base/exchange.py", line 4055, in throw_exactly_matched_exception
    raise exact[string](message)
ccxt.base.errors.PermissionDenied: bybit {"retCode":10005,"retMsg":"Permission denied for current apikey","op":"auth","connId":"coqpl6ec0hv1u7f66lm0-3e7"}

@mjwvb Thanks for reporting it, we will take a look and revert asap.

from ccxt.

carlosmiei avatar carlosmiei commented on June 5, 2024

@mjwvb Can you please update your ccxt version and try again? I believe it should be working now.

from ccxt.

mjwvb avatar mjwvb commented on June 5, 2024

I can confirm it works now. Thanks!

from ccxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.