Skip to Content
Symmio Trading-SDK — the SDK surface for builders on HyperEVM
CoreSYMMIO ContractgetPartyAOpenPositions

getPartyAOpenPositions

Read the open positions (quotes past the open anchor) for a PartyA — a Virtual Account in the lowcap flow.

import { getPartyAOpenPositions } from "@symmio/trading-core"; const open = await getPartyAOpenPositions(config, { partyA, start: 0n, size: 50n, });

Parameters

partyAAddressrequired

The partyA (virtual account, lowcap) whose open positions to read.

startbigintdefault 0n

Pagination offset into partyA’s open-positions list.

sizebigintdefault 200n

Maximum number of positions to return from start. Clamped on-chain to the number remaining.

chainIdnumberoptional

Optional chain override.

Returns

readonly Quote[]

The open-position quotes found in the scanned range — the raw on-chain quote structs. See Unified Quotes for the higher-level model.

Query options

import { getPartyAOpenPositionsQueryOptions } from "@symmio/trading-core"; import { useQuery } from "@tanstack/react-query"; useQuery(getPartyAOpenPositionsQueryOptions(config, { partyA }));
Last updated on