fix-repo
npm package for easy accessible FIX Repository information, without parsing the xml repository
Installation
To install the package, simply run the following
npm install fix-repo
Usage
To get information for 35=D
in FIX 5.0
:
; const msgTypeField = Fix50;const msgTypeCodeSet = msgTypeFieldcodeSet;const code = msgTypeCodeSetcodes'D'; // code.name === 'NewOrderSingle'
To get message type info in FIX 4.4
:
; { const structureType = structuretype; if structureType instanceof Group // num tag of the Repeating Group const numTag = structureTypenumInGroupId; // Could consume the repeating group's structures by recursion structureTypestructures; else if structureType instanceof Field // structureType is Field else if structureType instanceof Component // Could consume the component's structures by recursion structureTypestructures; } const msgType = Fix44;msgTypestructures;
To Build
Run the following command
npm install -g gulp-cli
npm install
gulp
License
Apache-2.0