Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Error #33

Open
josh-cogburn opened this issue May 23, 2019 · 0 comments
Open

Connection Error #33

josh-cogburn opened this issue May 23, 2019 · 0 comments

Comments

@josh-cogburn
Copy link

I have Marketstore running @ localhost:5993, but running into this error.

ConnectionError: HTTPConnectionPool(host='localhost', port=5993): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff8844ed1d0>: Failed to establish a new connection: [Errno 111] Connection refused'))

import pymarketstore as pymkts
param = pymkts.Params('BTC', '1Min', 'OHLCV', limit=10)
cli = pymkts.Client(endpoint='http://localhost:5993/rpc')

reply = cli.query(param) <-- This is where the error occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant