Skip to main content

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 received, negative means paid. This restores the single-market sign used before the exchange-wide history change.

Metadata

Release files for tribulnation-hyperliquid 0.21.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tribulnation-hyperliquid 0.21.0
File Size Uploaded Provenance Actions
tribulnation_hyperliquid-0.21.0.tar.gz 51.7 kB With provenance Details for tribulnation_hyperliquid-0.21.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tribulnation-hyperliquid 0.21.0
File Interpreter ABI Platform Actions
tribulnation_hyperliquid-0.21.0-py3-none-any.whl Python 3 none any Details for tribulnation_hyperliquid-0.21.0-py3-none-any.whl

Total release size: 122.0 kB

Release files / tribulnation_hyperliquid-0.21.0.tar.gz

Download URL tribulnation_hyperliquid-0.21.0.tar.gz
Size 51.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4ea1c589ef5a05058d1d86b38fd3823b882d2c0602d865ca92609492599549b9
BLAKE2b-256 checksum
How to use checksums
cd8f5b426ad39f29c55157e93292c96ca868ea9da796c932600da24a1cf39b14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / tribulnation_hyperliquid-0.21.0-py3-none-any.whl

Download URL tribulnation_hyperliquid-0.21.0-py3-none-any.whl
Size 70.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92f3b7646859f316467d3c33ff4e51de1c26975fb79f897052e1f3051f1d738c
BLAKE2b-256 checksum
How to use checksums
450955895d342d255d2c104da04d31652d89585c9d2ed61a9a64c662001f5be4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for tribulnation-hyperliquid 0.21.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tribulnation_hyperliquid-0.21.0.tar.gz

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 Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.21.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page