pymarketstore icon indicating copy to clipboard operation
pymarketstore copied to clipboard

Connection Error

Open josh-cogburn opened this issue 5 years ago • 0 comments

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.

josh-cogburn avatar May 23 '19 20:05 josh-cogburn