Skip to main content

Crate nautilus_hyperliquid

Crate nautilus_hyperliquid 

Source
Expand description

NautilusTrader adapter for the Hyperliquid decentralized exchange.

The nautilus-hyperliquid crate provides integration with the Hyperliquid API for trading perpetual futures on a decentralized exchange.

§NautilusTrader

NautilusTrader is an open-source, production-grade, Rust-native engine for multi-asset, multi-venue trading systems.

The system spans research, deterministic simulation, and live execution within a single event-driven architecture, providing research-to-live semantic parity.

§Feature Flags

This crate provides feature flags to control source code inclusion during compilation, depending on the intended use case, i.e. whether to provide Python bindings for the nautilus_trader Python package, or as part of a Rust only build.

  • python: Enables Python bindings from PyO3.
  • extension-module: Builds as a Python extension module.

High-precision mode (128-bit value types) is enabled by default.

Re-exports§

pub use crate::config::HyperliquidDataClientConfig;
pub use crate::config::HyperliquidExecClientConfig;
pub use crate::data::HyperliquidDataClient;
pub use crate::execution::HyperliquidExecutionClient;
pub use crate::factories::HyperliquidDataClientFactory;
pub use crate::factories::HyperliquidExecFactoryConfig;
pub use crate::factories::HyperliquidExecutionClientFactory;
pub use crate::http::client::HyperliquidHttpClient;
pub use crate::websocket::client::HyperliquidWebSocketClient;

Modules§

common
config
Configuration structures for the Hyperliquid adapter.
data
execution
Live execution client implementation for the Hyperliquid adapter.
factories
Factory functions for creating Hyperliquid clients and components.
http
python
Python bindings from pyo3.
signing
Hyperliquid EIP-712 signing and nonce management.
websocket