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"
}
Attributes
investment_idstring |
Unique identifier of the investment |
account_idstring |
Unique Identifier of account owning |
namestring |
Chosen name for investment |
product_codestring |
generated product code of the investment |
asset_typestring |
The type of asset the investment belongs to |
asset_in_indexboolean |
Returns true or false depending on whether asset is part of an index |
index_idstring |
returns unique identifier of index if asset belongs to an index |
current_unitsstring |
current units on the investment |
currencystring |
the currency code which follows ISO-4217 standard |
current_valuestring |
current value of the investment |
investment_returnsstring |
current total investment returns |
change_todaystring |
changes made to investment as at today |
created_onstring |
timestamp of the investment |
pending_depositslist |
deposits into this investment awaiting verification |
pending_saleslist |
sale of investments that are awaiting fulfillment |
liquidation_methodstring |
Method of Liquidation |