Python error request historical data 1/3 times
See original GitHub issue- OS: Ubuntu
- Programming Language version: Python
- CCXT version: Lastest
When i try to get the data, its working like 1/3 time. (I use multiple pair, so sometime its BTC-PERP, ETH-PERP etc)
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/ccxt/base/exchange.py", line 658, in fetch
response.raise_for_status()
File "/home/ubuntu/.local/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://ftx.com/api/markets/BTC-PERP/candles?resolution=86400&end_time=1653656768&limit=210&start_time=1635512768
Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Accessing NASDAQ Historical Data with Python Requests ...
csv" file, my Python code produces a timeout error. requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError(10060, 'A ...
Read more >Trying to read historical data from the tool - Python SDK
Hi Tim,. I tried hard coding the variables with the values as suggested above. However I got the same error again. What type...
Read more >TWS API v9.72+: Historical Time and Sales Data
TWS build 968+ and API version 973.04+ is required. Historical Tick-By-Tick data is not available for combos; Data will not be returned from...
Read more >How to get historical market data from Interactive Brokers ...
If you have an account with Interactive Brokers, you can download historical data from them using Python. This article will show you how....
Read more >statistics — Mathematical statistics functions — Python 3.11.1 ...
Raises StatisticsError if there are not at least two data points. The cut points are linearly interpolated from the two nearest data points....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello ! Its has gone a couple days after
thnx for letting us know ;