QuoteGroup
One grouped position: several UnifiedQuotes in the same market (and, depending on strategy, the same side) folded into a single row with aggregated QuoteGroupMetrics.
Produced by groupQuotes.
Properties
keystringrequiredStable string identity — a React key and a selection handle. Unique within one groupQuotes call.
byQuoteGroupByrequiredThe dimensions that identify this group: symbolId and positionType under MARKET_DIRECTION, or whichever subset
a custom keyOf groups on (vaAddress included).
vaAddressAddressoptionalThe Virtual Account this group resolves to, taken from its first on-chain child. undefined while the group is
all-optimistic.
Child quotes, newest first.
isAggregatebooleanrequiredtrue when more than one quote folds into this group — the single-vs-merged render switch.
Pure aggregated metrics over quotes.
A group can span Virtual Accounts
The built-in keys are m:<symbolId> and md:<symbolId>:<positionType> — the VA is not part of the key. In lowcap trading each isolated position lives under its own VA, so one merged row routinely covers several. Any write that fans out over quotes must therefore take each child’s own vaAddress, never the group’s.
Related
groupQuotes— produces these.planGroupClose— closes an exact quantity across one.toGroupTpSlChildren— the grouped TP/SL entry point.