Hyperliquid SDK
Tribulnation SDK implementation for Hyperliquid.
Installation
pip install tribulnation-hyperliquid
Ticker availability
Spot and perpetual tickers() report actual bid/ask prices and quantities when
depth enrichment is enabled. Their last is None: asset contexts publish a
midpoint rather than a last traded price. base_volume_24h uses dayBaseVlm when
the venue supplies it and otherwise stays None; quote-notional dayNtlVlm is
never relabelled as base volume. Use perp_stats() for index/mark prices and
candles() for historical trade prices.
Exchange history
Use exchange.trades_history(None, start, end) for every market in a spot or
perpetual exchange, and perp_exchange.funding_payments(None, start, end) for its
funding payments. Each returned record carries market_id. Native account pages
are fetched once per call and filtered to the selected exchange, including its
builder DEX when applicable. Passing a market ID retains the single-market API.
Trade history uses userFillsByTime, subject to its 10,000-fill retention limit;
TWAP slice fills require a separate endpoint and are not included. Spot history
requires current metadata to resolve canonical market IDs and raises if a
historical spot pair cannot be resolved. Funding amounts follow the SDK convention:
positive means paid, negative means received. This also corrects the previous
reversed sign in the single-market funding mapper.
Metadata
Release files for tribulnation-hyperliquid 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tribulnation_hyperliquid-0.10.0.tar.gz | 40.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tribulnation_hyperliquid-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.2 kB
Release files / tribulnation_hyperliquid-0.10.0.tar.gz
| Download URL | tribulnation_hyperliquid-0.10.0.tar.gz |
|---|---|
| Size | 40.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c2a8e9acb3eb10bef214a51473664a48c50da902bf8f1c51e9698a14471720f
|
|
BLAKE2b-256 checksum How to use checksums |
1e4f00d5d3c3f6b167be41c201d782c4ac9548ddd51d514896e788fbbf4e97df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / tribulnation_hyperliquid-0.10.0-py3-none-any.whl
| Download URL | tribulnation_hyperliquid-0.10.0-py3-none-any.whl |
|---|---|
| Size | 58.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06bc9a30ce5fec6cb763d47e31c23727803dd6b6473fe02df7fafae58b4fd234
|
|
BLAKE2b-256 checksum How to use checksums |
edada96f00eb13c2bd8c4f1d231d109abc25f365a69c75f2add9d7c4e9a25b75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency log