pub fn order_to_hyperliquid_request_with_asset(
order: &OrderAny,
asset: u32,
price_decimals: u8,
should_normalize_prices: bool,
slippage_bps: u32,
) -> Result<HyperliquidExecPlaceOrderRequest>Expand description
Converts a Nautilus order to Hyperliquid request using a pre-resolved asset index.
This variant is used when the caller has already resolved the asset index
from the instrument cache (e.g., for SPOT instruments where the index
cannot be derived from the symbol alone). slippage_bps controls the
buffer applied when deriving a limit from a stop trigger price.