Process flow diagram
Selection → pricing → order gates for covered‑call opening.
%%{init: {"theme":"base","flowchart":{"curve":"basis"},"themeVariables":{
"fontFamily":"Inter, Nunito, system-ui",
"primaryTextColor":"#e5e7eb",
"primaryColor":"#111827",
"primaryBorderColor":"#94a3b8",
"lineColor":"#94a3b8",
"tertiaryColor":"#0e1729",
"tertiaryBorderColor":"#22d3ee",
"edgeLabelBackground":"#00000000"
}}}%%
flowchart TB
A([Start]) --> C1[Generate candidate chains]
C1 --> PF[Prefilters: credit, delta, spread, floors, EDM/EPR caps]
PF -->|None| OUT[Stop: no viable chains]
PF --> PRICE1[Short-Chain Open Pricing]
PRICE1 --> PRICE2[Covered-Call Pricing]
PRICE2 --> SCORE[Compute viabilityScore]
SCORE -->|No chain over floor| OUT
SCORE --> PICK[Pick highest-score candidate]
PICK --> BI[Gate 1: Base instrument]
BI -->|Fail| OUT
BI --> BO[Gate 2: Base option]
BO -->|Fail| OUT
BO --> CC[Gate 3: Covered call]
CC -->|Fail| OUT
CC --> BUILD[Build 1-leg STO order]
BUILD --> SUBMIT[Submit order]
SUBMIT --> DONE([Outcome: order placed])
classDef step fill:#111827,stroke:#94a3b8,color:#e5e7eb,stroke-width:1px;
classDef gate fill:#0e1729,stroke:#22d3ee,color:#e5e7eb,stroke-width:1px;
classDef out fill:transparent,stroke:#94a3b8,color:#cbd5e1,stroke-dasharray:5 3;
class A,C1,PF,PRICE1,PRICE2,SCORE,PICK,BUILD,SUBMIT,DONE step;
class BI,BO,CC gate;
class OUT out;