Professional Documents
Culture Documents
1
Infinity® Data Model
Quick Reference
and List of Modifications
CONFIDENTIAL
Notice
Infinity Financial Technology, Inc. (Infinity) reserves the right to make changes to this publication at any time
and without notice. Infinity makes no warranties, expressed or implied, in this publication. In no event shall
Infinity be liable for any indirect, special, incidental or consequential damages arising out of purchase or use
of this publication or the information contained herein.
Copyright
Unpublished work, Copyright Infinity Financial Technology, Inc. ("Infinity"). This publication and the soft-
ware described within it ("Materials"), constitute proprietary and confidential information of Infinity and its
suppliers. The Materials (and any information or material derived therefrom) may not be reproduced or used,
and may not be disclosed or otherwise made available to any person, in whole or in part, except in accordance
with a written agreement with Infinity or as otherwise expressly authorized in writing by Infinity.
Introduction 153
List Views 154
Domain Views 156
Other Views 158
Each change to the Data Model is highlighted by vertical bar in the left margin. New tables
and attributes appear in italics (e.g., settlement_sec_id ), and attributes that have been deleted
are obscured by a horizontal line (e.g., settlement_sec_id). For example, a change in the foreign
key definition on the settlement_sec_id column in the curve_def_derived_sec table would be
represented as one deletion and one insertion, as shown below:
This table has four columns, appearing in the database in the following order:
• sec_id, a non-nullable column of Infinity datatype Sec_Id and Sybase system datatype
int is four bytes in length. This attribute contributes to the primary key and is a foreign
key migrating from the sec table.
• curve_id, a non-nullable column of Infinity datatype Curve_Id and Sybase system
datatype int is four bytes in length. This attribute contributes to the primary key and is
a foreign key migrating from the curve table.
• def_datetime, a non-nullable column of Infinity datatype datetime and Sybase system
datatype datetime is eight bytes in length. This attribute also contributes to the primary
key.
• settlement_sec_id, a nullable column of Infinity datatype Sec_Id and Sybase system
datatype int is four bytes in length. By looking at the obscured text, we can see that
this column was formerly a foreign key migrating from the sec table.
infcomments id 0 Table_Id:int(4) PK
infcomments colid 0 Colid:tinyint(1) PK
infcomments comments 1 text:text(16)
infcomments type 1 Object_Type:char(2)
infcomments table_name 1 Object_Name:varchar(30)
infcomments column_name 1 Object_Name:varchar(30)
vs vs_id 0 VS_Id:int(4) PK
vs user_code 0 User_Code:varchar(30)
vs currency_code 0 Currency_Code:char(3)
vs ref_index_code 0 Ref_Index_Code:char(12)
vs vs_name 0 VS_Name:char(12)
vs vs_def_code 0 VS_Def_Code:char(12)
vs remark 1 Remark:varchar(250)
vs strike_quote_method_code 1 Quote_Method_Code:char(12)
vs settlement_term 1 Term:int(4)
vs maturity_date_roll_code 1 Date_Roll_Code:char(12)
vs unit_time_code 0 Unit_Time_Code:char(12)
Introduction
For v7.1, the Infinity Data Model includes 258 “views.” Views can be thought of as
virtual tables composed of attributes taken from one or more tables in the Data Model.
Some view attributes are calculated values (e.g. the product of the contents of two
attributes in the Data Model). Some view attributes are obtained by selecting from
another view, which in turn selects from the actual table attribute in the Data Model.
Users may retrieve data from Infinity’s views, but they cannot insert data into them.
All modifications of data must be carried out within the actual tables of the Data
Model.
This chapter lists all the views in the v7.1 Data Model. For each view attribute, this
reference provides the names of the underlying table and attribute that actually store
the information.
There are three types of views in the Infinity Data Model: list views, domain views,
and all other views. List views have the _list suffix, domain views have the _domain
suffix, and all others have the _v suffix. List views are documented beginning on
page 154 and domain views on page 156. All other views are documented beginning
on page 158.
For each view attribute, the columns of this View Reference shows:
• the view name.
• the name of the source table and attribute, separated by a “.”. If the
source attribute has the same name as the view attribute, then only
the source table is listed. In some cases, the source is another view
rather than a table.
• the name of the view attribute.
• whether the attribute is nullable (‘0’ means the attribute cannot be
NULL, ‘1’ means it can be NULL).
• the Infinity datatype.
• the Sybase system datatype and length.
View Name Source Table Name View Attribute NULL User Datatype Underlying Datatype
Name
Lists
access_func_group_list error_severity_list
accr_calculator_list exch_broker_type_list
accr_calculator_type_list exchange_list
accr_flow_type_list ext_schedule_type_list
accr_report_type_list finex_sec_type_list
addr_type_list general_ledger_flow_list
advice_type_list general_ledger_product_list
broker_account_type_list hierarchy_type_list
broker_disc_type_list info_type_list
broker_type_list infsys_action_list
business_event_list issuer_inst_list
city_list job_func_list
contact_type_list legal_agmt_clause_list
continent_list legal_agmt_list
contract_series_list money_market_type_list
country_list option_expiry_location_list
cpty_role_list org_addr_relation_list
cpty_type_list org_book_relation_list
currency_conversion_list org_role_list
currency_list otc_option_sec_usage_list
curve_interpretation_list payment_type_list
curve_status_list per_list
data_group_list preference_list
doc_index_list printer_list
doc_tmpl_group_list product_type_list
doc_type_list prsn_org_relation_list
emp_type_list quote_type_list
error_list rating_source_list
rating_type_list
ref_index_list
ref_index_source_list
risk_cpty_industry_list
rtd_mdds_list
schedule_user_type_list
sec_ident_list
status_list
trade_attention_list
trade_keyword_list
trade_status_list
trade_type_list
transmission_list
user_group_list
The view <domain> demonstrates the structure of underlying tables and attributes
common to all domain views:
View Name Source Table Name & View Attribute NULL User Datatype Underlying Datatype
Source Attribute Name Name
Domains
account_type_domain curve_def_domain
act_notl_domain curve_instance_domain
action_type_domain curve_int_algorithm_domain
admin_type_domain curve_level_type_domain
advice_status_domain curve_side_domain
analysis_date_type_domain curve_status_domain
asset_type_domain curve_type_domain
assigned_trade_status_domain curve_usage_domain
atomic_asset_domain date_roll_domain
atomic_product_domain day_count_domain
attribute_type_domain delta_position_status_domain
auth_status_domain exercise_domain
auth_type_domain exotic_type_domain
avg_calc_method_domain expectation_domain
barrier_type_domain expected_xfer_source_domain
bond_type_domain expected_xfer_state_domain
business_type_domain expected_xfer_status_domain
calc_level_domain expected_xfer_timing_domain
cap_floor_domain expected_xfer_type_domain
closing_prices_status_domain flow_calc_domain
comm_basis_domain flow_calc_timing_domain
compound_type_domain flow_rate_calc_domain
convexity_spread_type_domain flow_timing_domain
correlation_curve_type_domain flow_type_domain
correlation_type_domain frq_domain
curve_archive_domain future_options_price_domain
curve_curve_operator_domain fx_opt_domain
curve_data_domain fx_swap_type_domain
fx_term_domain quote_history_domain
gl_account_type_domain quote_method_domain
greek_calc_method_domain record_login_domain
hol_type_domain ref_index_relation_domain
info_data_type_domain repo_roll_method_domain
info_db_table_domain repo_type_domain
interp_domain reset_calc_align_domain
initial_margin_status_domain risk_analysis_domain
lag_day_type_domain risk_rpt_instance_domain
language_domain risk_rpt_instruct_domain
liquidation_method_domain rt_portfolio_status_domain
liquidation_status_domain sec_def_domain
loan_event_type_domain sec_type_domain
mexican_frn_type_domain sec_val_domain
month_cycle_domain settlement_method_domain
net_position_status_domain spot_instance_domain
option_type_domain spread_type_domain
otc_option_underlying_domain standard_zone_domain
parallel_shift_curve_domain stlmt_bank_domain
partic_side_domain structure_domain
partic_type_domain swap_leg_domain
password_use_domain term_domain
pay_type_domain tick_size_domain
payment_direction_domain time_shift_method_domain
payment_engine_oper_domain trade_action_type_domain
payment_engine_state_domain trade_info_domain
payment_notif_domain trade_leg_type_domain
payment_release_method_domain trade_partic_type_domain
payment_rounding_domain trade_sec_relation_domain
payment_status_domain trade_trade_relation_domain
perturb_type_domain trans_info_domain
pnl_decomp_item_domain unit_time_domain
pnl_decomp_sequence_domain user_acct_status_domain
pnl_trade_leg_status_domain val_delta_calc_domain
portfolio_criterion_domain vem_filter_type_domain
position_element_status_domain vol_perturbation_type_domain
post_operation_domain volatility_type_domain
post_state_domain vs_def_domain
post_type_domain weekday_domain
positioned_trade_status_domain weekend_domain
proj_flow_date_domain zone_dst_domain
proj_method_type_domain
put_call_domain
View Name Source Table Name & View Attribute NULL User Datatype Underlying Datatype
Source Attribute Name Name
inf_fx_prin_amt_v trade_leg trade_id 0 Trade_Id int(4)
inf_fx_prin_amt_v trade trade_date 0 Date datetime(8)
inf_fx_prin_amt_v trade_leg.trade_amount amount 1 Amount float(8)
The view inf_fx_prin_amt_v has three attributes, appearing in this order in the
database:
• the attribute trade_id comes from the trade_leg table, is not nullable,
has the Infinity datatype Trade_Id and the Sybase system datatype int,
and is four bytes in length.
• the attribute trade_date comes from the trade table, is not nullable,
has the Infinity datatype Date and the Sybase system datatype
datetime, and is eight bytes in length.
• the attribute amount comes from the trade_amount attribute of the
trade_leg table, is nullable, has the Infinity datatype Amount and the
Sybase system datatype float, and is eight bytes in length.
*. The amount attribute is the product of the trade_leg.trade_amount and the cap_floor_header.principal_amount.
*. The amount attribute is the product of the trade_leg.trade_amount and the swap_leg_header.principal_amount.
*. The query for this view attribute uses the statement “MIN(trade_status.status_datetime)” to determine the date and time when the trade was first saved.
The Limit Manager Table Reference alphabetically lists every Infinity table and attribute
utilized by the Limit Manager application, v7.1. (All Limit Manager tables begin with the
“dia” prefix). The document also notes all table and attribute changes between version 7.0 and
version 7.1. Within each table, columns are listed in the order in which they appear in the
database. The Quick Reference only documents Infinity tables; Sybase tables such as sysusers
are not documented. For each column, the Quick Reference shows:
Each change to the Data Model is highlighted by vertical bar in the left margin. New tables
and attributes appear in italics (e.g., dia_limit_parameters), and attributes which have been
deleted are obscured by a horizontal line (e.g., dia_limit_parameters). For example, the addition
of a primary key on the parameter_name column in the dia_limit_parameters table would be
represented as one deletion and one insertion, as shown below:
This table has five columns (or attributes), appearing in this order in the database:
• the attribute parameter_name is non-nullable, contributes to the primary key, has the
Infinity datatype “varchar” and the Sybase system datatype “varchar,” and is 40 bytes
in length. By looking at the obscured text, we can see that this attribute was not previ-
ously a primary key.
• the attribute value is non-nullable, has the Infinity datatype “varchar,” and has the
Sybase system datatype “varchar.” It is also 40 bytes in length.
• the attribute description is nullable, has the Infinity datatype “varchar” and Sybase
system datatype “varchar,” and is 60 bytes in length.
• the attribute owner is non-nullable, has the Infinity datatype “varchar” and Sybase
system datatype “varchar,” and is 20 bytes in length.
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 183
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 184
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 185
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 186
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 187
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 188
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 189
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 190
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 191
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 192
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 193
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 194
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 195
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 196
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 197
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 198
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 199
Table Attribute NULL Datatype PK FK: Parent Table
Infinity Data Model, version 7.1 Confidential Limit Manager Table Modifications 200