Get sector, country, and holding exposures for the given portfolio and the markdown of respective charts

Changed on
post/portfolio_exposures

Request

Request body

Example request

{
  "portfolio": [
    {
      "T": "AAPL",
      "A": 5000
    },
    {
      "T": "VWO",
      "A": 3000
    },
    {
      "T": "CUR:USD",
      "A": 2000
    }
  ]
}

Response

OK

country_exposure_chart_markdownstring

Markdown for displaying the country exposure pie chart

sector_exposure_chart_markdownstring

Markdown for displaying the sector exposure pie chart

holding_exposure_chart_markdownstring

Markdown for displaying the holding exposure pie chart

Changes

    • breaking

      the // response's property format changed from float to no format for status

    • breaking

      the // response's property format changed from float to no format for status

    • breaking

      the // response's property format changed from float to no format for status