Sharesight

App · 11 actions

Read your investment portfolios, holdings, and performance reports in Sharesight.

Actions

ActionWhat it does
Get a holdingRead one investment holding’s details.
Get a performance reportRead investment performance for a portfolio and date range.
Get a portfolioRead a portfolio’s currency, country and settings.
Get performance chart dataRead dated performance indexes for a portfolio and benchmark.
Get portfolio settingsRead the portfolio’s display and chart settings.
List countriesRead the countries supported by Sharesight.
List custom investmentsFind investments you’ve defined in Sharesight.
List holdingsList investments across the portfolios you can access.
List portfolio holdingsList investments held in a portfolio.
List portfolio labelsList labels applied to the holdings in a portfolio.
List portfoliosList the portfolios you can access.

Get a holding

Read one investment holding’s details.

Inputs

Holding IDholding_idnumberRequired
The ID from List holdings.At least 1.
Include cost baseinclude_cost_basetrue/false
Include cost base information.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "holding": {
      "attachments": [
        {}
      ],
      "documents": [
        {}
      ],
      "drp_setting": "example",
      "foreign_tax_credits_supported": true,
      "id": 1,
      "inception_date": "example",
      "instrument": {
        "code": "example",
        "country_id": 1,
        "crypto": true,
        "currency_code": "example",
        "expired": true,
        "expires_on": "example",
        "id": 1,
        "logo": {},
        "market_code": "example",
        "name": "example",
        "supported_denominations": "example",
        "tz_name": "example"
      },
      "instrument_currency": {
        "code": "example",
        "id": 1,
        "qualified_symbol": "example",
        "symbol": "example"
      },
      "instrument_price": 1,
      "instrument_price_last_updated_at": "example",
      "payout_currency": {
        "code": "example",
        "id": 1,
        "qualified_symbol": "example",
        "symbol": "example"
      },
      "payout_type": "example",
      "portfolio": {
        "consolidated": true,
        "id": 1,
        "name": "example"
      },
      "symbol": "example",
      "trust_income": true,
      "valid_position": true
    },
    "links": {
      "self": "example"
    }
  }
}

Get a performance report

Read investment performance for a portfolio and date range.

Inputs

Portfolioportfolio_idnumberRequired
Choose a Sharesight portfolio.At least 1.
Start datestart_datedate
The first day of the reporting period.
End dateend_datedate
The last day of the reporting period.
Consolidatedconsolidatedtrue/false
Include consolidated portfolios.
Include salesinclude_salestrue/false
Include sold holdings.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "links": {
      "self": "example"
    },
    "report": {
      "benchmark": {
        "code": "example",
        "market_code": "example",
        "name": "example"
      },
      "cash_accounts": [
        {}
      ],
      "currency": {
        "code": "example",
        "id": 1,
        "qualified_symbol": "example",
        "symbol": "example"
      },
      "grouping": "example",
      "holdings": [
        {}
      ],
      "id": "example",
      "portfolio_id": 1,
      "portfolio_tz_name": "example",
      "sub_totals": [
        {}
      ],
      "value": 1
    }
  }
}

Get a portfolio

Read a portfolio’s currency, country and settings.

Inputs

Portfolioportfolio_idnumberRequired
Choose a Sharesight portfolio.At least 1.
Consolidatedconsolidatedtrue/false
Include consolidated portfolios.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "links": {
      "self": "example"
    },
    "portfolio": {
      "access_level": "example",
      "cg_discount": "example",
      "consolidated": true,
      "country_code": "example",
      "currency_code": "example",
      "default_sale_allocation_method": "example",
      "disable_automatic_transactions": true,
      "external_identifier": "example",
      "financial_year_end": "example",
      "has_investments": true,
      "id": 1,
      "inception_date": "example",
      "interest_method": "example",
      "name": "example",
      "owner_name": "example",
      "payout_sync_cash_account_id": "example",
      "rwtr_rate": 1,
      "subscription_status": "example",
      "tax_entity_type": "example",
      "trade_sync_cash_account_id": "example",
      "trader": true,
      "tz_name": "example",
      "user_id": 1
    }
  }
}

Get performance chart data

Read dated performance indexes for a portfolio and benchmark.

Inputs

Portfolioportfolio_idnumberRequired
Choose a Sharesight portfolio.At least 1.
Start datestart_datedate
The first day of the reporting period.
End dateend_datedate
The last day of the reporting period.
Consolidatedconsolidatedtrue/false
Include consolidated portfolios.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "consolidated": true,
    "dates": [
      "example"
    ],
    "end_date": "example",
    "grouping": "example",
    "id": "example",
    "lines": [
      {
        "label": "example",
        "type": "example",
        "values": [
          1
        ]
      }
    ],
    "links": {
      "self": "example"
    },
    "portfolio_id": 1,
    "portfolio_tz_name": "example",
    "start_date": "example"
  }
}

