Skip to main content

trade_query_runtime_spec

Function trade_query_runtime_spec 

pub fn trade_query_runtime_spec(
    operation: TradeQueryOperation,
    environment: TradeQueryEnvironment,
) -> Option<CommandSpec>
Expand description

Resolve one concrete real/sim trade-read command for CommandRuntime.

TradeQueryCommandSpec remains the paired C++ parity registry. This view gives runtime a unique identity even when two operations share one wire command, notably real Funds and Positions on CMD3020.