Skip to Content
Symmio Trading-SDK — the SDK surface for builders on Arbitrum
CoreTP/SLGroupTpSlChild

GroupTpSlChild

One child position offered to the grouped TP/SL helpers: the quote’s write identity, the sizing and pricing inputs the math needs, and its current confirmed TP/SL snapshot.

Build these from a grouped position’s child quotes with toGroupTpSlChildren. Every amount and price is 18-decimal wei bigint, matching UnifiedQuote; trigger prices inside tpsl stay decimal strings, matching the handler.

Properties

keystringrequired

Stable child identity (UnifiedQuote.key) — the key every desired map and plan is addressed by.

quoteIdbigintoptional

On-chain quote id. Absent while the child is still off-chain; no conditional order can be written against it yet.

virtualAccountAddressoptional

PartyA the conditional order is signed for: the child’s Virtual Account (vaAddress ?? partyA).

symbolIdbigintrequired

Market identifier.

positionTypePositionTyperequired

Trade side.

openQuantitybigintrequired

Remaining open size (quantity − closedAmount), wei — what a TP/SL leg would close.

openPricebigintrequired

Price the child is valued and diffed against (openedPrice when settled, else requestedOpenPrice), wei.

tpslQuoteTpSlrequired

The child’s confirmed TP/SL snapshot. Both sides empty means “no orders”.

Last updated on