Skip to main content

get contract positions

POST 

/stock/contract/v1/getcopos

Searches/loads contract positions (CoPos). A null body, or a body without any supported filter, returns an empty list (not an error). Filters are evaluated in fixed priority order, FIRST non-empty wins: (1) identifiers[].contractSid -> active positions of those contracts; (2) coPosSrcSids together with any non-null contractTypeSid -> positions by source SID (NOTE: the contractTypeSid value is not used, only its presence enables this branch, which always filters on return-order type); (3) coPosSids -> positions by their own SID; (4) contractVersionSids together with contractTypeSids and partnerSid -> positions by version/type/partner; (5) partnerSid alone -> positions by partner (respAreaSids/articleSids and the loadOnlyValid* date windows narrow it). Results are FilterXD-restricted by the caller's role. The load* flags only control which extra data is attached (contracts, original execution date, validity windows). There is no result-size limit.

Request​

Responses​

successful operation