Giter Site home page Giter Site logo

Liqui issues about ccxt HOT 6 CLOSED

ccxt avatar ccxt commented on May 8, 2024
Liqui issues

from ccxt.

Comments (6)

kroitor avatar kroitor commented on May 8, 2024

Rarely traded pairs have np data... Uh... Will fix this in general soon. Thanks!

from ccxt.

nmiculinic avatar nmiculinic commented on May 8, 2024

All previous errors might be due to rate limiter...But I expect such exception being thrown out.

https://i.imgur.com/oXfdS4n.png

Huh it appears working now, possible rate limiter hit though. Btw can you derive all your exceptions from same base class?

class CcxtException(Exception):
    pass

class DDoSProtectionError (CcxtException):
    pass

which allows me differentiating ordinary exceptions with bug inducing ones

from ccxt.

kroitor avatar kroitor commented on May 8, 2024

Ok, will change exception inheritance hierarchy.

from ccxt.

kroitor avatar kroitor commented on May 8, 2024

All previous errors might be due to rate limiter...But I expect such exception being thrown out.

The problem with Kraken is not related to the rate limiter, though. It was a darkpool pair. The don't have order books. Will throw exception in these cases (soon).

from ccxt.

kroitor avatar kroitor commented on May 8, 2024

Added the following hierarchy of exceptions:

class CCXTError (Exception):
    pass

class DDoSProtectionError (CCXTError):
    pass

class AuthenticationError (CCXTError):
    pass

class NotAvailableError (CCXTError):
    pass

class MarketNotAvailaibleError (NotAvailableError):
    pass

class OrderBookNotAvailableError (NotAvailableError):
    pass

class TickerNotAvailableError (NotAvailableError):
    pass

A market like Kraken will now throw *NotAvailableError for darkpool pairs. Fixing other mentioned bugs.

from ccxt.

kroitor avatar kroitor commented on May 8, 2024

Will throw an OrderBookNotAvailableError from now on. Closing this issue.

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.