Sample Request https://www.hiddenlevers.com/l/api/v1/riskprofile?apikey=demo_api_key_8675309_hl&apiuser=yourdemologin@example.org&allocationType=pct&timeframe=2yr&input={"portfolio":{"jsonPositions":[{"ticker":"GOOG","quantity":40.0},{"ticker":"NFLX","quantity":40.0},{"ticker":"HD","quantity":20.0}]}}
Sample Return { "status" : "success", "result" : { "pvh": [], "ccrScore": 0.5, "expectedReturn": 0.4046872803069004, "expectedReturn5Yr": 2.0398799915954724, "worstScenarioImpact": -50.44034057203144, "excludedSymbols": [], "usePctAllocation": "y", "sp500Beta": 1.0757609437135816, "jsonConfig": {}, "expenseRatio": 0, "yield": 0, "analyzableValue": 100, "jsonPositions": [ { "marketCap": 881070000000, "ticker": "GOOG", "quantity": 40, "pricedate": "2019-04-26 20:07:11.0", "industry": "Tech Giants - Communications", "volatility": 27.12260169018546, "mddstart": "2008-10-01 17:00:00.0", "type": "Stock", "price": 1272.18, "yield": 0, "name": "GOOGLE INC", "pctAllocation": 40, "mddend": "2008-11-24 16:00:00.0" }, { "marketCap": 159570000000, "ticker": "NFLX", "quantity": 40, "pricedate": "2019-04-26 19:54:04.0", "industry": "Streaming Media", "volatility": 53.861261313856176, "mddstart": "2011-07-13 17:00:00.0", "type": "Stock", "price": 374.85, "yield": 0, "name": "NETFLIX INC", "pctAllocation": 40, "mddend": "2012-09-25 17:00:00.0" }, { "marketCap": 223050000000, "ticker": "HD", "quantity": 20, "pricedate": "2019-04-26 20:08:45.0", "industry": "Home Improvement Stores", "volatility": 24.542831239098035, "mddstart": "2008-10-01 17:00:00.0", "type": "Stock", "price": 203.61, "yield": 2.96, "name": "HOME DEPOT INC", "pctAllocation": 20, "mddend": "2009-03-06 16:00:00.0" } ], "value": 100 } }