Skip to content

Commit

Permalink
Version 0.1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
traderben committed Jan 4, 2024
1 parent a23965e commit 67864cf
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 88 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PYTHONPATH := `pwd`
#* Installation
.PHONY: install
install:
poetry lock -n && poetry export --without-hashes > requirements.txt
poetry lock -n --no-update && poetry export --without-hashes > requirements.txt
poetry install -n
-poetry run mypy --install-types --non-interactive ./

Expand Down
2 changes: 1 addition & 1 deletion hyperliquid/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def bulk_cancel_by_cloid(self, cancel_requests: List[CancelByCloidRequest]) -> A
"cancels": [
{
"asset": self.coin_to_asset[cancel["coin"]],
"cloid": cancel["cloid"],
"cloid": cancel["cloid"].to_raw(),
}
for cancel in cancel_requests
],
Expand Down
79 changes: 22 additions & 57 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "hyperliquid-python-sdk"
version = "0.1.18"
version = "0.1.19"
description = "SDK for Hyperliquid API trading with Python."
readme = "README.md"
authors = ["Hyperliquid <[email protected]>"]
Expand Down Expand Up @@ -38,19 +38,16 @@ classifiers = [ #! Update me

[tool.poetry.dependencies]
python = "^3.7"
importlib_metadata = {version = "^4.5.0", python = "<3.8"}
typer = {extras = ["all"], version = "^0.4.0"}
rich = "^10.14.0"
eth-utils = "^2.1.0"
eth-abi = "^3.0.1"
eth-account = "^0.8.0"
websocket-client = "^1.5.1"
pytest = "^7.2.1"
requests = "^2.31.0"
pytest-recording = "^0.12.2"

[tool.poetry.dev-dependencies]
python = "3.10.10"
pytest = "^7.2.1"
pytest-recording = "^0.12.2"
bandit = "^1.7.1"
black = "^22.3.0"
darglint = "^1.8.1"
Expand Down
24 changes: 24 additions & 0 deletions requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
bitarray==2.7.6 ; python_version >= "3.7" and python_version < "4"
cached-property==1.5.2 ; python_version >= "3.7" and python_version < "3.8"
certifi==2023.5.7 ; python_version >= "3.7" and python_version < "4.0"
charset-normalizer==3.2.0 ; python_version >= "3.7" and python_version < "4.0"
cytoolz==0.12.1 ; python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
eth-abi==3.0.1 ; python_version >= "3.7" and python_version < "4"
eth-account==0.8.0 ; python_version >= "3.7" and python_version < "4"
eth-hash==0.5.2 ; python_version >= "3.7" and python_version < "4"
eth-keyfile==0.6.1 ; python_version >= "3.7" and python_version < "4"
eth-keys==0.4.0 ; python_version >= "3.7" and python_version < "4"
eth-rlp==0.3.0 ; python_version >= "3.7" and python_version < "4"
eth-typing==3.2.0 ; python_version >= "3.7" and python_version < "4"
eth-utils==2.2.0 ; python_version >= "3.7" and python_version < "4"
hexbytes==0.3.1 ; python_version >= "3.7" and python_version < "4"
idna==3.4 ; python_version >= "3.7" and python_version < "4.0"
parsimonious==0.8.1 ; python_version >= "3.7" and python_version < "4"
pycryptodome==3.18.0 ; python_version >= "3.7" and python_version < "4"
pytest==7.4.0 ; python_version >= "3.7" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.7" and python_version < "4.0"
rlp==3.0.0 ; python_version >= "3.7" and python_version < "4"
six==1.16.0 ; python_version >= "3.7" and python_version < "4"
toolz==0.12.0 ; python_version >= "3.7" and python_version < "4" and implementation_name == "pypy" or python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
urllib3==1.26.16 ; python_version >= "3.7" and python_version < "4.0"
websocket-client==1.6.1 ; python_version >= "3.7" and python_version < "4.0"
23 changes: 0 additions & 23 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
attrs==23.1.0 ; python_version >= "3.7" and python_version < "4.0"
bitarray==2.7.6 ; python_version >= "3.7" and python_version < "4"
cached-property==1.5.2 ; python_version >= "3.7" and python_version < "3.8"
certifi==2023.5.7 ; python_version >= "3.7" and python_version < "4.0"
charset-normalizer==3.2.0 ; python_version >= "3.7" and python_version < "4.0"
click==8.1.5 ; python_version >= "3.7" and python_version < "4.0"
colorama==0.4.6 ; python_version >= "3.7" and python_version < "4.0"
commonmark==0.9.1 ; python_version >= "3.7" and python_version < "4.0"
cytoolz==0.12.1 ; python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
eth-abi==3.0.1 ; python_version >= "3.7" and python_version < "4"
eth-account==0.8.0 ; python_version >= "3.7" and python_version < "4"
Expand All @@ -15,32 +11,13 @@ eth-keys==0.4.0 ; python_version >= "3.7" and python_version < "4"
eth-rlp==0.3.0 ; python_version >= "3.7" and python_version < "4"
eth-typing==3.2.0 ; python_version >= "3.7" and python_version < "4"
eth-utils==2.2.0 ; python_version >= "3.7" and python_version < "4"
exceptiongroup==1.1.2 ; python_version >= "3.7" and python_version < "3.11"
hexbytes==0.3.1 ; python_version >= "3.7" and python_version < "4"
idna==3.4 ; python_version >= "3.7" and python_version < "4.0"
importlib-metadata==4.13.0 ; python_version >= "3.7" and python_version < "3.8"
iniconfig==2.0.0 ; python_version >= "3.7" and python_version < "4.0"
multidict==6.0.4 ; python_version >= "3.7" and python_version < "4.0"
packaging==23.1 ; python_version >= "3.7" and python_version < "4.0"
parsimonious==0.8.1 ; python_version >= "3.7" and python_version < "4"
pluggy==1.2.0 ; python_version >= "3.7" and python_version < "4.0"
pycryptodome==3.18.0 ; python_version >= "3.7" and python_version < "4"
pygments==2.15.1 ; python_version >= "3.7" and python_version < "4.0"
pytest-recording==0.12.2 ; python_version >= "3.7" and python_version < "4.0"
pytest==7.4.0 ; python_version >= "3.7" and python_version < "4.0"
pyyaml==6.0 ; python_version >= "3.7" and python_version < "4.0"
requests==2.31.0 ; python_version >= "3.7" and python_version < "4.0"
rich==10.16.2 ; python_version >= "3.7" and python_version < "4.0"
rlp==3.0.0 ; python_version >= "3.7" and python_version < "4"
shellingham==1.5.0.post1 ; python_version >= "3.7" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.7" and python_version < "4"
tomli==2.0.1 ; python_version >= "3.7" and python_version < "3.11"
toolz==0.12.0 ; python_version >= "3.7" and python_version < "4" and implementation_name == "pypy" or python_version >= "3.7" and python_version < "4" and implementation_name == "cpython"
typer[all]==0.4.2 ; python_version >= "3.7" and python_version < "4.0"
typing-extensions==4.7.1 ; python_version >= "3.7" and python_version < "3.8"
urllib3==1.26.16 ; python_version >= "3.7" and python_version < "4.0"
vcrpy==4.4.0 ; python_version >= "3.7" and python_version < "4.0"
websocket-client==1.6.1 ; python_version >= "3.7" and python_version < "4.0"
wrapt==1.15.0 ; python_version >= "3.7" and python_version < "4.0"
yarl==1.9.2 ; python_version >= "3.7" and python_version < "4.0"
zipp==3.15.0 ; python_version >= "3.7" and python_version < "3.8"

0 comments on commit 67864cf

Please sign in to comment.