Instrument Details
Instrument Details component is a contractual component that helps you to view the details of a specific instrument that is available in the market.
Namespace
com.temenos.infinityWealthComponents.instrumentDetails
Contract Definition
Contracts are used to customize behavior, user experience, and manipulate the data or object of a component. Contracts are made available by exposing properties, methods, and events.
- Properties: Used to define the behavior of the component.
- Methods: Form or other components can use these methods to interact with the component.
- Events: Events are generated on the component. Implementation teams can define business logic to configure the execution of events.
- Context: Specifies the contextual object that is passed to the component.
Properties
Properties |
Programmatic Name |
Quantum Type |
Temenos Digital Type
|
Default Value |
---|---|---|---|---|
Skins |
||||
Positive Skin |
positiveSkin |
String |
String |
sknIW2F8523 |
Negative Skin |
negativeSkin |
String |
String |
sknlblff000015px |
Normal Skin |
neutralSkin |
String |
String |
bbSknLbl424242SSP17Px |
Entitlements |
||||
Instrument Details |
instrumentEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_PRODUCT_DETAILS_INSTRUMENT_VIEW&&WEALTH_PRODUCT_DETAILS"]} |
Current Position |
currentPositionEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_PRODUCT_DETAILS_CURRENT_POSITION_VIEW&&WEALTH_PRODUCT_DETAILS"]} |
Pricing Data |
pricingDataEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_PRODUCT_DETAILS_PRICING_DATA_VIEW&&WEALTH_PRODUCT_DETAILS"]} |
Documents |
documentsEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_NEWS_AND_DOCUMENTS_DOCUMENTS_VIEW&&WEALTH_NEWS_AND_DOCUMENTS"]} |
Stock News |
stockNewsEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_NEWS_AND_DOCUMENTS_STOCK_NEWS_VIEW&&WEALTH_NEWS_AND_DOCUMENTS"]} |
Favourite |
favouriteEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_WATCHLIST_INSTRUMENT_CREATE&&WEALTH_WATCHLIST"]} |
Buy |
buyEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_ORDER_MGMT_BUY_ORDER_CREATE&&WEALTH_ORDER_MANAGEMENT"]} |
Sell |
sellEntitlement |
String |
JSON |
{"entitlement_keys":["WEALTH_ORDER_MGMT_SELL_ORDER_CREATE&&WEALTH_ORDER_MANAGEMENT"]} |
Get Favorite Instrument |
||||
Obj Service |
getFavObjectService |
String |
String |
WealthObjects |
Obj Name |
getFavObjectName |
String |
String |
FavouriteInstruments |
Operation |
getFavOperation |
String |
String |
getUserFavouriteInstruments |
Criteria |
getFavCriteria |
String |
JSON |
{} |
Identifier |
getFavIdentifier |
String |
String |
S4 |
Response Array Fav Instrument Codes |
getFavCodesResponseArray |
String |
JSON |
{$.S4.favInstrumentCodes} |
ResponseId |
getFavResponseId |
String |
String |
L4 |
Response Array Fav Instrument Ids |
getFavIdsResponseArray |
String |
JSON |
{$.S4.favInstrumentIds} |
Update Favorite Instrument |
||||
Obj Service |
updateFavObjectService |
String |
String |
WealthObjects |
Obj Name |
updateFavObjectName |
String |
String |
FavouriteInstruments |
Operation |
updateFavOperation |
String |
String |
updateUserFavouriteInstruments |
Criteria |
updateFavCriteria |
String |
JSON |
{"operation":"{$.c.operation}","RICCode":"{$.c.RICCode}","instrumentId":"{$.c.instrumentId}"} |
Identifier |
updateFavIdentifier |
String |
String |
S5 |
Response Array |
updateFavResponseArray |
String |
JSON |
{} |
ResponseId |
updateFavResponseId |
String |
String |
L5 |
Instrument Details Service |
||||
Obj Service |
instrumentObjectService |
String |
String |
WealthObjects |
Obj Name |
instrumentObjectName |
String |
String |
ProductDetails |
Operation |
instrumentOperation |
String |
String |
getProductDetailsFromId |
Criteria |
instrumentCriteria |
String |
JSON |
{"ISINCode":"{$.c.ISINCode}","RICCode":"{$.c.RICCode}","instrumentId":"{$.c.instrumentId}"} |
Identifier |
instrumentIdentifier |
String |
String |
S1 |
Response Array |
instrumentResponseArray |
String |
JSON |
{$.S1.instrumentDetails} |
ResponseId |
instrumentResponseId |
String |
String |
L1 |
Response Array Documents |
instrumentDocumentsResponseArray |
String |
JSON |
{$.S1.documentDetails} |
Response Array Pricing Data |
instrumentPricingDataResponseArray |
String |
JSON |
{$.S1.pricingDetails} |
Response Array Instrument Minimal |
instrumentMinimalResponseArray |
String |
JSON |
{$.S1.instrumentMinimal} |
Response Array Instrument Assets |
instrumentAssetsResponseArray |
String |
JSON |
{$.S1.instrumentAssets} |
Pricing Data Field 1 |
instrumentField21 |
String |
JSON |
{ "displayName":"Bid:", "fieldName":"bidRate","type":"Amount","currency":"referenceCurrency"} |
Pricing Data Field 2 |
instrumentField22 |
String |
JSON |
{ "displayName":"Bid Vol:", "fieldName":"bidVolume","type":"String"} |
Pricing Data Field 3 |
instrumentField23 |
String |
JSON |
{ "displayName":"Ask:", "fieldName":"askRate","type":"Amount","currency":"referenceCurrency"} |
Pricing Data Field 4 |
instrumentField24 |
String |
JSON |
{ "displayName":"Ask Vol:", "fieldName":"askVolume","type":"String"} |
Pricing Data Field 5 |
instrumentField25 |
String |
JSON |
{ "displayName":"Volume:", "fieldName":"volume","type":"String"} |
Pricing Data Field 6 |
instrumentField26 |
String |
JSON |
{ "displayName":"Open:", "fieldName":"openRate","type":"Amount","currency":"referenceCurrency"} |
Pricing Data Field 7 |
instrumentField27 |
String |
JSON |
{ "displayName":"Close:", "fieldName":"closeRate","type":"Amount","currency":"referenceCurrency"} |
Pricing Data Field 8 |
instrumentField28 |
String |
JSON |
{ "displayName":"52W High:", "fieldName":"high52W","type":"Amount","currency":"referenceCurrency"} |
Pricing Data Field 9 |
instrumentField29 |
String |
JSON |
{ "displayName":"52W Low:", "fieldName":"low52W","type":"Amount","currency":"referenceCurrency"} |
Pricing Data Field 10 |
instrumentField30 |
String |
JSON |
{ "displayName":"Latest:", "fieldName":"latestRate","type":"Amount","currency":"referenceCurrency"} |
Asset Types |
||||
Field 1 |
assetTypeField1 |
String |
JSON |
{ "displayName":"Sector:", "fieldName":"sector","type":"String"} |
Field 2 |
assetTypeField2 |
String |
JSON |
{ "displayName":"Region:", "fieldName":"region","type":"String"} |
Field 3 |
assetTypeField3 |
String |
JSON |
{ "displayName":"Country:", "fieldName":"country","type":"String"} |
Field 4 |
assetTypeField4 |
String |
JSON |
{ "displayName":"Interest Rate:", "fieldName":"interestRate","type":"Percent"} |
Field 5 |
assetTypeField5 |
String |
JSON |
{ "displayName":"Contract Type:", "fieldName":"contractType","type":"String"} |
Field 6 |
assetTypeField6 |
String |
JSON |
{ "displayName":"Next Coupon Date:", "fieldName":"nxtCoupnDate","type":"Date"} |
Field 7 |
assetTypeField7 |
String |
JSON |
{ "displayName":"Maturity Date:", "fieldName":"maturityDate","type":"Date"} |
Field 8 |
assetTypeField8 |
String |
JSON |
{ "displayName":"Duration:", "fieldName":"duration","type":"String"} |
Field 9 |
assetTypeField9 |
String |
JSON |
{ "displayName":"Modified Duration:", "fieldName":"modifiedDuration","type":"String"} |
Field 10 |
assetTypeField10 |
String |
JSON |
{ "displayName":"Rating:", "fieldName":"rating","type":"String"} |
Field 11 |
assetTypeField11 |
String |
JSON |
{ "displayName":"Issuer:", "fieldName":"issuer","type":"String"} |
Field 12 |
assetTypeField12 |
String |
JSON |
{ "displayName":"Type:", "fieldName":"type","type":"String"} |
Field 13 |
assetTypeField13 |
String |
JSON |
{ "displayName":"Underlying:", "fieldName":"underlying","type":"String"} |
Field 14 |
assetTypeField14 |
String |
JSON |
{ "displayName":"Contract Size:", "fieldName":"contractSize","type":"String"} |
Field 15 |
assetTypeField15 |
String |
JSON |
{ "displayName":"Strike Price:", "fieldName":"strikePrice","type":"Amount","currency":"referenceCurrency"} |
Field 16 |
assetTypeField16 |
String |
JSON |
{ "displayName":"Expiry Date:", "fieldName":"expiryDate","type":"Date"} |
Field 17 |
assetTypeField17 |
String |
JSON |
{ "displayName":"Option Class:", "fieldName":"optionClass","type":"String"} |
Field 18 |
assetTypeField18 |
String |
JSON |
{ "displayName":"Option Style:", "fieldName":"optionStyle","type":"Date"} |
Historical Data Service |
||||
Obj Service |
historyDataObjectService |
String |
String |
WealthObjects |
Obj Name |
historyDataObjectName |
String |
String |
CurrencyDetails |
Operation |
historyDataOperation |
String |
String |
getHistoricalData |
Criteria |
historyDataCriteria |
String |
JSON |
{"RICCode":"{$.c.RICCode}","dateOrPeriod":"{$.c.dateOrPeriod}"} |
Identifier |
historyDataIdentifier |
String |
String |
S3 |
Response Array |
historyDataResponseArray |
String |
JSON |
{$.S3.historicalData} |
ResponseId |
historyDataResponseId |
String |
String |
L3 |
Holdings Details Service |
||||
Obj Service |
holdingsObjectService |
String |
String |
WealthObjects |
Obj Name |
holdingsObjectName |
String |
String |
Portfolio |
Operation |
holdingsOperation |
String |
String |
getPortfolioHoldings |
Criteria |
holdingsCriteria |
String |
JSON |
{"searchByInstrumentName":"{$.c.searchByInstrumentName}","portfolioId":"{$.c.portfolioId}","sortBy":"{$.c.sortBy}","navPage":"{$.c.navPage}","instrumentId":"{$.c.instrumentId}","ISINCode":"{$.c.ISINCode}","RICCode":"{$.c.RICCode}"} |
Identifier |
holdingsIdentifier |
String |
String |
S2 |
Response Array |
holdingsResponseArray |
String |
JSON |
{$.S2.portfolioHoldings} |
ResponseId |
holdingsResponseId |
String |
String |
L2 |
Holdings Field 1 |
holdingsField7 |
String |
JSON |
{"displayName":"Market Value:", "fieldName":"marketValPOS","type":"Amount","currency":"secCCy"} |
Holdings Field 2 |
holdingsField8 |
String |
JSON |
{"displayName":"Balance:", "fieldName":"balance","type":"Amount","currency":"secCCy"} |
Holdings Field 3 |
holdingsField9 |
String |
JSON |
{"displayName":"Unrealized P&L:", "fieldName":"unrealizedProfitLossSecCcy","type":"ColourAmount","currency":"secCCy"} |
Holdings Field 4 |
holdingsField10 |
String |
JSON |
{"displayName":"Nominal:", "fieldName":"quantity","type":"String"} |
Holdings Field 5 |
holdingsField11 |
String |
JSON |
{"displayName":"Weight%:", "fieldName":"weightPercentage","type":"Percentage"} |
Holdings Field 6 |
holdingsField12 |
String |
JSON |
{"displayName":"Average Cost:", "fieldName":"costPrice","type":"Amount","currency":"secCCy"} |
Holdings Field 7 |
holdingsField13 |
String |
JSON |
{"displayName":"Accrued Interest:", "fieldName":"accruedInterest","type":"Amount","currency":"secCCy"} |
Holdings Field 8 |
holdingsField14 |
String |
JSON |
{"displayName":"Amount Bought:", "fieldName":"amountBought","type":"Amount","currency":"secCCy"} |
Holdings Field 9 |
holdingsField15 |
String |
JSON |
{"displayName":"Amount Sold:", "fieldName":"amountSold","type":"Amount","currency":"secCCy"} |
Holdings Field 10 |
holdingsField16 |
String |
JSON |
{"displayName":"Quote:", "fieldName":"quote","type":"Amount","currency":"secCCy"} |
Holdings Field 11 |
holdingsField17 |
String |
JSON |
{"displayName":"Cost Quote:", "fieldName":"costQuote","type":"Amount","currency":"secCCy"} |
Holdings Field 12 |
holdingsField18 |
String |
JSON |
{"displayName":"Counterpart Amount:", "fieldName":"counterpartAmount","type":"Amount","currency":"secCCy"} |
Context Object
Pass the required context for the component into the setContext method.
Methods |
Parameters |
Description |
---|---|---|
setContext |
Context object |
Set the context object in component |
Methods
Methods |
Parameter |
Description |
---|---|---|
setInstrumentDetails |
data, obj |
This method passes and sets the instrument details inside the component. |
setFeaturesAndPermissions |
dataObj |
This method passes the entitlements into the component. |
onBreakPointChangeComponent |
width |
This method passes the breakpoint information into the component. |
Events
Event |
Parameter |
Description |
---|---|---|
onClickBuy |
- |
This event triggers to buy an order. |
onClickSell |
- |
This event triggers the sell order. |
requestStart |
- |
This event starts the loading gear. |
requestEnd |
- |
This event stops the loading gear. |
setProductDetailsData |
obj |
This event sets the holding details of the instrument globally. |
setInstrumentDetailsData |
obj |
This event sets the basic instrument details globally. |
onClickViewTransactions |
- |
This event triggers the instrument-level transactions. |
setInstrumentsData |
obj |
This event stores the instrument data globally such as Pricing, Holdings and Historical data. |
In this topic