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.14.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.14.0
File Size Uploaded
tribulnation_hyperliquid-0.14.0.tar.gz 45.9 kB Details

Built distribution (wheel)

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

Total release size: 110.4 kB

Release files / tribulnation_hyperliquid-0.14.0.tar.gz

Download URL tribulnation_hyperliquid-0.14.0.tar.gz
Size 45.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5114f90eaaa4c47522d14df863eaaa8fab1bf9aaddc60b97a0d3c13b6f09ffd1
BLAKE2b-256 checksum
How to use checksums
c140d68042916e491909a0bd1bcfb8bf1459ce1071dfe2d4825f50649e39fc7a
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 Oct 8, 2026.

Transparency log

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

Download URL tribulnation_hyperliquid-0.14.0-py3-none-any.whl
Size 64.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d79d216d44f87e28b84905d97e819e73ad9542690a15fc311f25a5b5050073d7
BLAKE2b-256 checksum
How to use checksums
bbdc1d7d47828621f1413cefabe1c482b189daecf5c0c14cc998af16d9935bf2
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 Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.14.0 This release

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release files

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