Get portfolio settings

Read the portfolio’s display and chart settings.

Inputs

Portfolioportfolio_idnumberRequired
Choose a Sharesight portfolio.At least 1.
Consolidatedconsolidatedtrue/false
Include consolidated portfolios.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "portfolio_user_setting": {
      "benchmark_instrument_id": "example",
      "combined": true,
      "grouping": "example",
      "holding_chart": "example",
      "holding_chart_range": "example",
      "include_sold_shares": true,
      "overview_end_date": "example",
      "overview_gains_losses_view": true,
      "overview_show_as_percentage": true,
      "overview_sort_column": "example",
      "overview_sort_direction": "example",
      "overview_start_date": "example",
      "overview_table_columns": [
        {}
      ],
      "portfolio_chart": "example",
      "portfolio_chart_range": "example",
      "report_combined": true,
      "report_currency": "example",
      "report_grouping": "example",
      "report_include_sold_shares": true,
      "taxable_grouped_by_holding": true,
      "taxable_show_comments": true
    }
  }
}

List countries

Read the countries supported by Sharesight.

Inputs

Supportedsupportedtrue/false
Only return supported tax residencies.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "countries": [
      {
        "code": "example",
        "currency_id": 1,
        "financial_end_of_year": "example",
        "id": 1,
        "name": "example",
        "supported": true,
        "tz_name": "example"
      }
    ],
    "links": {
      "self": "example"
    }
  }
}

List custom investments

Find investments you’ve defined in Sharesight.

Inputs

Portfolioportfolio_idnumber
Filter to one portfolio.At least 1.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "custom_investments": [
      {
        "auto_calc_income": true,
        "code": "example",
        "country_code": "example",
        "country_id": 1,
        "currency_code": "example",
        "face_value": 1,
        "first_payment_date": "example",
        "id": 1,
        "income_type": "example",
        "interest_rate": 1,
        "investment_type": "example",
        "market_code": "example",
        "maturity_date": "example",
        "name": "example",
        "payment_frequency": "example",
        "portfolio": {},
        "tz_name": "example"
      }
    ],
    "links": {
      "self": "example"
    }
  }
}

List holdings

List investments across the portfolios you can access.

Inputs

None.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "holdings": [
      {
        "attachments": [
          {}
        ],
        "documents": [
          {}
        ],
        "id": 1,
        "instrument": {},
        "instrument_currency": {},
        "portfolio": {},
        "symbol": "example",
        "valid_position": true
      }
    ],
    "links": {
      "self": "example"
    }
  }
}

List portfolio holdings

List investments held in a portfolio.

Inputs

Portfolioportfolio_idnumberRequired
Choose a Sharesight portfolio.At least 1.
Consolidatedconsolidatedtrue/false
Include consolidated portfolios.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "holdings": [
      {
        "id": "example",
        "instrument": {},
        "instrument_currency": {},
        "portfolio": {},
        "symbol": "example",
        "valid_position": true
      }
    ],
    "links": {
      "portfolio": "example"
    }
  }
}

List portfolio labels

List labels applied to the holdings in a portfolio.

Inputs

Portfolioportfolio_idnumberRequired
Choose a Sharesight portfolio.At least 1.
Consolidatedconsolidatedtrue/false
Include consolidated portfolios.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "labels": [
      {
        "color": "example",
        "holding_ids": [
          1
        ],
        "id": 1,
        "name": "example"
      }
    ],
    "links": {
      "self": "example"
    }
  }
}

List portfolios

List the portfolios you can access.

Inputs

Consolidatedconsolidatedtrue/false
Include consolidated portfolios.

Outputs

dataobject
The response from Sharesight.
Example output
{
  "data": {
    "links": {
      "self": "example"
    },
    "portfolios": [
      {
        "access_level": "example",
        "cg_discount": "example",
        "consolidated": true,
        "country_code": "example",
        "currency_code": "example",
        "default_sale_allocation_method": "example",
        "disable_automatic_transactions": true,
        "external_identifier": "example",
        "financial_year_end": "example",
        "id": 1,
        "inception_date": "example",
        "interest_method": "example",
        "name": "example",
        "owner_name": "example",
        "payout_sync_cash_account_id": "example",
        "rwtr_rate": 1,
        "subscription_status": "example",
        "tax_entity_type": "example",
        "trade_sync_cash_account_id": "example",
        "trader": true,
        "tz_name": "example",
        "user_id": 1
      }
    ]
  }
}

On this page