Query Positions - Samples with Filters

GET {{baseurl}}apireport?svc=getReport&reportName=API_Positions_Retrieve&inputParamName=filters&inputParamValue=Account.Strategy~!=~DEMO

This method returns the most recent state of positions filtered with the provided criteria.

Request Params

KeyDatatypeRequiredDescription
svcstring(Required) Needs to be populated with getReport
reportNamestring(Required) Report name that has been provided by LiquidityBook
inputParamNamestring(Required) Enables inputParamValue for filtering
inputParamValuestring(Required) positions datapoint to filter~!=filtering criteria
inputParamValuestring
inputParamValuestring
inputParamValuestring
inputParamValuestring
inputParamValuestring
inputParamValuestring
inputParamValuestring
inputParamValuestring

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"node":"953","nodeGroup":"LOGIC-953","rc":0,"report":[{"Sedol":"","DayPos":"-87133.8200","Underlier":"","DayAvgPrc":"1.0000","SODPx":"1.0000","OptionTicker":"","BuyQty":"0.0000","PosChange":"-87133.82","MarketValLocal":"-89979.0700","SellQty":"87133.8200","Strategy":"DEMO","SODPos":"-2845.2500","NetPos":"-89979.0700","Symbol":".USD","Acct":"API_DEMO_LQBK","Cusip":"","DayPnlUSD":"0.0000","Ticker":"","AssetClass":"","Portfolio":"API","LastPx":"1.0","ISIN":""}]}