Closed AlliedToasters closed 1 year ago
I am also getting an error running the example code even after adding the dep. See below:
Traceback (most recent call last):
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Users/lsrc/hyperliquid/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/lsrc/hyperliquid/test.py", line 16, in
@lasource18 this looks like an issue with the hyperliquid API, not the SDK. Could be an outage since the platform is still on early alpha.. Did you try on testnet?
@lasource18 this looks like an issue with the hyperliquid API, not the SDK. Could be an outage since the platform is still on early alpha.. Did you try on testnet?
You were correct it seems like the issue was with the API. I was actually trying to run the code on testnet which seemed to be lagging/down at the time. The API is working now and the code is running thank you.
Thanks for the bug report, I'm going to close this issue as the PR was merged
just need to add the requests library into deps, maybe: PR1?