Skip to main content

Typed GRVT

A fully typed, validated async client for the GRVT API.

PyPI version Python versions Docs License



from typed_grvt import Grvt

async with Grvt.new(public=True) as client:
  ticker = await client.market.ticker('BTC_USDT_Perp')
  print(ticker.get('mark_price'))

Grvt.new() connects to GRVT production. Pass env='testnet' (or env='staging') to use a test deployment instead.

Why Typed GRVT?

  • 🎯 Precise Types: Typed orders, fills, positions and market data across perpetuals, futures, options, spot swaps and stable perpetuals, not dict/Any.
  • ✅ Runtime Validation: Every HTTP reply and WebSocket feed message is validated by default, with a per-call validate override.
  • ⚡ Async First: Async HTTP and JSON-RPC over WebSocket, with a per-call transport choice and live streams, built for concurrent workflows.
  • 📚 Full Surface: Market data, trading, account history, transfers, withdrawals, deposits, RFQs and vault summaries, with session login and EIP-712 signing handled for you.

Installation

pip install typed-grvt

Surfaces

Attribute What it covers Credentials
client.market Instruments, currencies, tickers, order books, trades, candles, funding rates none
client.market_streams Live tickers, order books, trades and candles none
client.trading Orders, fills, positions, account summaries, transfers, withdrawals, leverage and isolated margin, RFQs, vault summaries, redemption queues and redemption cancels API key (+ signer key for create_order, bulk_orders, transfer, withdrawal, set_derisk_mm_ratio, set_position_config and add_position_margin)
client.trading_streams Your orders, fills, positions, transfers, deposits and withdrawals, live API key
client.edge Deposit addresses, bridge withdrawal quotes and status, referrals, strategies API key (none for investment_strategies and rhino_chain_id)

How To

Reference

Design Philosophy

Typed GRVT follows the principles outlined in this blog post.

Details matter. Developer experience matters.

License

MIT — see LICENSE.

Metadata

Release files for typed-grvt 0.2.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 typed-grvt 0.2.0
File Size Uploaded Provenance Actions
typed_grvt-0.2.0.tar.gz 105.4 kB With provenance Details for typed_grvt-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typed-grvt 0.2.0
File Interpreter ABI Platform Actions
typed_grvt-0.2.0-py3-none-any.whl Python 3 none any Details for typed_grvt-0.2.0-py3-none-any.whl

Total release size: 290.2 kB

Release files / typed_grvt-0.2.0.tar.gz

Download URL typed_grvt-0.2.0.tar.gz
Size 105.4 kB
Tags Source
SHA-256 checksum
How to use checksums
56057d24974ddbdf68d611166cc33a0f957fac16c4cdd85b9c7226a0825f8968
BLAKE2b-256 checksum
How to use checksums
342ca60fba14d6e6268c948e9bb9032114913715a82312286276d5065819d572
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 Oct 22, 2026.

Transparency log

Release files / typed_grvt-0.2.0-py3-none-any.whl

Download URL typed_grvt-0.2.0-py3-none-any.whl
Size 184.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28ee2149ddfc70c3c58eda7f16a4907afb3c93efff9f608b46e4ae6c94a35faa
BLAKE2b-256 checksum
How to use checksums
4ef0418471be59e9164e0c01d0bcc718e37283d28eba54b6a777071c4e1e0d43
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 Oct 22, 2026.

Transparency log

Security for typed-grvt 0.2.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 typed_grvt-0.2.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 Oct 22, 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.

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