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

PlanGroupTpSlResult

Result of planGroupTpSl.

Deliberately not a { feasible } discriminated union like PlanGroupCloseResult: a group close has one global constraint — the allocation must sum to the target exactly, or nothing may be closed — whereas TP/SL writes are independent per child, so a plan is always producible and validity is per-child. Gate the submit on hasInvalid.

Properties

actionsGroupTpSlAction[]required

Every decision, in child order. A child may yield a delete and a set, so this is not one entry per child.

setsExtract<GroupTpSlAction, { action: 'set' }>[]required

The set decisions, in submission order.

deletesExtract<GroupTpSlAction, { action: 'delete' }>[]required

The delete decisions, in submission order.

skipsExtract<GroupTpSlAction, { action: 'skip' }>[]required

The skip decisions, in child order.

hasInvalidbooleanrequired

true when at least one child failed validation — block the submit.

isNoopbooleanrequired

true when nothing needs writing.

Last updated on