Sharesight
App · 11 actions
Read your investment portfolios, holdings, and performance reports in Sharesight.
Actions
| Action | What it does |
|---|---|
| Get a holding | Read one investment holding’s details. |
| Get a performance report | Read investment performance for a portfolio and date range. |
| Get a portfolio | Read a portfolio’s currency, country and settings. |
| Get performance chart data | Read dated performance indexes for a portfolio and benchmark. |
| Get portfolio settings | Read the portfolio’s display and chart settings. |
| List countries | Read the countries supported by Sharesight. |
| List custom investments | Find investments you’ve defined in Sharesight. |
| List holdings | List investments across the portfolios you can access. |
| List portfolio holdings | List investments held in a portfolio. |
| List portfolio labels | List labels applied to the holdings in a portfolio. |
| List portfolios | List the portfolios you can access. |
Get a holding
Read one investment holding’s details.
Inputs
- Holding ID
holding_idnumberRequired - The ID from List holdings.At least 1.
- Include cost base
include_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
- Portfolio
portfolio_idnumberRequired - Choose a Sharesight portfolio.At least 1.
- Start date
start_datedate - The first day of the reporting period.
- End date
end_datedate - The last day of the reporting period.
- Consolidated
consolidatedtrue/false - Include consolidated portfolios.
- Include sales
include_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
- Portfolio
portfolio_idnumberRequired - Choose a Sharesight portfolio.At least 1.
- Consolidated
consolidatedtrue/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
- Portfolio
portfolio_idnumberRequired - Choose a Sharesight portfolio.At least 1.
- Start date
start_datedate - The first day of the reporting period.
- End date
end_datedate - The last day of the reporting period.
- Consolidated
consolidatedtrue/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
- Portfolio
portfolio_idnumberRequired - Choose a Sharesight portfolio.At least 1.
- Consolidated
consolidatedtrue/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
- Supported
supportedtrue/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
- Portfolio
portfolio_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
- Portfolio
portfolio_idnumberRequired - Choose a Sharesight portfolio.At least 1.
- Consolidated
consolidatedtrue/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
- Portfolio
portfolio_idnumberRequired - Choose a Sharesight portfolio.At least 1.
- Consolidated
consolidatedtrue/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
- Consolidated
consolidatedtrue/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
}
]
}
}