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.

Is the gate interface now supported?

See original GitHub issue

MUST READ THIS BEFORE SUBMITTING ISSUES (read the link, then delete this message before submitting):

https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-submit-an-issue

Please make sure your local version of ccxt is up to date with this repo. You can check by comparing the output of ccxt.version to https://github.com/ccxt/ccxt/blob/master/package.json#L3

  • OS:
  • Programming Language version:
  • CCXT version:
  • Exchange:
  • Method:

using “gateio” to fetch data(e.g. ohlcv) throws error:

Using the following exchange(s): [‘gateio’] gateio interface does not support timeframe queries! We are unable to fetch data! Something went wrong fetching data for BTC/USDT, skipping

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lfzCarlosCcommented, Jul 6, 2019

thanks

0reactions
kroitorcommented, Jul 6, 2019

@lfzCarlosC it works for me:

mbp:python igorkroitor$ python3
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.


>>> import ccxt
>>> getattr(ccxt, 'gateio')({"enableRateLimit": True}).timeframes
{'1m': '60', '5m': '300', '10m': '600', '15m': '900', '30m': '1800', '1h': '3600', '2h': '7200', '4h': '14400', '6h': '21600', '12h': '43200', '1d': '86400', '1w': '604800'}

Also, your CCXT version is very old, can you update to the most recent version and check that again?

mbp:python igorkroitor$ python3
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.


>>> import ccxt

>>> print(ccxt.__version__)  # ←-------------- add this
1.18.894

>>> getattr(ccxt, 'gateio')({"enableRateLimit": True}).timeframes
{'1m': '60', '5m': '300', '10m': '600', '15m': '900', '30m': '1800', '1h': '3600', '2h': '7200', '4h': '14400', '6h': '21600', '12h': '43200', '1d': '86400', '1w': '604800'}

Let us know if the above does not help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FortiOS Release Notes | FortiGate / FortiOS 6.4.9
Therefore, when an interface IP is not allowed to connect externally, the probe session fails and causes traffic to not work. Firewall. Bug...
Read more >
PSIRT Advisories | FortiGuard
Please contact customer support for assistance. Workaround: FortiOS: Disable HTTP/HTTPS administrative interface.
Read more >
Oracle GoldenGate 21c Release Announcement
A single, Unified build is now available for Oracle GoldenGate for supported Oracle Databases. This feature eliminates previous releases' ...
Read more >
Common Gateway Interface - Wikipedia
In computing, Common Gateway Interface (CGI) is an interface specification that enables web servers to execute an external program, typically to process user ......
Read more >
AWS Storage Gateway FAQs | Amazon Web Services
Q: What use cases does AWS Storage Gateway support? Storage Gateway supports four key hybrid cloud use cases – (1) move backups and...
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