{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Accounts and investments"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"accounts-and-investments","__idx":0},"children":["Accounts and investments"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Accounts, the assets available to them, and investment selections."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"account","__idx":1},"children":["Account"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message Account {\n  enum Type {\n    UNKNOWN_TYPE = 0;\n    TRADITIONAL_401K = 1;\n    ROTH_401K = 2;\n  }\n\n  string account_id = 1;\n  Type type = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"accountinvestmentdetail","__idx":2},"children":["AccountInvestmentDetail"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message AccountInvestmentDetail {\n  AccountInvestmentSelectionType type = 1;\n  int32 allocation_bps = 2;\n  optional AssetMetadata asset_metadata = 3;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/accounts-and-investments#accountinvestmentselectiontype"},"children":["AccountInvestmentSelectionType"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/accounts-and-investments#assetmetadata"},"children":["AssetMetadata"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"accountinvestmentselection","__idx":3},"children":["AccountInvestmentSelection"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message AccountInvestmentSelection {\n  AccountInvestmentSelectionType type = 1;\n  optional string asset_uuid = 2;\n  int32 allocation_bps = 3;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/accounts-and-investments#accountinvestmentselectiontype"},"children":["AccountInvestmentSelectionType"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"accountinvestmentselections","__idx":4},"children":["AccountInvestmentSelections"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message AccountInvestmentSelections {\n  string account_id = 1;\n  repeated AccountInvestmentDetail account_investments = 2;\n  repeated TrmInvestmentDetail trm_investments = 3;\n  bool has_set_custom_investment_selections = 4;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/accounts-and-investments#accountinvestmentdetail"},"children":["AccountInvestmentDetail"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/accounts-and-investments#trminvestmentdetail"},"children":["TrmInvestmentDetail"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"accountinvestmentselectiontype","__idx":5},"children":["AccountInvestmentSelectionType"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"enum AccountInvestmentSelectionType {\n  UNKNOWN_INVESTMENT_SELECTION_TYPE = 0;\n  EMPLOYER_SELECTED = 1;\n  BROKERAGE_WINDOW = 2;\n  RETIREMENT_MORTGAGE = 3;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"assetmetadata","__idx":6},"children":["AssetMetadata"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message AssetMetadata {\n  enum AssetClass {\n    UNKNOWN_ASSET_CLASS_NAME = 0;\n    BONDS = 1;\n    EQUITIES = 2;\n    TARGET_DATE_FUND = 3;\n    CASH = 4;\n  }\n\n  enum AssetSuggestionType {\n    UNKNOWN_CLASSIFICATION = 0;\n    POPULAR = 1;\n    OPTIONAL = 2;\n    REQUIRED = 3;\n  }\n\n  string uuid = 1;\n  string short_name = 2;\n  string full_name = 3;\n  string symbol = 4;\n  AssetClass asset_class = 5;\n  int32 allocation_bps = 6;\n  optional int32 yield_bps = 7;\n  optional int32 expense_ratio_bps = 8;\n  optional Money value = 9;\n  optional AssetSuggestionType classification = 10;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/common#money"},"children":["Money"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"trminvestmentdetail","__idx":7},"children":["TrmInvestmentDetail"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message TrmInvestmentDetail {\n  AssetMetadata asset_metadata = 1;\n  int32 allocation_bps = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/accounts-and-investments#assetmetadata"},"children":["AssetMetadata"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"trminvestmentselection","__idx":8},"children":["TrmInvestmentSelection"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message TrmInvestmentSelection {\n  string asset_uuid = 1;\n  int32 allocation_bps = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"holdingsperformance","__idx":9},"children":["HoldingsPerformance"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message HoldingsPerformance {\n  Money gain_loss = 1;\n  int32 gain_loss_bps = 2;\n  Money paid_in_capital = 3;\n  Money total_value = 4;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/common#money"},"children":["Money"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"datedholdingsperformance","__idx":10},"children":["DatedHoldingsPerformance"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"protobuf","header":{"controls":{"copy":{}}},"source":"message DatedHoldingsPerformance {\n  Date date = 1;\n  HoldingsPerformance performance = 2;\n}\n","lang":"protobuf"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["References:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/common#date"},"children":["Date"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/core-data-types/accounts-and-investments#holdingsperformance"},"children":["HoldingsPerformance"]}]}]},"headings":[{"value":"Accounts and investments","id":"accounts-and-investments","depth":1},{"value":"Account","id":"account","depth":2},{"value":"AccountInvestmentDetail","id":"accountinvestmentdetail","depth":2},{"value":"AccountInvestmentSelection","id":"accountinvestmentselection","depth":2},{"value":"AccountInvestmentSelections","id":"accountinvestmentselections","depth":2},{"value":"AccountInvestmentSelectionType","id":"accountinvestmentselectiontype","depth":2},{"value":"AssetMetadata","id":"assetmetadata","depth":2},{"value":"TrmInvestmentDetail","id":"trminvestmentdetail","depth":2},{"value":"TrmInvestmentSelection","id":"trminvestmentselection","depth":2},{"value":"HoldingsPerformance","id":"holdingsperformance","depth":2},{"value":"DatedHoldingsPerformance","id":"datedholdingsperformance","depth":2}],"frontmatter":{"title":"Accounts and investments","seo":{"title":"Accounts and investments"}},"lastModified":"2026-09-18T14:49:13.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/core-data-types/accounts-and-investments","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}