Skip to main content

fetch_open_orders

Function fetch_open_orders 

Source
pub async fn fetch_open_orders(
    symbol_filter: Option<&str>,
    _is_mainnet: bool,
) -> Result<Value, String>
Expand description

Fetch open orders from Hyperliquid public API.

Requires a user address. Since this tool runs inside the agent loop, we return a placeholder result. The real execution happens in execute_tool.