Giter Club home page Giter Club logo

Comments (5)

carlosmiei avatar carlosmiei commented on June 17, 2024

Hello @shj00007, which method and symbol did you use?

from ccxt.

shj00007 avatar shj00007 commented on June 17, 2024

Hello @shj00007, which method and symbol did you use?

Hello @carlosmiei
I use : 'fetch_leverage(symbol='1000SATS/USDT:USDT', params={'portfolioMargin': self.__account_info.is_pm, 'subType': 'linear'})'
here is my exception:

  File "/opt/deploy/quantify_backend/venv/lib/python3.12/site-packages/ccxt/base/exchange.py", line 2274, in fetch_leverage
    leverages = self.fetchLeverages([symbol], params)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/deploy/quantify_backend/venv/lib/python3.12/site-packages/ccxt/binance.py", line 9753, in fetch_leverages
    return self.parse_leverages(leverages, symbols, 'symbol')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/deploy/quantify_backend/venv/lib/python3.12/site-packages/ccxt/base/exchange.py", line 5727, in parse_leverages
    market = self.safe_market(marketId, None, None, marketType)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/deploy/quantify_backend/venv/lib/python3.12/site-packages/ccxt/binance.py", line 2569, in safe_market
    return super(binance, self).safe_market(marketId, market, delimiter, marketType)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/deploy/quantify_backend/venv/lib/python3.12/site-packages/ccxt/base/exchange.py", line 3853, in safe_market
    raise ArgumentsRequired(self.id + ' safeMarket() requires a fourth argument for ' + marketId + ' to disambiguate between different markets with the same market id')
ccxt.base.errors.ArgumentsRequired: binance safeMarket() requires a fourth argument for SNTUSDT to disambiguate between different markets with the same market id

from ccxt.

carlosmiei avatar carlosmiei commented on June 17, 2024

@shj00007 Thanks, we will check it asap

from ccxt.

carlosmiei avatar carlosmiei commented on June 17, 2024

@shj00007 Can you update your ccxt version and try again please? It should be working now

from ccxt.

shj00007 avatar shj00007 commented on June 17, 2024

@carlosmiei Yes, 4.3.30 works fine, 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.