[QFJ-560] Need to change Tag 828, TrdType, to a string. Created: 29/Sep/10  Updated: 16/Oct/12  Resolved: 16/Oct/12

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Default
Reporter: S M Assignee: Unassigned
Resolution: Not a bug Votes: 0
Labels: None


 Description   

The fix message from ICE sends letters to denote a trade type. K is considered a block trade.

Type of trade, valid values
0 : Regular Trade
K: Block Trade
E: EFP Trade
S: EFS Trade
V: Bilateral Off-Exchange Trade
O: NG EFP/EFS Trade
9: CCX EFP Trade
J: EFR Trade
T - Contra Trade
Y - Cross Contra Trade
F - EFS/EFP Contra Trade



 Comments   
Comment by Laurent Danesi [ 30/Sep/10 ]

Hi,

The FIX spec (you can check on the official FIXimate site) declares this field as int:

Tag Field Name XML Name Data Type
828 TrdType @TrdTyp int

So, we cannot change it in the default DataDictionnary.
Anyway, you can create your own custom DataDictionnary that will fill your need and ICE requirements.

Regards,

Laurent DANESI

Comment by S M [ 30/Sep/10 ]

Ok thanks.

Here is a work around if someone does not want to create a custom DataDictionary.

TradeCaptureReport message;
String value = message.getString(828);

or

String value = message.getField(new StringField(828)).getValue();

Generated at Sun Apr 28 22:12:54 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.