8000 Handle ccxt request/ratelimit errors · Issue #97 · produvia/kryptos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 15, 2021. It is now read-only.

Handle ccxt request/ratelimit errors #97

Open
slavakurilyak opened this issue Jul 29, 2018 · 0 comments
Open

Handle ccxt request/ratelimit errors #97

slavakurilyak opened this issue Jul 29, 2018 · 0 comments

Comments

@slavakurilyak
Copy link
Contributor
slavakurilyak commented Jul 29, 2018

Running multiple strategies in paper mode often fails due to ccxt hitting rate limits.

ExchangeRequestError: Request failed: bitfinex https://api.bitfinex.com/v1/pubticker/BTCUSD GET HTTPSConnectionPool(host='api.bitfinex.com', port=443): Max retries exceeded with url: /v1/pubticker/BTCUSD (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f50bfa34b38>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) ["error", 11010, "ratelimit: error"]

Some possible solutions:

  • skip the trading step
  • possibly run one live/paper worker process per container
  • limit trading to hourly/daily frequency by skipping trade steps until time to fetch
  • fetch data from one worker process and have other workers ingest from it
@treethought treethought changed the title Handle ccxt request/ratelimit erros Handle ccxt request/ratelimit errors Jul 30, 2018
@slavakurilyak slavakurilyak reopened this Aug 27, 2018
@slavakurilyak slavakurilyak reopened this Aug 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0