Expand description
NautilusTrader adapter for Derive.
The nautilus-derive crate provides integration with the Derive self-custodial onchain
options, perpetuals, and spot exchange. Authentication uses the owner’s EOA or multisig
together with a session-key signer; orders are EIP-712 typed-data
signed against the venue’s per-action module contracts.
The official Derive API reference can be found at https://docs.derive.xyz/.
§NautilusTrader
NautilusTrader is an open-source, production-grade, Rust-native trading engine with a deterministic, event-driven architecture for multi-asset, multi-venue systems.
The system spans research, simulation, and live execution, providing research-to-live semantic parity.
§Feature Flags
Feature flags control code inclusion for Rust builds and Python bindings:
examples: Enables the crate’s example binaries.extension-module: Builds as a Python extension module.fuzz: Enables libFuzzer integration for fuzz targets.high-precision(default): Enables high-precision mode to use 128-bit value types.python: Enables Python bindings from PyO3.simulation: Enables deterministic simulation withcfg(madsim).
§Integrator Attribution
Signed order, replace, and trigger-order payloads set referral_code to nautilus,
with no additional trading cost.
See attribution details.
§Documentation
Re-exports§
pub use crate::config::DeriveDataClientConfig;pub use crate::config::DeriveExecutionClientConfig;pub use crate::execution::DeriveExecutionClient;pub use crate::factories::DeriveDataClientFactory;pub use crate::factories::DeriveExecutionClientFactory;
Modules§
- common
- config
- Configuration structures for the Derive adapter.
- data
- Live market data client implementation for the Derive adapter.
- execution
- Live execution client implementation for the Derive adapter.
- factories
- Factory functions for creating Derive clients and components.
- http
- HTTP client for the Derive REST API.
- providers
- Instrument provider for the Derive adapter.
- python
- Python bindings from
pyo3. - signing
- Derive self-custodial action signing.
- websocket
- WebSocket transport for the Derive JSON-RPC stream.