df-hyperliquid-core 0.0.9-beta

Hyperliquid SDK for Rust: markets, account, trading, transfers, earn and deploy, with exact decimals and signing. Native and wasm.
Documentation
//! What an account holds: each perp dex's clearinghouse, spot balances, what an order on one perp
//! may take, how its mode keeps the balances, what an order can draw on, what it is all worth, and
//! the outcome sides held.

pub mod active;
pub mod keeping;
pub mod outcomes;
pub mod perps;
pub mod spot;
pub mod standing;
pub mod usable;
pub mod worth;

pub use active::{ActiveAssetData, active_asset_data, active_asset_data_request};
pub use keeping::Keeping;
pub use outcomes::Direction;
pub use perps::{
    AssetPosition, ClearinghouseState, CumFunding, Leverage, MarginMode, MarginSummary, Position, clearinghouse_state,
    clearinghouse_state_request,
};
pub use spot::{Risk, SpotBalance, SpotState, spot_state, spot_state_request};
pub use standing::{DexState, Standing, standing};
pub use usable::{Balance, Collateral, LTV, Pays, Source, Surface, Usable, payer};
pub use worth::{Beside, Prices, VaultShare, Worth, combined};