drewnoakes / fix-decoder

Unravels FIX messages into human readable tables
https://drewnoakes.com/fix-decoder/
80 stars 34 forks source link

Tag 1057 does not display Field Name value #21

Open techie2000 opened 5 years ago

techie2000 commented 5 years ago

Expected Output

1057 | AggressorIndicator | BLAH

Actual Output

1057 | | BLAH

Valid dictionary values of BLAH are

'Y' | Order initiator is aggressor 'N' | Order initiator is passive

whatthefrog commented 5 years ago

Hi @techie2000

I do not see a tag 1057 definition in FIX4.4

https://www.onixs.biz/fix-dictionary/4.4/tagnum_1057.html = HTTP 404

This might well be one of the many custom fields that FIX vendors are using... These are not possible to list in fixdecoder as per-se, as they may even conflict in definition in 2 different FIX vendors...

you can add this field in data.js in a local git branch of the project (fork it, or just clone it)

fixdecoder is not yet designed to handle more than 1 field catalog file, yet that feature could be added, if one is willing to. that could be done with specific files under, for example say /scripts/catalogs/<vendorname>.js

The <vendorname>.js files could then either be maintained here under fixdecoder, or in specific repos, either public or private

whatthefrog commented 5 years ago

of I see, this is a FIX5.0 field

https://www.onixs.biz/fix-dictionary/5.0/tagnum_1057.html

well @drewnoakes might give insight on if he took FIX5.0 in consideration at the time he started the project

drewnoakes commented 5 years ago

There's currently no support for per-FIX-version handling. At the time I wrote this I was only using FIX4.4. Ideally the project would have separate data structures per FIX version and decode accordingly.