Skip to main content

Investment Proposition Position Change

Data Dictionary - Entity Table: Investment_Proposition_Position_Change#

Investment proposition implies that some change to the existing portoflio should be made, e.g. buy or sell new assets (instruments). This table describes these changes in terms of respective instrument market value and quantity

Primary Key ('id').ENGINE = InnoDB..
Column NameData TypePK Primary Key, NN-Not Null, NullExampleComments
idBIGINT(12)PK, NN1PrimaryKey-ID, Not Null (auto creates)
position_idBIGINT(12)NULL1Related position id
instrument_idBIGINT(12)NULL1Id of the Instrument that should be bought or sold
market_valueDECIMAL(25,9)NULL2000CMarket value of the proposed change to this instrument holding
investment_proposition_idBIGINT(12)NOT NULL1Proposition id
QuantityDECIMALNULL100Quantity of the instrument to be bought or sold (e.g., number of shares)
OrderBIGINT(12)NULL1Order id
CONSTRAINTFOREIGN KEYREFERENCESON DELETEON UPDATE
fk_investment_proposition_ position_change_investment_ proposit1(investment_proposition_id)Investment_Proposition (id)NO ACTIONNO ACTION
Position(position_id)Position (id)NO ACTIONNO ACTION
PropositionOrder(Order)Order (id)NO ACTIONNO ACTION
PropositionInstrument(instrument_id)Instrument (id)NO ACTIONNO ACTION
CREATE INDEXONASCVISIBLE.
fk_investment_proposition_ position_change_investment_ propos_idxInvestment_Proposition_ Position_Change(investment_proposition_id ASC)VISIBLE.
Position_idxInvestment_Proposition_ Position_Change(position_id ASC)VISIBLE.
Order_idxInvestment_Proposition_ Position_Change(Order ASC)VISIBLE.
Instrument_idxInvestment_Proposition_ Position_Change(instrument_id ASC)VISIBLE.