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, RFQs, vault summaries, redemption queues and redemption cancels API key (+ signer key for create_order, bulk_orders, transfer, withdrawal and set_derisk_mm_ratio)
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.1.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.1.0
File Size Uploaded Provenance
typed_grvt-0.1.0.tar.gz 103.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 284.7 kB

Release files / typed_grvt-0.1.0.tar.gz

Download URL typed_grvt-0.1.0.tar.gz
Size 103.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ba870dc35621ee3e346a01c4f3cfdb46b7a90f71ca3947d6082ce0c1731b2e58
BLAKE2b-256 checksum
How to use checksums
ebd4c53f7069d5cfbed32bdbfb6024d2930f2ce023538b1f64c662d5d06b4ec5
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 20, 2026.

Transparency log

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

Download URL typed_grvt-0.1.0-py3-none-any.whl
Size 181.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7533b9c81a7045a914e3b71580bc1c1ec97882a687960c22c7f2db0057a3d71a
BLAKE2b-256 checksum
How to use checksums
0bf2ea0d807e68590c415f64d4d5b5f459acd988a063780b15151635b35ddfdc
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 20, 2026.

Transparency log

Security for typed-grvt 0.1.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for typed_grvt-0.1.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 20, 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.

Release history Release notifications | RSS feed

This release

0.1.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