{"info":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","description":"<html><head></head><body><h1 id=\"description\">Description</h1>\n<p>PortfolioScience RiskAPI Enterprise. Detailed service documentation is located here:</p>\n<p><a href=\"https://www.portfolioscience.com/enterprise-support-login\">https://www.portfolioscience.com/enterprise-support-login</a></p>\n<h1 id=\"overview\">Overview</h1>\n<p>RiskAPI is a cloud-based risk analysis service delivered as a dynamic, distributed API. Financial services, sell-side, and buy-side entities use RiskAPI to access the PortfolioScience proprietary Risk Analysis Engine in order to rapidly implement and offer robust risk analysis functionality.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Access requires an active RiskAPI Enterprise license and credentials. Credentials (username, password, API Key, plus client certificate) are submitted to the login call to generate a bearer token, used for all subsequent requests.</p>\n<p>The bearer-token is submitted as an additional parameter, called <strong>token</strong>, via the request body.</p>\n<h1 id=\"parameters-overview\">Parameters Overview</h1>\n<p>Functional inputs are submitted as query parameters (documented per API call, below), while content inputs (symbols, quantities, time series, input prices, spreads, etc.) and modal inputs (base currency, period. etc.) are submitted via the request body. </p>\n<p>These parameters are passed in as json-formatted values and arrays and represent the primary content and modal inputs to the API.</p>\n<h1 id=\"section\"></h1>\n<h4 id=\"symbol-and-quantity-parameters\">Symbol and quantity parameters</h4>\n<p>These parameters are used for any calculation requiring a collection of just symbols, symbols and quantities, or two sets of symbols and quantities (such as with correlation, beta, etc.):</p>\n<p><strong>Symbol</strong> - String array of symbols</p>\n<p><strong>Quantity</strong> - Double array of quantities</p>\n<p><strong>Symbol1</strong> - String array of symbols</p>\n<p><strong>Quantity1</strong> - Double array of quantities</p>\n<p><strong>Symbol2</strong> - String array of symbols</p>\n<p><strong>Quantity2</strong> - Double array of quantities</p>\n<h1 id=\"section-2\"></h1>\n<h4 id=\"sensitivity-and-stress-test-parameters\">Sensitivity and stress test parameters</h4>\n<p>These parameters are used for any calculation requiring a collection of associated underlying prices, implied volatilities, market prices or individualized shocks:</p>\n<p><strong>Spot</strong> - Double array of underlying asset prices</p>\n<p><strong>Vols</strong> - Double array of implied volatilities</p>\n<p><strong>Prices</strong> - Double array of market prices</p>\n<p><strong>Stresses</strong> - Double array of per-position stress values</p>\n<p><strong>IndexStresses</strong> - Double array of per-index stress values</p>\n<p><strong>Spreads</strong> - Double array of credit spreads</p>\n<h1 id=\"section-3\"></h1>\n<h4 id=\"custom-data-import-parameters\">Custom Data Import Parameters</h4>\n<p><strong>Dates</strong> - String array of time series dates (formatted as \"mm/dd/yyyy\")</p>\n<p><strong>Values</strong> - Double array of time series values</p>\n<h1 id=\"section-4\"></h1>\n<h4 id=\"modal-parameters\">Modal Parameters</h4>\n<p>These parameters are used to control generalized calculation behavior such as base currency, and period:</p>\n<p><strong>FX</strong> - String representing the ISO base currency code of the calculation (default = \"USD\")</p>\n<p><strong>Period</strong> - String (D,W,M) representing the periodicity of the historical returns used in a given calculation (default=\"D\")</p>\n<p><strong>SampleRate</strong> - Integer which defines the business-day frequency of return observations used with calculations utilizing historical data (default = 1)</p>\n<p><strong>Sliding</strong> - Boolean that determines if price observations are sampled simply by taking price observations every \"samplerate\" days apart, producing n/samplerate observations (sliding = false) or as a sliding window (sliding = true), producing n observations, where n = the number of daily price observations in a given time series. If SampleRate &gt; 1, the system will use time series data with each price observation spaced SampleRate business days apart.</p>\n<p><strong>Backfill</strong> - Boolean which determines if, for a given time series of historical data, missing return observations between a given calculation's start date and the first real historical return observation will be filled in with values of zero (default = true).</p>\n<p><strong>UnrollSplits</strong> - Boolean which determines if splits that occurred after the applicable end date are to be unapplied. If SplitUnroll = true, any equity splits and distributions that took place after the calculation end date will be rolled back. As a result, historical pre-split quantities will work as if the split (or dividend) never took place (currently available for US Equities only).</p>\n<h1 id=\"section-5\"></h1>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>Standard REST error codes</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Description","slug":"description"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Parameters Overview","slug":"parameters-overview"},{"content":"","slug":"section"},{"content":"","slug":"section-2"},{"content":"","slug":"section-3"},{"content":"","slug":"section-4"},{"content":"","slug":"section-5"},{"content":"Error Codes","slug":"error-codes"}],"owner":"14906769","collectionId":"12a57867-9f41-4183-b12a-161dab8901d5","publishedId":"Tz5qYwm9","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"003264"},"publishDate":"2021-03-15T15:07:18.000Z"},"item":[{"name":"login","id":"95e7c9d9-bc26-462e-9b7f-44f8332de47d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Username\": \"username\",\r\n    \"Password\": \"password\",\r\n    \"APIKey\": \"apikey\",\r\n    \"x509\": \"x509\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://cluster.riskapi.com/api/login","description":"<h6 id=\"returns\">Returns</h6>\n<p>A string representing the bearer token used to access all other API calls, i.e. \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\"</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"protocol":"https","path":["api","login"],"host":["cluster","riskapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"95e7c9d9-bc26-462e-9b7f-44f8332de47d"},{"name":"registerip","id":"fda678f4-6485-4c2d-892b-d70c4d26d8dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cluster.riskapi.com/api/registerip?username=testuser&ip=172.217.10.238","description":"<p>For users executing on segregated processing configurations, this method provides a mechanism to dynamically register an external source IP to be used in request routing. This method should be called prior to executing the login call. Note that to guarantee source IP registration and correct routing from a new source IP, there should be at least 120 seconds between execution of this method and any subsequent authentication or calculation request.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"protocol":"https","path":["api","registerip"],"host":["cluster","riskapi","com"],"query":[{"description":{"content":"<p>String representing the RiskAPI session username</p>\n","type":"text/plain"},"key":"username","value":"testuser"},{"description":{"content":"<p>String value representing the external facing IP address of the requesting system.</p>\n","type":"text/plain"},"key":"ip","value":"172.217.10.238"}],"variable":[]}},"response":[],"_postman_id":"fda678f4-6485-4c2d-892b-d70c4d26d8dd"},{"name":"portfoliorisk","id":"7c415d18-a619-45b4-ad0c-e5eace821fc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&confidence=0.95&method=3&voltype=2&decay=0.91&conditional=false&simulations=0","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single double value representing the total portfolio Value at Risk (VaR) in dollars. When the \"conditional\" parameter is set to True the result represents the conditional total portfolio VaR (otherwise known as Expected Tail Loss or ETL)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Double value specifying the degree of confidence (default = 0.95)</p>\n","type":"text/plain"},"key":"confidence","value":"0.95"},{"description":{"content":"<p>Optional Integer value representing VaR model (1=volatility-based, 2=historical simulation 3=parametric, 4=historical simulation percent returns, 5=historical simulation lognormal returns, 6=historical simulation losses included as negatives, 7=historical simulation percent returns losses included as negatives, 8=historical simulation lognormal returns losses included as negatives, 9=full historical simulation, 10=full historical simulation percent returns, 11=full historical simulation lognormal returns, 12=decayed historical simulation, 13=decayed historical simulation percent returns, 14=decayed historical simulation lognormal returns, 15=monte carlo, 18=hybrid historical). (Default = 1)</p>\n","type":"text/plain"},"key":"method","value":"3"},{"description":{"content":"<p>Optional Integer specifying volatility model used by parametric VaR method (1=normal,2=EWMA,3=GARCH,5=Percent,6=Dollar,7=Dollar EWMA)</p>\n","type":"text/plain"},"key":"voltype","value":"2"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"0.91"},{"description":{"content":"<p>Optional Boolean parameter which, if equal to True, causes the method to return Conditional VaR (otherwise known as Expected Tail Loss)</p>\n","type":"text/plain"},"key":"conditional","value":"false"},{"description":{"content":"<p>Optional Integer parameter specifying the number of simulations to be used when VaR Method = 15 (default = 1,000, max of 10,000)</p>\n","type":"text/plain"},"key":"simulations","value":"0"}],"variable":[]}},"response":[],"_postman_id":"7c415d18-a619-45b4-ad0c-e5eace821fc9"},{"name":"individualrisk","id":"cae47ce6-3bd8-4ef6-a371-2bbd07ff0821","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&confidence=0.95&method=1&voltype=1&decay=-1&conditional=false&simulations =1000","description":"<h6 id=\"returns\">Returns</h6>\n<p>A double array containing the individual position Value at Risk (VaR) in dollars of each 'symbol' and 'quantity' pair. When the \"conditional\" parameter is set to True the result represents the conditional individual position VaR (otherwise known as Expected Tail Loss or ETL).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Double value specifying the degree of confidence (default = 0.95)</p>\n","type":"text/plain"},"key":"confidence","value":"0.95"},{"description":{"content":"<p>Optional Integer value representing VaR model (1=volatility-based, 2=historical simulation 3=parametric, 4=historical simulation percent returns, 5=historical simulation lognormal returns, 6=historical simulation losses included as negatives, 7=historical simulation percent returns losses included as negatives, 8=historical simulation lognormal returns losses included as negatives, 9=full historical simulation, 10=full historical simulation percent returns, 11=full historical simulation lognormal returns, 12=decayed historical simulation, 13=decayed historical simulation percent returns, 14=decayed historical simulation lognormal returns, 15=monte carlo, 18=hybrid historical). (Default = 1)</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Optional Integer specifying volatility model used by parametric VaR method (1=normal,2=EWMA,3=GARCH,5=Percent,6=Dollar,7=Dollar EWMA)</p>\n","type":"text/plain"},"key":"voltype","value":"1"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean parameter which, if equal to True, causes the method to return Conditional VaR (otherwise known as Expected Tail Loss)</p>\n","type":"text/plain"},"key":"conditional","value":"false"},{"description":{"content":"<p>Optional Integer parameter specifying the number of simulations to be used when VaR Method = 15 (default = 1,000, max of 10,000)</p>\n","type":"text/plain"},"key":"simulations ","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"cae47ce6-3bd8-4ef6-a371-2bbd07ff0821"},{"name":"differentialrisk","id":"1f617b92-e96e-4693-b0b3-b4ebd0f611d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&confidence=0.95&method=1&voltype=1&decay=-1&simulations=1000","description":"<h6 id=\"returns\">Returns</h6>\n<p>A numerical array containing the differential Value at Risk (VaR) in dollars (with respect to the entire portfolio) of each 'symbol' and 'quantity' pair. Each individual result in the array represents the amount that total portfolio VaR increased or decreased by due to the inclusion of that position in the portfolio.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Double value specifying the degree of confidence (default = 0.95)</p>\n","type":"text/plain"},"key":"confidence","value":"0.95"},{"description":{"content":"<p>Optional Integer value representing VaR model (1=volatility-based, 2=historical simulation 3=parametric, 4=historical simulation percent returns, 5=historical simulation lognormal returns, 6=historical simulation losses included as negatives, 7=historical simulation percent returns losses included as negatives, 8=historical simulation lognormal returns losses included as negatives, 9=full historical simulation, 10=full historical simulation percent returns, 11=full historical simulation lognormal returns, 12=decayed historical simulation, 13=decayed historical simulation percent returns, 14=decayed historical simulation lognormal returns, 15=monte carlo, 18=hybrid historical). (Default = 1)</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Optional Integer specifying volatility model used by parametric VaR method (1=normal,2=EWMA,3=GARCH,5=Percent,6=Dollar,7=Dollar EWMA)</p>\n","type":"text/plain"},"key":"voltype","value":"1"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean parameter which, if equal to True, causes the method to return Conditional VaR (otherwise known as Expected Tail Loss)</p>\n","type":"text/plain"},"key":"simulations","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"1f617b92-e96e-4693-b0b3-b4ebd0f611d4"},{"name":"componentrisk","id":"b4482554-cf84-436e-a1f3-26b1d6d3f95c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ],\r\n    \"Method\": 3,\r\n    \"VolType\": 2,\r\n    \"Decay\": 0.91\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&confidence=0.95&method=1&voltype=1&decay=-1&simulations=1000","description":"<h6 id=\"returns\">Returns</h6>\n<p>A double array containing the component VaR in dollars of each position (in relation to the entire portfolio) of each 'symbol' and 'quantity' pair. The component VaR represents the proportional amount of total portfolio VaR each position is responsible for. The sum of this resultant array is equivalent to total portfolio VaR</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Double value specifying the degree of confidence (default = 0.95)</p>\n","type":"text/plain"},"key":"confidence","value":"0.95"},{"description":{"content":"<p>Optional Integer value representing VaR model (1=volatility-based, 2=historical simulation 3=parametric, 4=historical simulation percent returns, 5=historical simulation lognormal returns, 6=historical simulation losses included as negatives, 7=historical simulation percent returns losses included as negatives, 8=historical simulation lognormal returns losses included as negatives, 9=full historical simulation, 10=full historical simulation percent returns, 11=full historical simulation lognormal returns, 12=decayed historical simulation, 13=decayed historical simulation percent returns, 14=decayed historical simulation lognormal returns, 15=monte carlo, 18=hybrid historical). (Default = 1)</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Optional Integer specifying volatility model used by parametric VaR method (1=normal,2=EWMA,3=GARCH,5=Percent,6=Dollar,7=Dollar EWMA)</p>\n","type":"text/plain"},"key":"voltype","value":"1"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean parameter which, if equal to True, causes the method to return Conditional VaR (otherwise known as Expected Tail Loss)</p>\n","type":"text/plain"},"key":"simulations","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"b4482554-cf84-436e-a1f3-26b1d6d3f95c"},{"name":"marginalrisk","id":"b6fd15f1-c737-4609-957d-992e8edf870e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&confidence=0.95&method=1&voltype=1&decay=-1&simulations=1000&increment=0.01","description":"<h6 id=\"returns\">Returns</h6>\n<p>A douhble array containing the marginal VaR in dollars (with respect to the entire portfolio) of each 'symbol' and 'quantity' pair. The marginal VaR for each positon is the amount total portfolio VaR increased or decreased by due to changing the position by a small amount (defined by the \"increment\" parameter).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Double value specifying the degree of confidence (default = 0.95)</p>\n","type":"text/plain"},"key":"confidence","value":"0.95"},{"description":{"content":"<p>Optional Integer value representing VaR model (1=volatility-based, 2=historical simulation 3=parametric, 4=historical simulation percent returns, 5=historical simulation lognormal returns, 6=historical simulation losses included as negatives, 7=historical simulation percent returns losses included as negatives, 8=historical simulation lognormal returns losses included as negatives, 9=full historical simulation, 10=full historical simulation percent returns, 11=full historical simulation lognormal returns, 12=decayed historical simulation, 13=decayed historical simulation percent returns, 14=decayed historical simulation lognormal returns, 15=monte carlo, 18=hybrid historical). (Default = 1)</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Optional Integer specifying volatility model used by parametric VaR method (1=normal,2=EWMA,3=GARCH,5=Percent,6=Dollar,7=Dollar EWMA)</p>\n","type":"text/plain"},"key":"voltype","value":"1"},{"description":{"content":"<p>Optional Double specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Integer parameter specifying the number of simulations to be used when VaR Method = 15 (default = 1,000, max of 10,000)</p>\n","type":"text/plain"},"key":"simulations","value":"1000"},{"description":{"content":"<p>Optional Double specifying the minute % change made to each position (default=1%)</p>\n","type":"text/plain"},"key":"increment","value":"0.01"},{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"b6fd15f1-c737-4609-957d-992e8edf870e"},{"name":"distribution","id":"17e2ae96-fada-488e-a408-b12d06990128","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]    \r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&returntype=1&bins=25&mins=0&max=0&automax=true","description":"<h6 id=\"returns\">Returns</h6>\n<p>A a 2-d array representing the return histogram for a portfolio’s returns. Dimension 0 is the category bin size, while dimension 1 is the frequency or “hit rate” for each return size bin across the data, as defined by the symbol, quantity, startdate, and enddate parameters.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Integer representing the type of returns the distribution is based on (1 = P&amp;L, 2 = percent, 3 = lognormal, 4 = P&amp;L-based Monte Carlo)</p>\n","type":"text/plain"},"key":"returntype","value":"1"},{"description":{"content":"<p>Integer Number of return size category bins used to construct the distribution histogram (if set to 0, will use system default of 25)</p>\n","type":"text/plain"},"key":"bins","value":"25"},{"description":{"content":"<p>Double value denoting the size of the minimum category bin</p>\n","type":"text/plain"},"key":"mins","value":"0"},{"description":{"content":"<p>Double value denoting the size of the maximum category bin</p>\n","type":"text/plain"},"key":"max","value":"0"},{"description":{"content":"<p>Optional Boolean parameter which, if equal to True, causes the method to return Conditional VaR (otherwise known as Expected Tail Loss)</p>\n","type":"text/plain"},"key":"automax","value":"true"}],"variable":[]}},"response":[],"_postman_id":"17e2ae96-fada-488e-a408-b12d06990128"},{"name":"standarddev","id":"73c5ac68-4a7b-45d0-bb8a-68cdaa11efbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&total=true&method=1&shortvalue=false","description":"<h6 id=\"returns\">Returns</h6>\n<p>A double array containing the standard deviation of the historical P&amp;L-based returns of a group of instruments. The portfolio is defined by a 'symbol' group and a 'quantity' group. If Total = true, the function returns an array with a single element value representing the standard deviation of the entire group. If Total = false, the function returns a numerical array of values, each representing the standard deviation of each inputted instrument.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean which determines if calculation is for total portfolio or indiviual positions</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Optional Integer that determines the type of return calculation used (1=daily dollar P&amp;L, 2=percent returns)</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"}],"variable":[]}},"response":[],"_postman_id":"73c5ac68-4a7b-45d0-bb8a-68cdaa11efbd"},{"name":"volatility","id":"eb03448e-aedb-4435-bb43-25ae4e3cc37a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n    \"Vols\": [\r\n        0.30,\r\n        0.20,\r\n        0.10\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&total=true&voltype=1&shortvalue=false&decay=-1&correlationfactor=1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A douoble array reresenting the volatility of the historical returns of a group of instruments. If total = true, the function returns an array with a single element representing the volatility of the entire group. If total = False, the function returns a numerical array of values, each representing the volatility of each individual portfolio component.</p>\n<p>An optional \"Vols\" array can be submitted via the body of the request. If populated, and Total = true, system will override calculation of internal component volatilities with this parameter. Total volatility result will be a product of this parameter and internally-calculated correlation matrix.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean which determines if calculation is for total portfolio or indiviual positions</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Optional Integer that determines the type of volatility to calculate: 1=Annualized Standard Deviation, 2= Exponential Moving Average, 3=GARCH Model</p>\n","type":"text/plain"},"key":"voltype","value":"1"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional Double decay factor to be used if VolType = 2. If omitted, Lambda will be calculated from the data using the maximum likelihood method. If specified, then it must be greater than zero and less than 1</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Double value used to modify the correlation matrix utilized to calculate total portfolio volatility (i.e. Total = true). This parameter is multiplied by each non-diagonal element in the internal correlation matrix. The results of this multiplication are bounded between -1 and 1.</p>\n","type":"text/plain"},"key":"correlationfactor","value":"1"}],"variable":[]}},"response":[],"_postman_id":"eb03448e-aedb-4435-bb43-25ae4e3cc37a"},{"name":"expectedreturn","id":"ed43d5be-28c3-4647-b883-67ad018e87f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&total=true&method=1&annualized=true&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A double arry representing the expected return of a given portfolio over a specified history. If Total = true, the function returns an array with a single element representing the expected return of the entire group. If total = false, the function returns a numerical array of values, each representing the expected return of each inputted instrument.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean which determines if calculation is for total portfolio or indiviual positions</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Optional integer specifying the method of return calculation (1=dollar,2=percent,3=lognormal,4=simple)</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Optional boolean specifying if the calculation is annualized or not (default = true)</p>\n","type":"text/plain"},"key":"annualized","value":"true"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional Double decay factor to be used if VolType = 2. If omitted, Lambda will be calculated from the data using the maximum likelihood method. If specified, then it must be greater than zero and less than 1</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"ed43d5be-28c3-4647-b883-67ad018e87f8"},{"name":"correlation","id":"17e13818-45ec-4fcc-b0d1-92136f367c31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&piecewise=false&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single double value representing the correlation coefficient of the historical returns of two portfolios of instruments. Each portfolio is defined by a 'symbol' group and a 'quantity' group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"17e13818-45ec-4fcc-b0d1-92136f367c31"},{"name":"alpha","id":"f26968fe-4cbc-4e68-aa09-4e4fd94104ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity1\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate&enddate&piecewise&shortvalue&decay","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single double value representing the alpha coefficient of the historical returns of two portfolios of instruments. Each portfolio is defined by a 'symbol' group and a 'quantity' group. Symbol1 and Quantity1 represent the benchmark.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":null},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":null},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":null},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":null}],"variable":[]}},"response":[],"_postman_id":"f26968fe-4cbc-4e68-aa09-4e4fd94104ab"},{"name":"beta","id":"62cdeeef-1ae6-440f-8493-4fecf58b7a1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity1\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&piecewise=true&shortvalue=false&decay=-1&filtered=false&level=0&above=false","description":"<h4 id=\"returns\">Returns</h4>\n<p>The beta of the historical returns of two portfolios of instruments. Each portfolio is defined by a 'symbol' group and a 'quantity' group. Symbol1 and Quantity1 represent the benchmark.</p>\n<p>Index Portfolio</p>\n<p>+0.004  <strong>-0.006</strong></p>\n<p>+0.010  +0.007</p>\n<p>+0.018  +0.007</p>\n<p>+0.004  +0.007</p>\n<p>+0.002  <strong>-0.010</strong></p>\n<p>+0.001  <strong>-0.003</strong></p>\n<p>-0.005  +0.028</p>\n<p>If the level parameter is set to 0 and the above parameter is set to False, only the returns highlighted in bold will be used in the resulting beta calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"true"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean flag which determines if returns of the target and the benchmark are filtered. Default = False.</p>\n","type":"text/plain"},"key":"filtered","value":"false"},{"description":{"content":"<p>Optional Double parameter which determines the filtering level. If level = 0 then only target returns above or below 0 will be used. Corresponding return observations from the benchmark are taken as a result.</p>\n","type":"text/plain"},"key":"level","value":"0"},{"description":{"content":"<p>Optional Boolean flag which determines if returns above or below the level parameter are used. Default = False = returns below the level are taken.</p>\n","type":"text/plain"},"key":"above","value":"false"}],"variable":[]}},"response":[],"_postman_id":"62cdeeef-1ae6-440f-8493-4fecf58b7a1c"},{"name":"covariance","id":"166a2f01-027f-41b8-9afb-ee719d39df8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity1\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=&enddate=&piecewise=&shortvalue=&decay=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single double value representing the covariance measurement of the historical returns of two portfolios of instruments. Each portfolio is defined by a 'symbol' group and a 'quantity' group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":""},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":""},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":""}],"variable":[]}},"response":[],"_postman_id":"166a2f01-027f-41b8-9afb-ee719d39df8c"},{"name":"rsquared","id":"b0d174b3-900f-48a2-bb93-3bf882fa16f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity1\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=&enddate=&piecewise=&shortvalue=&decay=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single double value representing the rsquared value of the historical returns of two portfolios of instruments. Each portfolio is defined by a 'symbol' group and a 'quantity' group. The 'symbol1' &amp; 'quantity1' group represent the benchmark asset group in the calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":""},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":""},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":""}],"variable":[]}},"response":[],"_postman_id":"b0d174b3-900f-48a2-bb93-3bf882fa16f9"},{"name":"trackingerror","id":"aa8d2278-29ce-49f3-a689-bd80afb8dcd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity1\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=&enddate=&method&piecewise=&shortvalue=&decay=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single double value representing the tracking error of the historical returns of a portfolio of instruments and those of a benchmark. Each portfolio is defined by a 'symbol' group and a 'quantity' group. Symbol1 and Quantity1 represent the benchmark.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":""},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Integer parameter which determines if result is SSE (sum of the squared error), RMSE (root mean squared error), or RMSD (root mean squared deviation). (1 = SSE, 2=RMSE, 3 = RMSD)</p>\n","type":"text/plain"},"key":"method","value":null},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":""},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":""}],"variable":[]}},"response":[],"_postman_id":"aa8d2278-29ce-49f3-a689-bd80afb8dcd9"},{"name":"multipleregression","id":"fc9a256a-3964-4ded-8d8d-e8d400a36ab0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\",\r\n        \"MTUM\",\r\n        \"VLUE\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1,\r\n        1,\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=&enddate=&method=&piecewise=&shortvalue=&excludefx=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A multi-dimensional array representing the results and analysis of a multiple regression performed on a portfolio defined by Symbol2 and Quantity2 Vs. the assumed dependent benchmarks (or covariates) defined by Symbol1 and Quantity1. The resulting array contains the following data:</p>\n<ul>\n<li><p>Dimension 0 - The coefficient values for the intercept, followed by each index specified in Symbol1.</p>\n</li>\n<li><p>Dimension 1 - The standard error values for the intercept, followed by each index specified in Symbol1.</p>\n</li>\n<li><p>Dimension 2 - The T-stat results for the intercept, followed by each index specified in Symbol1.</p>\n</li>\n</ul>\n<p>The final dimension (dimension 3) of the result array contains analysis results for the entire regression. They are as follows:</p>\n<ul>\n<li><p>Item 0 - N: the number of observations</p>\n</li>\n<li><p>Item 1 - P: the statistical degree of freedom</p>\n</li>\n<li><p>Item 2 - SSE: the sum of squared residuals</p>\n</li>\n<li><p>Item 3 - MSE: the mean squared error</p>\n</li>\n<li><p>Item 4 - The standard error for the regression</p>\n</li>\n<li><p>Item 5 - R-Squared for the regression</p>\n</li>\n<li><p>Item 6 - Durbin-Watson statistic for the regression</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":""},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Integer to determine type of regression (currently only valid value is 1 for Ordinary Least Squares, OLS)</p>\n","type":"text/plain"},"key":"method","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if currency exposure in each benchmark is to be ignored. Default = false.</p>\n","type":"text/plain"},"key":"excludefx","value":""}],"variable":[]}},"response":[],"_postman_id":"fc9a256a-3964-4ded-8d8d-e8d400a36ab0"},{"name":"activerisk","id":"51a1a18b-d67b-41c2-9a27-547f739ca98a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&annualized=false&shortvalue=false","description":"<h6 id=\"returns\">Returns</h6>\n<p>A multi-dimensional array representing the results and analysis of the active risk calculation performed on a portfolio defined by Symbol2 and Quantity2 Vs. the benchmark defined by Symbol1 and Quantity1. The resulting array contains the following data:</p>\n<ul>\n<li><p>Dimension 0 - Result classification: (0=Portfolio results, 1=Active risk results, 2=Market risk results)</p>\n</li>\n<li><p>Dimension 1 - Numerical Results (0=Volatility, 1=Variance, 2=% of Total Variance, 3=Compound Return)</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if results are returned as annualized (according to a 252-day year). Default = True.</p>\n","type":"text/plain"},"key":"annualized","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"}],"variable":[]}},"response":[],"_postman_id":"51a1a18b-d67b-41c2-9a27-547f739ca98a"},{"name":"marginalactiverisk","id":"f5ea87b9-7b9d-429c-8fb2-4f533fb118b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&annualized=false&shortvalue=false","description":"<h6 id=\"returns\">Returns</h6>\n<p>A multi-dimensional array representing the results and analysis of the marginal active risk calculation performed on a portfolio defined by Symbol2 and Quantity2 Vs. the benchmark defined by Symbol1 and Quantity1. Results represent the marginal changes to the total porfolio's results as a function of an increment to each position's size. The resulting array contains the following data:</p>\n<ul>\n<li><p>Dimension 0 - Result classification: (0=Portfolio results, 1=Active risk results, 2=Market risk results)</p>\n</li>\n<li><p>Dimension 1 - Numerical Results (0=Volatility, 1=Variance, 2=% of Total Variance, 3=Compound Return)</p>\n</li>\n</ul>\n<p>MarginalActiveRisk will generate 3 x N entries in dimension 0 where N = the number of positions in the portfolio defined by Symbol2 and Quantity2). Each set of three entries contains data for the total portfolio along Portfolio, Active, and Market result sets. For example, a portfolio containing 3 positions will result in 9 entries in dimension 0: 3 for each position, denoting portfolio-level Portfolio, Active, and Market results.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if results are returned as annualized (according to a 252-day year). Default = True.</p>\n","type":"text/plain"},"key":"annualized","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"}],"variable":[]}},"response":[],"_postman_id":"f5ea87b9-7b9d-429c-8fb2-4f533fb118b7"},{"name":"componentactiverisk","id":"fe070aee-0d72-4da2-b699-b243755ea7a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&method=1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single array representing the per-position, proportional amount of active risk within a portfolio as defined by Symbol2 and Quantity2 vs. a benchmark defined by Symbol1 and Quantity1. Results represent the the sub-additive, per-position dollar (or other currency) component active, portfolio, or market risk vs. the benchmark.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Integer specifying if the component active risk is derived from portfolio, active, or market volatility (1= portfolio, 2 = active, 3 = market).</p>\n","type":"text/plain"},"key":"method","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fe070aee-0d72-4da2-b699-b243755ea7a9"},{"name":"vectorcorrelation","id":"28a554a4-56cd-44c5-9ac5-6b17d2942e94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&piecewise=false&shortvalue=false&decay=-1&excludefx","description":"<h6 id=\"returns\">Returns</h6>\n<p>A numerical array representing the correlation coefficient of the historical returns of a single portfolio vs multiple instruments. The portfolio is defined by 'symbol2' group and 'quantity2' group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean that defines if currency conversion will be used in the calculation. (Default = false)</p>\n","type":"text/plain"},"key":"excludefx","value":null}],"variable":[]}},"response":[],"_postman_id":"28a554a4-56cd-44c5-9ac5-6b17d2942e94"},{"name":"vectoralpha","id":"b5bba71c-9254-4154-b77c-4d2111445eb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&piecewise=false&shortvalue=false&decay=-1&excludefx&multflag","description":"<h6 id=\"returns\">Returns</h6>\n<p>Calculates a numerical array representing the alpha coefficients of the historical returns of a single portfolio vs multiple benchmarks. The portfolio is defined by 'symbol2' group and 'quantity2' group.</p>\n<p>If multflag = true, this request calculates a numerical array representing the alpha coefficients of each portfolio component (defined by 'symbol1' group and 'quantity1' group) vs. a single benchmark (defined by 'symbol2' group and 'quantity2' group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean that defines if currency conversion will be used in the calculation. (Default = false)</p>\n","type":"text/plain"},"key":"excludefx","value":null},{"description":{"content":"<p>Optional Boolean that defines if Symbol1 and Quantity1 represent the vector of multiple bemchmarks. With multFlag = True one can generate the alpha of multiple stocks vs a single benchmark.</p>\n","type":"text/plain"},"key":"multflag","value":null}],"variable":[]}},"response":[],"_postman_id":"b5bba71c-9254-4154-b77c-4d2111445eb4"},{"name":"vectorbeta","id":"ea9437c2-20bb-4550-885d-e3fbbd280c39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&piecewise=false&shortvalue=false&decay=-1&excludefx&multflag","description":"<h4 id=\"returns\">Returns</h4>\n<p>A numerical array representing the beta coefficients of the historical returns of a single portfolio vs multiple benchmarks. The portfolio is defined by 'symbol2' group and 'quantity2' group.</p>\n<p>If multflag = true, this request calculates a numerical array representing the beta coefficients of each portfolio component (defined by 'symbol1' group and 'quantity1' group) vs. a single benchmark (defined by 'symbol2' group and 'quantity2' group.</p>\n<p>For filtered beta calculations, if \"filtered\" is set to true, return observations will be selected according to the criteria as defined by the \"level\" parameter and the \"above\" parameter, according to values observed in the target portfolio's return history. For example, if an index and a portfolio have the following returns:</p>\n<p>Index   Portfolio</p>\n<p>+0.004  <strong>-0.006</strong></p>\n<p>+0.010  +0.007</p>\n<p>+0.018  +0.007</p>\n<p>+0.004  +0.007</p>\n<p>+0.002  <strong>-0.010</strong></p>\n<p>+0.001  <strong>-0.003</strong></p>\n<p>-0.005  +0.028</p>\n<p>If the level parameter is set to 0 and the above parameter is set to False, only the returns highlighted in bold will be used in the resulting beta calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean that defines if currency conversion will be used in the calculation. (Default = false)</p>\n","type":"text/plain"},"key":"excludefx","value":null},{"description":{"content":"<p>Optional Boolean that defines if Symbol1 and Quantity1 represent the vector of multiple bemchmarks. With multFlag = True one can generate the alpha of multiple stocks vs a single benchmark.</p>\n","type":"text/plain"},"key":"multflag","value":null}],"variable":[]}},"response":[],"_postman_id":"ea9437c2-20bb-4550-885d-e3fbbd280c39"},{"name":"vectorcovariance","id":"aec399cd-5d7c-442f-821d-00653fd68386","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&piecewise=false&shortvalue=false&decay=-1&excludefx=","description":"<p>Calculates a numerical array representing the covariance values of the historical returns of a portfolio vs multiple benchmarks. The portfolio is defined by a 'symbol2' group and a 'quantity2' group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean that defines if currency conversion will be used in the calculation. (Default = false)</p>\n","type":"text/plain"},"key":"excludefx","value":""}],"variable":[]}},"response":[],"_postman_id":"aec399cd-5d7c-442f-821d-00653fd68386"},{"name":"vectorrsquared","id":"26404220-1064-44d3-aa86-656ff4ee099a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&piecewise=false&shortvalue=false&decay=-1&excludefx=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A numerical array representing the rsquared values of the historical returns of a portfolio vs multiple benchmarks. The portfolio is defined by a 'symbol2' group and a 'quantity2' group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean that defines if currency conversion will be used in the calculation. (Default = false)</p>\n","type":"text/plain"},"key":"excludefx","value":""}],"variable":[]}},"response":[],"_postman_id":"26404220-1064-44d3-aa86-656ff4ee099a"},{"name":"vectortrackingerror","id":"56aea5bf-93cb-4333-aeb0-2d506b23ba68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&piecewise=false&shortvalue=false&decay=-1&excludefx=&method=1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A numerical array representing the tracking error of the historical returns of a single portfolio vs multiple benchmarks. The portfolio is defined by 'symbol2' group and 'quantity2' group.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"},{"description":{"content":"<p>Optional Boolean that defines if currency conversion will be used in the calculation. (Default = false)</p>\n","type":"text/plain"},"key":"excludefx","value":""},{"description":{"content":"<p>integer parameter which determines if result is SSE (sum of the squared error), RMSE (root mean squared error), or RMSD (root mean squared deviation). (1 = SSE, 2=RMSE, 3 = RMSD)</p>\n","type":"text/plain"},"key":"method","value":"1"}],"variable":[]}},"response":[],"_postman_id":"56aea5bf-93cb-4333-aeb0-2d506b23ba68"},{"name":"vectormultipleregression","id":"f028a2bd-a7d1-432e-8a5f-209f569f53be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\",\r\n        \"MTUM\",\r\n        \"VLUE\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1,\r\n        1,\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=&enddate=&method=&piecewise=&shortvalue=&excludefx=","description":"<p>Returns</p>\n<p>A multi-dimensional array representing the results and analysis of a multiple regression performed on a portfolio defined by Symbol2 and Quantity2 Vs. the assumed dependent benchmarks (or covariates) defined by Symbol1 and Quantity1. The resulting array contains the following data:</p>\n<p>Dimension 0 - The coefficient values for the intercept, followed by each index specified in Symbol1.</p>\n<p>Dimension 1 - The standard error values for the intercept, followed by each index specified in Symbol1.</p>\n<p>Dimension 2 - The T-stat results for the intercept, followed by each index specified in Symbol1.</p>\n<p>The final dimension (dimension 3) of the result array contains analysis results for the entire regression. They are as follows:</p>\n<p>Item 0 - N: the number of observations</p>\n<p>Item 1 - P: the statistical degree of freedom</p>\n<p>Item 2 - SSE: the sum of squared residuals</p>\n<p>Item 3 - MSE: the mean squared error</p>\n<p>Item 4 - The standard error for the regression</p>\n<p>Item 5 - R-Squared for the regression</p>\n<p>Item 6 - Durbin-Watson statistic for the regression</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":""},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Integer to determine type of regression (currently only valid value is 1 for Ordinary Least Squares, OLS)</p>\n","type":"text/plain"},"key":"method","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if currency exposure in each benchmark is to be ignored. Default = false.</p>\n","type":"text/plain"},"key":"excludefx","value":""}],"variable":[]}},"response":[],"_postman_id":"f028a2bd-a7d1-432e-8a5f-209f569f53be"},{"name":"vectoractiverisk","id":"c8823833-1ffa-44ee-8678-9ffccca72b64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&annualized=false&shortvalue=false","description":"<p>Returns</p>\n<p>A multi-dimensional array representing the results and analysis of the active risk calculation performed on individual positions defined by Symbol2 and Quantity2 Vs. the benchmark defined by Symbol1 and Quantity1. Results represent each position's results vs. the benchmark. The resulting array contains the following data:</p>\n<p>Dimension 0 - Result classification: (0=Portfolio results, 1=Active risk results, 2=Market risk results)</p>\n<p>Dimension 1 - Numerical Results (0=Volatility, 1=Variance, 2=% of Total Variance, 3=Compound Return)</p>\n<p>VectorActiveRisk will generate 3 x N entries in dimension 0 where N = the number of positions defined by Symbol2 and Quantity2). Each set of three entries contains data for the individual portfolio position: Portfolio, Active, and Market result sets. For example, a portfolio containing 3 positions will result in 9 entries in dimension 0: 3 for each position, denoting results for Portfolio, Active, and Market.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if results are returned as annualized (according to a 252-day year). Default = True.</p>\n","type":"text/plain"},"key":"annualized","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"}],"variable":[]}},"response":[],"_postman_id":"c8823833-1ffa-44ee-8678-9ffccca72b64"},{"name":"returnsanalysis","id":"e6f9011c-0c61-435b-8d2d-711598705211","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&total=true&method=1&returntype=&annualized=true","description":"<p>Returns</p>\n<p>An array with a single element if total = true, representing the total portfolio calculation result as defined by the \"method\" parameter. A numerical array if total = false representing the returns analysis results for each portfolio position.</p>\n<p>Method = 1, maximum return</p>\n<p>Method = 2, minimum return</p>\n<p>Method = 3, number of positive returns</p>\n<p>Method = 4, number of negative returns</p>\n<p>Method = 5, date of maximum return</p>\n<p>Method = 6, date of minimum return</p>\n<p>Method = 7, max drawdown</p>\n<p>Method = 8, max drawdown high</p>\n<p>Method = 9, max drawdown date</p>\n<p>Method = 10, max drawdown end date</p>\n<p>Method = 11, max drawdown high date</p>\n<p>Method = 12, number of returns</p>\n<p>Method = 13, number of raw price observations</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean which determines if calculation is for total portfolio or indiviual positions</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Optional integer specifying the analysis being performed (1=maximum return,2=minimum return,3=number of positive returns,4=number of negative returns, 5=date of maximum return, 6=date of minimum return, 7=max drawdown, 8=max drawdown high, 9=max drawdown date, 10=max drawdown end date, 11=max drawdown high date, 12=number of returns, 13</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Optional Double decay factor to be used if VolType = 2. If omitted, Lambda will be calculated from the data using the maximum likelihood method. If specified, then it must be greater than zero and less than 1</p>\n","type":"text/plain"},"key":"returntype","value":""},{"description":{"content":"<p>Optional integer specifying the type of returns calculated (1=dollar,2=percent,3=lognormal).</p>\n","type":"text/plain"},"key":"annualized","value":"true"}],"variable":[]}},"response":[],"_postman_id":"e6f9011c-0c61-435b-8d2d-711598705211"},{"name":"historicalrisk","id":"3b3fad93-2788-4c73-a1c5-802cff91c6a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&winsize=30&confidence=0.95&method=3&voltype=2&decay=0.91","description":"<h6 id=\"returns\">Returns</h6>\n<p>A 2-d String array containing a time series (dates and values) of the portfolio's rolling VaR, using 'winsize' days for each calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":"30"},{"description":{"content":"<p>Optional Double value specifying the degree of confidence (default = 0.95)</p>\n","type":"text/plain"},"key":"confidence","value":"0.95"},{"description":{"content":"<p>Optional Integer value representing VaR model (1=volatility-based, 2=historical simulation 3=parametric, 4=historical simulation percent returns, 5=historical simulation lognormal returns, 6=historical simulation losses included as negatives, 7=historical simulation percent returns losses included as negatives, 8=historical simulation lognormal returns losses included as negatives, 9=full historical simulation, 10=full historical simulation percent returns, 11=full historical simulation lognormal returns, 12=decayed historical simulation, 13=decayed historical simulation percent returns, 14=decayed historical simulation lognormal returns, 15=monte carlo). (Default = 1)</p>\n","type":"text/plain"},"key":"method","value":"3"},{"description":{"content":"<p>Optional Integer specifying volatility model used by parametric VaR method (1=normal,2=EWMA,3=GARCH,5=Percent,6=Dollar,7=Dollar EWMA)</p>\n","type":"text/plain"},"key":"voltype","value":"2"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"0.91"}],"variable":[]}},"response":[],"_postman_id":"3b3fad93-2788-4c73-a1c5-802cff91c6a1"},{"name":"historicalvol","id":"40f2b84d-55bc-4119-ac0d-95334717740c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500.0,\r\n        3521.0,\r\n        -2500.0\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&winsize=30&total=true&voltype=1&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A 2-d String array containing a time series (dates and values) of the portfolio's rolling volatility over time, using 'winsize' days for each calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":"30"},{"description":{"content":"<p>Optional boolean which determines if calculation is for total portfolio or indiviual positions</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Optional Integer that determines the type of volatility to calculate: 1=Annualized Standard Deviation, 2= Exponential Moving Average, 3=GARCH Model</p>\n","type":"text/plain"},"key":"voltype","value":"1"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional Double decay factor to be used if VolType = 2. If omitted, Lambda will be calculated from the data using the maximum likelihood method. If specified, then it must be greater than zero and less than 1</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"40f2b84d-55bc-4119-ac0d-95334717740c"},{"name":"historicalcorrelation","id":"bf9cd26e-7184-4760-9be9-fd8873cbfe70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&winsize=30&piecewise=false&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A 2-d String array containing a time series (dates and values) of the rolling correlation coefficient of the portfolio vs. a benchmark over time using 'winsize' days for each calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":"30"},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"bf9cd26e-7184-4760-9be9-fd8873cbfe70"},{"name":"historicalalpha","id":"0c350a50-e65d-47dd-a434-a3699426a400","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&winsize=30&piecewise=false&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A 2-d string array containing a time series (dates and values) of the rolling alpha result of the portfolio vs. a benchmark over time using 'winsize' days for each calculation. Symbol1 and Quantity1 represent the benchmark.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":"30"},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"0c350a50-e65d-47dd-a434-a3699426a400"},{"name":"historicalbeta","id":"f0349e94-1f35-4175-ba9a-e8fc1dc6791d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&winsize=30&piecewise=false&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A 2-d string array containing a time series (dates and values) of the rolling beta result of the portfolio vs. a benchmark over time using 'winsize' days for each calculation. Symbol1 and Quantity1 represent the benchmark.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":"30"},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"f0349e94-1f35-4175-ba9a-e8fc1dc6791d"},{"name":"historicalcovariance","id":"855e08d2-7820-49f9-ac37-f213798b1ee3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&winsize=30&piecewise=false&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A 2-d String array containing a time series (dates and values) of the covariance result of the portfolio vs. a benchmark extrapolated over time using 'winsize' days for each calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":"30"},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"855e08d2-7820-49f9-ac37-f213798b1ee3"},{"name":"historicalrsquared","id":"9579c4ff-15aa-4ecb-898c-17f94ad86918","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate&winsize=30&piecewise=false&shortvalue=false&decay=-1","description":"<h6 id=\"returns\">Returns</h6>\n<p>A 2-d String containing a time series (dates and values) of the RSquared result of the portfolio vs. a benchmark extrapolated over time using 'winsize' days for each calculation.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":null},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":"30"},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":"false"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"},{"description":{"content":"<p>Optional real specifying the decay factor when EWMA, or Dollar EWMA vol model is used with the Parametric method or with any of the Decayed Historical methods.</p>\n","type":"text/plain"},"key":"decay","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"9579c4ff-15aa-4ecb-898c-17f94ad86918"},{"name":"historicalvalue","id":"333b6dda-1a6d-4bc9-9015-dee9b7863477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&shortvalue=false","description":"<p>Returns </p>\n<p>A 2-d String containing a time series (dates and values) representing the total portfolio value.</p>\n<p>Please note that due to data licensing restrictions, this method will only generate valid results if the Symbol parameter contains at least two distinct and valid symbols.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":"false"}],"variable":[]}},"response":[],"_postman_id":"333b6dda-1a6d-4bc9-9015-dee9b7863477"},{"name":"historicalmultipleregression","id":"0dac298c-c6ea-40e5-afe4-b68969b16e5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\",\r\n        \"MTUM\",\r\n        \"VLUE\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1,\r\n        1,\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=&enddate=&winsize&method=&piecewise=&shortvalue=&excludefx=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A multi-dimensional string array representing the rolling multiple regression coefficients for a portfolio defined by Symbol2 and Quantity2 vs. the assumed dependent benchmarks (or covariates) as defined by Symbol1 and Quantity1. The resulting array contains the following data:</p>\n<p>Dimension 0: The date series over which the rolling calculation was evaluated.</p>\n<p>Dimension 1 - Dimension N + 1: The coefficient values for a given date for the intercept-through covariate (or factor) N as defined by Symbol1, which contains N elements.</p>\n<p>An analysis run using 3 factors will result in an array with 5 dimensions:</p>\n<p>Dimension 0: The date series over which the rolling calculation was evaluated.</p>\n<p>Dimension 1: The associated rolling values for the intercept.</p>\n<p>Dimension 2: The associated rolling coefficient values for factor 1.</p>\n<p>Dimension 3: The associated rolling coefficient values for factor 2.</p>\n<p>Dimension 4: The associated rolling coefficient values for factor 3.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":""},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional integer specifying the lookback period in days of each rolling calculation point.</p>\n","type":"text/plain"},"key":"winsize","value":null},{"description":{"content":"<p>Integer to determine type of regression (currently only valid value is 1 for Ordinary Least Squares, OLS)</p>\n","type":"text/plain"},"key":"method","value":""},{"description":{"content":"<p>Optional Boolean parameter that determines if returns are to be calculated as a linear combination of delta-adjusted returns. (Default = false)</p>\n","type":"text/plain"},"key":"piecewise","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":""},{"description":{"content":"<p>Optional Boolean flag which determines if currency exposure in each benchmark is to be ignored. Default = false.</p>\n","type":"text/plain"},"key":"excludefx","value":""}],"variable":[]}},"response":[],"_postman_id":"0dac298c-c6ea-40e5-afe4-b68969b16e5c"},{"name":"correlationmatrix","id":"a8d6aa09-fa80-423d-8878-3071f7d13aa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A matrix (2d array of Doubles) containing the correlation coefficients of the historical returns of all inputted instruments. Coordinates (0,0) represent the top left corner of the matrix.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""}],"variable":[]}},"response":[],"_postman_id":"a8d6aa09-fa80-423d-8878-3071f7d13aa1"},{"name":"covarmatrix","id":"7c1fd713-5b82-4326-b65b-8e2806da5f99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=","description":"<h6 id=\"returns\">Returns</h6>\n<p>A matrix (2d array of Doubles) containing the covariance measurements of the historical returns of all inputted instruments. Coordinates (0,0) represent the top left corner of the matrix.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""}],"variable":[]}},"response":[],"_postman_id":"7c1fd713-5b82-4326-b65b-8e2806da5f99"},{"name":"value","id":"909ae50a-4d0f-4ca3-bbc8-e36c4e3b86d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&total=true&absval","description":"<h6 id=\"returns\">Returns</h6>\n<p>A matrix (2d array of Doubles) containing the covariance measurements of the historical returns of all inputted instruments. Coordinates (0,0) represent the top left corner of the matrix.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Optional boolean specifying if absolute values are calculated (default = false)</p>\n","type":"text/plain"},"key":"absval","value":null}],"variable":[]}},"response":[],"_postman_id":"909ae50a-4d0f-4ca3-bbc8-e36c4e3b86d1"},{"name":"profit","id":"9812d0b4-709a-44b8-ba38-697b5cc44c97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&total=true","description":"<h6 id=\"returns\">Returns</h6>\n<p>The profit, in dollars, of a group of instruments. If Total = true, the function returns an array with a single element, representing the total profit of the group. If total = false, the function returns a numerical array, with each value representing the profit of each 'symbol' &amp; 'quantity' pair. Calculation is based on previous day's closing prices.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"}],"variable":[]}},"response":[],"_postman_id":"9812d0b4-709a-44b8-ba38-697b5cc44c97"},{"name":"portfolioallocation","id":"116901ed-350b-449c-887d-b0599798ff3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate=12/31/2020&enddate=&total=true&shortvalue","description":"<h6 id=\"returns\">Returns</h6>\n<p>An array of Doubles containing the percentage of total portfolio market value as defined by the Symbol and Quantity Body parameters. The query parameter \"shortvalue\" defines whether the total market value is gross or net (default = gross).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":"12/31/2020"},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Optional Boolean flag which determines if returns are calculated according to gross market value (shortvalue = False, short positions treated as positive value) or net market value (shortvalue = True, short positions treated as negative value). Default = False.</p>\n","type":"text/plain"},"key":"shortvalue","value":null}],"variable":[]}},"response":[],"_postman_id":"116901ed-350b-449c-887d-b0599798ff3f"},{"name":"getlastprice","id":"cfe9ac39-3960-451a-9c19-c9b2fcb20441","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol1\": [\r\n        \"SPX\"\r\n    ],\r\n    \"Quantity1\": [\r\n        1\r\n    ],\r\n    \"Symbol2\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity2\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?enddate=\"12/31/2020\"","description":"<h6 id=\"returns\">Returns</h6>\n<p>A numerical array representing the last closing prices of each Symbol. The 'Enddate' parameter determines the date from which the prices are retrieved.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":"\"12/31/2020\""}],"variable":[]}},"response":[],"_postman_id":"cfe9ac39-3960-451a-9c19-c9b2fcb20441"},{"name":"sensitivity","id":"282cce03-acda-411e-9632-9a03d2328cc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"KHC   210319C00032500.X\",\r\n        \"USO   210319C00026000.X\",\r\n        \"USO   210319P00041000.X\",\r\n        \"SPY   210319C00325000.X\",\r\n        \"GLD   210319C00177000.X\"\r\n    ],\r\n    \"Quantity\": [\r\n        1,\r\n        1,\r\n        1,\r\n        1,\r\n        1\r\n    ]\r\n\r\n    \"Spot\": [\r\n        38.47,\r\n        44.6,\r\n        44.6,\r\n        393.53,\r\n        161.52\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?enddate=&total=true&greek=d&T","description":"<h4 id=\"returns\">Returns</h4>\n<p>An array with a single element if total = true, representing the quantity-weighted average of the chosen coefficient for the entire portfolio. A numerical array if total = false representing the option sensitivity coefficient of each option symbol.</p>\n<p>To generate implied volatilities, the Greek parameter should be set to \"i\" and input market prices for options should be passed in via the \"Prices\" parameter.</p>\n<h4 id=\"optional-parameters-in-body\">Optional Parameters in Body:</h4>\n<p>Vols - Optional user-defined volatility series </p>\n<p>Prices - Optional user-defined input price series  </p>\n<p>Spot - Optional user-defined underlying spot price series</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Determines which sensitivity parameter to calculate (p=price,d=delta,g=gamma,v=vega,t=theta,r=rho,i=implied vol)</p>\n","type":"text/plain"},"key":"greek","value":"d"},{"description":{"content":"<p>Optional user-defined series representing the per-symbol time to expiry in years (will override time to expiry as defined by the end date and the symbol-defined expiration date).</p>\n","type":"text/plain"},"key":"T","value":null}],"variable":[]}},"response":[],"_postman_id":"282cce03-acda-411e-9632-9a03d2328cc7"},{"name":"stressimpact","id":"5a842e56-d521-4b30-9a70-386ca58acfd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPY\",\r\n        \"QQQ\",\r\n        \"C\"\r\n    ],\r\n    \"Quantity\": [\r\n        10500,\r\n        3521,\r\n        -2500\r\n    ],\r\n    \"Stresses\": [\r\n        -0.05,\r\n        -0.10,\r\n        0.02\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate&enddate=&total=true&method=1&spotstress=-0.05&volstress=0&indexstress=0&fxstress=0&timestress=0&decay=0&detail=false&adjustspot=false","description":"<h4 id=\"returns\">Returns</h4>\n<p>A 2 dimensional numerical array if total = false representing:</p>\n<ul>\n<li>In dimension 0: the P&amp;L stress test impact of each portfolio position.</li>\n<li>In dimension 1: the simulated position prices as a result of the stress test.</li>\n</ul>\n<p>A 2 dimensional numerical array if total = false and details = true representing:</p>\n<ul>\n<li>In dimension 0: the P&amp;L stress test impact of each portfolio position.</li>\n<li>In dimension 1: the simulated position prices as a result of the stress test.</li>\n<li>In dimension 2: total beta/instrument delta.</li>\n<li>In dimension 3: position beta/instrument gamma.</li>\n<li>In dimension 4: position correlation/instrument vega.</li>\n<li>In dimension 5: position r-squared/instrument theta.</li>\n<li>In dimension 6: position return observation count/instrument rho.</li>\n</ul>\n<p><em>Note: the results returned above depend on the value of the method parameter. For all index-based methods, the first item in each pair above is returned. For all others, the second item is returned.</em></p>\n<p>Index Symbols and quantities used in method = 5, 7, or 8 should be provided via the Symbol2/Quantity2 body parameters.</p>\n<p>A 2 dimensional numerical array if total = true representing:</p>\n<ul>\n<li>In dimension 0: the aggregate P&amp;L stress test impact of the total portfolio.</li>\n<li>In dimension 1: 0.</li>\n</ul>\n<h4 id=\"optional-parameters-in-body\">Optional Parameters in Body:</h4>\n<p>Vols - Optional user-defined volatility series</p>\n<p>Prices - Optional user-defined input price series</p>\n<p>Spot - Optional user-defined underlying spot price series</p>\n<p>Stresses - Optional individual shocks to underlying assets. Follows same rules as global \"SpotStress\" parameter, however, allows unique shock values for each portfolio position. Stresses must be of the same length as Symbol, with each value representing the size of the shock to each underlying asset in the portfolio, otherwise an exception with message \"LENGTH ERROR\" will be thrown/stored. If Stresses is set to \"\", it will be ignored and the value of the SpotStress parameter will be applied globally.</p>\n<p>IndexStresses - Optional individual shocks to multiple index/factor symbols used for method = 8 (index mr). IndexStresses must be of the same length as Symbol2, with each value representing the size of the shock to each external factor or index submitted via the Symbol2 body parameter, otherwise an exception with message \"LENGTH ERROR\" will be thrown/stored.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":null},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Determines the stress test type (1=spot, 2=stdev, 3=volatility, 4=both, 5=index, 6=both stdev, 7= index stdev, 8 = index mr, 9 = time stress, 10 = fx stress, 11=proportional volatility, 12=both with proportional volatility, 13=both stdev with proportional volatility)</p>\n","type":"text/plain"},"key":"method","value":"1"},{"description":{"content":"<p>Parameter used to specify the size of the shock to underlier prices (0.01 = 1% or 1 = 1SD)</p>\n","type":"text/plain"},"key":"spotstress","value":"-0.05"},{"description":{"content":"<p>Parameter used to specify the size of the shock to implied volatility (0.01 = 1% added to implied volatility)</p>\n","type":"text/plain"},"key":"volstress","value":"0"},{"description":{"content":"<p>Parameter used to specify the size of the shock to the provided index (-0.01 = -1% index move)</p>\n","type":"text/plain"},"key":"indexstress","value":"0"},{"description":{"content":"<p>Parameter used to specify the size of the shock to the relevant currency rate as specific to each portfolio component (-0.01 = -1% change in the relevant currency rate)</p>\n","type":"text/plain"},"key":"fxstress","value":"0"},{"description":{"content":"<p>Parameter used to specify the size of the shock to the number of days to expiration (1 = 1 day closer to expiration or 1.5 = 36 hours closer to expiration). Note: This parameter can be applied in all modes, allowing for multidimensional shocks that also include a time component.</p>\n","type":"text/plain"},"key":"timestress","value":"0"},{"description":{"content":"<p>Optional double parameter which applies EWMA decay to the calculation when method = 5 or 7 (Index or Index Stdev), (default = 0, no decay applied</p>\n","type":"text/plain"},"key":"decay","value":"0"},{"description":{"content":"<p>Optional Boolean parameter that enables optional additional results to be generated in addition to stress price and stress impact. Enabled only when total = false and with methods 1-4,7,11,12,13.</p>\n","type":"text/plain"},"key":"detail","value":"false"},{"description":{"content":"<p>Optional boolean to prompt the system to correct any order of magnitude differences with optional underlying prices passed in via the \"Spot\" parameter (default = false).</p>\n","type":"text/plain"},"key":"adjustspot","value":"false"}],"variable":[]}},"response":[],"_postman_id":"5a842e56-d521-4b30-9a70-386ca58acfd1"},{"name":"ratesensitivity","id":"3672ef01-afa1-4d68-ba1b-2af5579a5cf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"912828G87.B\",\r\n        \"912828B58.B\",\r\n        \"912828WC0.B\",\r\n        \"912828VZ0.B\"\r\n    ],\r\n    \"Quantity\": [\r\n        100000.0,\r\n        2000000.0,\r\n        150000.0,\r\n        350000.0\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?enddate=03/01/2021&total=true&rateshift=0.0003","description":"<h4 id=\"returns\">Returns</h4>\n<p>An array with a single element if total = true, representing the total impact of a selected parallel shift to the yield curve. A numerical array if total = false representing the parallel yield curve shift impact of each bond position.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":"03/01/2021"},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Determines the amount to shift the yield curve in parallel by (1bp = 0.0001)</p>\n","type":"text/plain"},"key":"rateshift","value":"0.0003"}],"variable":[]}},"response":[],"_postman_id":"3672ef01-afa1-4d68-ba1b-2af5579a5cf9"},{"name":"bondvaluation","id":"5215d1cf-c9f5-442f-afe6-376d1c7e46d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"912828G87.B\",\r\n        \"912828B58.B\",\r\n        \"912828WC0.B\",\r\n        \"912828VZ0.B\"\r\n    ],\r\n    \"Quantity\": [\r\n        100000.0,\r\n        2000000.0,\r\n        150000.0,\r\n        350000.0\r\n    ],\r\n    \"Spreads\": [\r\n        0.0050,\r\n        0.009,\r\n        0.01,\r\n        0.0025\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?enddate=03/01/2021&total=true&method=1","description":"<h4 id=\"returns\">Returns</h4>\n<p>An array with a single element if total = true, representing the total portfolio calculation, if relevant, as defined by the \"method\" parameter. A numerical array if total = false representing the bond valuation results for each bond position. Note that if values are provided to the \"price\" parameter, this method will generate results based on user-defined prices for each relevant instrument.</p>\n<h4 id=\"calculations-generated\">Calculations generated:</h4>\n<ol>\n<li><p>Method = 0: Modified Duration</p>\n</li>\n<li><p>Method = 1: Convexity</p>\n</li>\n<li><p>Method = 2: Macaulay Duration</p>\n</li>\n<li><p>Method = 3: Yield To Maturity</p>\n</li>\n<li><p>Method = 4: Value Duration</p>\n</li>\n<li><p>Method = 5: YTM Credit Spread</p>\n</li>\n<li><p>Method = 6: Zero Curve Credit Spread</p>\n</li>\n<li><p>Method = 7: Price From Yield Curve</p>\n</li>\n<li><p>Method = 8: Price from cash flows mapped to yield curve</p>\n</li>\n<li><p>Method = 9: PV01 (DV01 - value of a 1bp shift in rates)</p>\n</li>\n<li><p>Method = 10: Price from user-defined Yield</p>\n</li>\n<li><p>Method = 11: Dollar Duration</p>\n</li>\n<li><p>Method = 12: Dollar Convexity</p>\n</li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":"03/01/2021"},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Integer value determining the calculation to generate</p>\n","type":"text/plain"},"key":"method","value":"1"}],"variable":[]}},"response":[],"_postman_id":"5215d1cf-c9f5-442f-afe6-376d1c7e46d3"},{"name":"irsvaluation","id":"1e11bebe-4a33-46b3-a3e8-b7a1abc7e32b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"USD;0.0050;NONE;0.0;0;2;USD;0;LIBOR;0.0001;4;0;6/15/2022;MF;US-UK.IRS\",\r\n        \"USD;0.0050;NONE;0.0;0;2;USD;0;LIBOR;0.0001;4;0;06/15/2026;MF;US-UK.IRS\",\r\n        \"USD;0.0050;NONE;0.0;0;2;USD;0;LIBOR;0.0001;4;0;06/15/2031;MF;US-UK.IRS\"\r\n        \r\n    ],\r\n    \"Quantity\": [\r\n        100000.0,\r\n        2000000.0,\r\n        150000.0\r\n        \r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?enddate=03/01/2021&total=true&method=1","description":"<h4 id=\"returns\">Returns</h4>\n<p>An array with a single element if total = true, representing the total portfolio calculation, if relevant, as defined by the \"method\" parameter. A numerical array if total = false representing the valuation results for each interest rate swap position.</p>\n<h4 id=\"calculations-generated\">Calculations generated:</h4>\n<ol>\n<li><p>Method = 1: NPV</p>\n</li>\n<li><p>Method = 2: Swap Rate</p>\n</li>\n<li><p>Method = 3: PV01 (Value of a -1bp shift in rates)</p>\n</li>\n</ol>\n<h4 id=\"optional-parameters-in-body\">Optional Parameters in Body:</h4>\n<p>Spreads - Optional user-defined credit spread series</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":"03/01/2021"},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"},{"description":{"content":"<p>Integer value determining the calculation to generate</p>\n","type":"text/plain"},"key":"method","value":"1"}],"variable":[]}},"response":[],"_postman_id":"1e11bebe-4a33-46b3-a3e8-b7a1abc7e32b"},{"name":"pv01","id":"a7dd0ad9-5aef-4742-856c-91b10e741a80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"USD;0.0050;NONE;0.0;0;2;USD;0;LIBOR;0.0001;4;0;6/15/2022;MF;US-UK.IRS\",\r\n        \"USD;0.0050;NONE;0.0;0;2;USD;0;LIBOR;0.0001;4;0;06/15/2026;MF;US-UK.IRS\",\r\n        \"USD;0.0050;NONE;0.0;0;2;USD;0;LIBOR;0.0001;4;0;06/15/2031;MF;US-UK.IRS\"\r\n        \r\n    ],\r\n    \"Quantity\": [\r\n        100000.0,\r\n        2000000.0,\r\n        150000.0\r\n        \r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?enddate=03/01/2021&total=true","description":"<h6 id=\"returns\">Returns</h6>\n<p>A double array representing the portfolio or individual position PV01 (i.e. DV01), the currency and quantity-adjusted value of a 1bp shift in relevant rates. An array with a single element if total = true, representing the total portfolio PV01. A numerical array if total = false representing the PV01 for each individual fixed income position. Note that if values are provided to the \"price\" parameter, this method will generate results based on user-defined prices for each relevant instrument.</p>\n<p>Optional Parameters in Body:</p>\n<p>Spreads - Optional user-defined credit spread series</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":"03/01/2021"},{"description":{"content":"<p>Optional boolean specifying if total portfolio or individual results are calculated</p>\n","type":"text/plain"},"key":"total","value":"true"}],"variable":[]}},"response":[],"_postman_id":"a7dd0ad9-5aef-4742-856c-91b10e741a80"},{"name":"customdata","id":"422463f4-615f-4a4b-9f83-e468fbad853c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Dates\": [\r\n        \"2/9/2021\",\r\n        \"2/10/2021\",\r\n        \"2/11/2021\",\r\n        \"2/12/2021\",\r\n        \"2/15/2021\",\r\n        \"2/16/2021\",\r\n        \"2/17/2021\",\r\n        \"2/18/2021\",\r\n        \"2/19/2021\",\r\n        \"2/22/2021\"\r\n    ],\r\n    \"Values\": [\r\n        3911.23,\r\n        3909.88,\r\n        3916.38,\r\n        3934.83,\r\n        3934.83,\r\n        3932.59,\r\n        3931.33,\r\n        3913.97,\r\n        3906.71,\r\n        3876.5\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?customsymbol=TEST","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single string equal to the \"customsymbol\" parameter, an empty string if any error occurs. This method provides for the importation of custom time series data as definded by the posted parameters \"Dates\" and \"Values\" and assigned to the symbol defined by the query parameter \"customsymbol\". </p>\n<p>Once imported, data is available only under the credentials used in the import. Custom data is imported using a clean symbol with no suffix, but is referenced in subsequent calculation requests using a \".CST\" suffix.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Symbol to represent the custom data</p>\n","type":"text/plain"},"key":"customsymbol","value":"TEST"}],"variable":[]}},"response":[],"_postman_id":"422463f4-615f-4a4b-9f83-e468fbad853c"},{"name":"checksymbols","id":"1a80cb6a-480f-4624-a580-b080aacf597f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPX\",\"XXX\",\"CLZ21\"\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"?enddate=","description":"<h6 id=\"returns\">Returns</h6>\n<p>An array of strings containing any invalid symbols. When enddate set to a valid date in the past, expired options, for example, would be treated as valid.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""}],"variable":[]}},"response":[],"_postman_id":"1a80cb6a-480f-4624-a580-b080aacf597f"},{"name":"getunderlyingsymbols","id":"8d6eeb30-1941-4489-bd69-0c2faaac4892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"SPX\",\"XXX\",\"CLZ21\"\r\n    ]\r\n    \r\n}","options":{"raw":{"language":"json"}}},"url":"","description":"<h6 id=\"returns\">Returns</h6>\n<p>An array of strings containing the underlying instrument for each given Symbol, if the symbol is an option. For non-option symbols, the symbol itself it returned.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"8d6eeb30-1941-4489-bd69-0c2faaac4892"},{"name":"marketdate","id":"ca73fb16-b4e8-4075-993a-ed1630139499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n}","options":{"raw":{"language":"json"}}},"url":"https://cluster.riskapi.com/api/marketdate","description":"<h6 id=\"returns\">Returns</h6>\n<p>An single date-formatted string (mm/dd/yyyy) representing the latest closing market date currently available in the RiskAPI system.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"protocol":"https","path":["api","marketdate"],"host":["cluster","riskapi","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca73fb16-b4e8-4075-993a-ed1630139499"},{"name":"indexlookup","id":"6482ba9b-8473-4191-9b1d-00cf4ddd577f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n}","options":{"raw":{"language":"json"}}},"url":"https://cluster.riskapi.com/api/indexlookup?region=US","description":"<h6 id=\"returns\">Returns</h6>\n<p>A multi-dimensional string array containing symbol, ticker, publisher and description for all available equity indexes.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"protocol":"https","path":["api","indexlookup"],"host":["cluster","riskapi","com"],"query":[{"key":"region","value":"US"}],"variable":[]}},"response":[],"_postman_id":"6482ba9b-8473-4191-9b1d-00cf4ddd577f"},{"name":"registerbasket","id":"e9e68b8f-c957-490f-85b1-01ed99c2bac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"Token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJVc2Vybm...\",\r\n    \"Symbol\": [\r\n        \"XLF\",\r\n        \"SPY\",\r\n        \"QQQ\"\r\n    ],\r\n    \"Quantity\": [\r\n        \"100\",\r\n        \"250\",\r\n        \"-100\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"?startdate&enddate=&basketsymbol","description":"<h6 id=\"returns\">Returns</h6>\n<p>A single string equal to the \"basketsymbol\" parameter, an empty string if any error occurs.</p>\n<p>This request is used to register an allocation as defined by the Body parameters \"Symbol\" and \"Quantity\" and referened by the query parameter \"basketsymbol\". The system will calculate and maintain historical returns for the given allocation as defined by the startdate and enddate parameters.</p>\n<p>Upon basket registration, the basketsymbol is inputted without a suffix. In subsequent requests, the suffix \".BSK\" should be applied.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"12a57867-9f41-4183-b12a-161dab8901d5","id":"12a57867-9f41-4183-b12a-161dab8901d5","name":"PortfolioScience RiskAPI®","type":"collection"}},"urlObject":{"query":[{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the start of the historical data used. Default = \"\", results in 1-calendar year.</p>\n","type":"text/plain"},"key":"startdate","value":null},{"description":{"content":"<p>Optional Date (mm/dd/yyyy) indicating the end of the historical data used. Default = \"\", results in the latest system market date.</p>\n","type":"text/plain"},"key":"enddate","value":""},{"description":{"content":"<p>A single string equal to the \"basketsymbol\" parameter, an empty string if any error occurs.</p>\n","type":"text/plain"},"key":"basketsymbol","value":null}],"variable":[]}},"response":[],"_postman_id":"e9e68b8f-c957-490f-85b1-01ed99c2bac9"}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"3faa0067-adda-4939-b0d5-6278497c00c8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9d0eaaf0-030e-4988-8f88-e097f4a1e94d","type":"text/javascript","exec":[""]}}]}