Broker-Volume Transaction Parameters The inputs to the Broker-Volume Transaction are generated by the VGenDriverCE code in CETxnInputGenerator.cpp and the data structures defined in TxnHarnessStructs.h must be used to communicate the input and output parameters. Broker-Volume Interfaces Module/Data Structure CE Input generation GenerateBrokerVolumeInput() TBrokerVolumeTxnInput Transaction Input/Output Structure TBrokerVolumeTxnOutput TBrokerVolumeTxnInput Frame 1 Input/Output Structure TBrokerVolumeFrame1Output Broker-Volume Transaction Parameters: Parameter Direction Description A list of twenty to forty distinct broker name strings as defined by B_NAME in BROKER table. Names are randomly selected from the broker range, with uniform broker_list[ ] IN distribution. The list size is determined by the first null input name in the broker_list array. A randomly selected sector name string as defined in SC_NAME in SECTOR table sector_name IN using uniform distribution. list_len OUT Number of in the list being returned. status OUT Code indicating the execution status for this transaction. A list of numbers, sorted in descending order, representing the sum of all trade request values (TR_QTY * TR_BID_PRICE) in the TRADE_REQUEST table for stocks volume[ ] OUT in a given sector grouped by broker names provided by broker_list. The list size is determined by list_len parameter. Broker-Volume Transaction Database Footprint This Transaction is read-only and makes no changes to the database. The Broker-Volume Database Footprint is as follows: Broker-Volume Database Footprint Frame Table Column 1 BROKER B_NAME Return TR_BID_PRICE Reference TRADE_REQUEST TR_QTY Reference Transaction Control Commit Broker Volume Transaction Frame 1 of 1 The database access methods used in Frame 1 are all Returns. The VGenTxnHarness controls the execution of Frame 1 as follows:
Broker-Volume Transaction Parameters The inputs to the Broker-Volume Transaction are generated by the VGenDriverCE code in CETxnInputGenerator.cpp and the data structures defined in TxnHarnessStructs.h must be used to communicate the input and output parameters. Broker-Volume Interfaces Module/Data Structure CE Input generation GenerateBrokerVolumeInput() Transaction Input/Output Structure TBrokerVolumeTxnInput TBrokerVolumeTxnOutput Frame 1 Input/Output Structure TBrokerVolumeTxnInput TBrokerVolumeFrame1Output Broker-Volume Transaction Parameters: Parameter Direction Description broker_list[ ] IN A list of twenty to forty distinct broker name strings as defined by B_NAME in BROKER table. Names are randomly selected from the broker range, with uniform distribution. The list size is determined by the first null input name in the broker_list array. sector_name IN A randomly selected sector name string as defined in SC_NAME in SECTOR table using uniform distribution. list_len OUT Number of in the list being returned. status OUT Code indicating the execution status for this transaction. volume[ ] OUT A list of numbers, sorted in descending order, representing the sum of all trade request values (TR_QTY * TR_BID_PRICE) in the TRADE_REQUEST table for stocks in a given sector grouped by broker names provided by broker_list. The list size is determined by list_len parameter. Broker-Volume Transaction Database Footprint This Transaction is read-only and makes no changes to the database. The Broker-Volume Database Footprint is as follows: Broker-Volume Database Footprint Table Column Frame 1 BROKER B_NAME Return TRADE_REQUEST TR_BID_PRICE Reference TR_QTY Reference Transaction Control Commit Broker Volume Transaction Frame 1 of 1 The database access methods used in Frame 1 are all Returns. The VGenTxnHarness controls the execution of Frame 1 as follows:
tpcx-v_v2.1.0.docx