question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should Gate.io fetch_open_orders() really require a symbol argument?

See original GitHub issue
  • OS: Linux Mint
  • Programming Language version: Python 3.10
  • CCXT version: 1.82.19
exchange = ccxt.gateio({...})
exchange.fetch_open_orders()
Traceback (most recent call last):
...
    exchange.fetch_open_orders()
  File "/home/xyz/.local/lib/python3.10/site-packages/ccxt/gateio.py", line 3099, in fetch_open_orders
    return self.fetch_orders_by_status('open', symbol, since, limit, params)
  File "/home/xyz/.local/lib/python3.10/site-packages/ccxt/gateio.py", line 3124, in fetch_orders_by_status
    raise ArgumentsRequired(self.id + ' fetchOrdersByStatus requires a symbol argument for spot non-stop open orders')
ccxt.base.errors.ArgumentsRequired: gateio fetchOrdersByStatus requires a symbol argument for spot non-stop open orders

fetch_open_orders was working without symbol argument until today when I updated ccxt to the most recent version. According to Gate.io API documentation it should be possible to fetch open orders without a currency pair argument: https://www.gate.io/docs/developers/apiv4/en/#list-all-open-orders

Is Gate.io about to change the symbol requirement or is there some other reason for now requiring the symbol on the ccxt side or is this a bug?

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
JovianMooncommented, May 13, 2022

Seems to be working fine now with 1.82.33

1reaction
kroitorcommented, May 13, 2022

@JovianMoon another minor bug was introduced in the recent commit, please, let me know if you have this issue with 1.82.33 (the new build will arrive in ~20 minutes), tested on my side, should be working ok now. Thanks for reporting it, pardon for the inconvenience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gateio fetch_my_trades fees "cost" has wrong type #14247
This is not really an issue - it may be something that can be optimized in the future. The text was updated successfully,...
Read more >
Gate.io Will Suspend XYM Deposits/Withdrawals to Support ...
According to the Symbol team, a Symbol's upgrade will take place soon and Symbol (XYM) deposits and withdrawals should be suspended from ...
Read more >
Guide to "Time Condition" - Gate.io
Limit orders that have been successfully triggered can be viewed from "My Orders" -"Limit Order". The unfilled parts of your orders can be...
Read more >
Developer-Gate.io
The delivery contract market public data will be available for download gradually, ... Encapsulate API request to simplify the trading access process.
Read more >
KYC - Customer Support & Help Center | Gate.io
You are required to verify your identity at Gate.io by going through our KYC process. Once your account is verified, you can ask...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found