Skip to content
Other Product Holdings

Get Structured Product Positions

Returns the current account's OTC structured product position summary (market value, daily profit and loss, and unrealized profit and loss) in the specified currency, and each position's quantity, cost, price, profit and loss, and coupon rates. Use it for the structured product position list and the header of the position details page. When the Client selects a position, call Get Structured Product Position Details with its counter_id to get the underlying price metrics.

GEThttps://api.lbkrs.com/v1/wms/position/info

Parameters

currencystringquery

Summary currency, such as USD. Broker App always passes it

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get structured product positions” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
currencystring

Summary currency

market_valuestring

Total market value

daily_p_lstring

Total daily profit and loss

unrealised_p_lnumber

Total unrealized profit and loss

positionsarray<object>

Positions. It is an empty array when there are no positions

Child attributes
counter_idstring

Product ID (counter_id). Use it to query position details

isinstring

ISIN code

namestring

Product name

currencystring

Product currency

quantitystring

Position quantity

coststring

Position cost

market_pricestring

Latest price

market_valuestring

Position market value

daily_p_lstring

Daily profit and loss

unrealised_p_lstring

Unrealized profit and loss

coupon_ratestring

Coupon rate

coupon_2_ratestring

Second-stage conditional coupon rate. Empty means the product has no second-stage coupon

Whale Docs