The Investment Model

This section gives an overview of Embed Investments, what the model looks like, creating, modifying and retrieving investments

{
  "investment_id":"990b72eb-6964-4a08-b6b8-8f005beaef5d",
  "account_id":"a5732d28468746d1b4d20d73a6ed2ffb",
  "name":"FSDH Dollar Fund",
  "product_code":"PRCDE7912607807",
  "asset_type":"mutual-fund",
  "asset_in_index":false,
  "index_id":null,
  "current_units":"0.00000",
  "currency":"USD",
  "current_value":"0.00000",
  "investment_returns":"0.00000",
  "change_today":"0.00000",
  "created_on":"2021-12-01T07:29:53.905108+00:00",
  "pending_deposits":[],
  "pending_sales":[],
  "liquidation_method":"units"
}
Sample Investment Object

Attributes

investment_id
string
Unique identifier of the investment
account_id
string
Unique Identifier of account owning
name
string
Chosen name for investment
product_code
string
generated product code of the investment
asset_type
string
The type of asset the investment belongs to
asset_in_index
boolean
Returns true or false depending on whether asset is part of an index
index_id
string
returns unique identifier of index if asset belongs to an index
current_units
string
current units on the investment
currency
string
the currency code which follows ISO-4217 standard
current_value
string
current value of the investment
investment_returns
string
current total investment returns
change_today
string
changes made to investment as at today
created_on
string
timestamp of the investment
pending_deposits
list
deposits into this investment awaiting verification
pending_sales
list
sale of investments that are awaiting fulfillment
liquidation_method
string
Method of Liquidation