pymarketstore
pymarketstore copied to clipboard
Connection Error
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.