Comments (2)
if you want to do a quick pull, run locally and check it out @jlroo, go ahead. If it looks good then I will build a new npm and push that out.
$ file testfiles/cme100.txt.gz && ./fix2json.js -p ~/Desktop/fix2json/dict/FIX50SP2.CME.xml testfiles/cme100.txt.gz
testfiles/cme100.txt.gz: gzip compressed data, was "cme100.txt", from Unix, last modified: Fri Aug 19 16:55:15 2016
{
"ApplVerID": "FIX50SP2",
"BodyLength": 274,
"MsgType": "MARKETDATAINCREMENTALREFRESH",
"SenderCompID": "CME",
"MsgSeqNum": 2918,
"SendingTime": "20130714212647805",
"TradeDate": "20130715",
"NoMDEntries": 3,
"MDEntries": [
{
"MDUpdateAction": "NEW",
"SecurityIDSource": "EXCHANGE SYMBOL",
"SecurityID": "2975",
"RptSeq": 6,
"SecurityDesc": "6EU4",
"MDEntryType": "SIMULATED SELL PRICE",
"MDEntryPx": 13157,
"MDEntryTime": "212647000"
},
{
"SecurityIDSource": "EXCHANGE SYMBOL",
"SecurityID": "2975",
"RptSeq": 7,
"SecurityDesc": "6EU4",
"MDEntryType": "SIMULATED BUY PRICE",
"MDEntryPx": 13069,
"MDEntryTime": "212647000",
"MDUpdateAction": "NEW"
},
{
"SecurityIDSource": "EXCHANGE SYMBOL",
"SecurityID": "2975",
"RptSeq": 8,
"SecurityDesc": "6EU4",
"MDEntryType": "OFFER",
"MDEntryPx": 13157,
"MDEntrySize": 10,
"MDEntryTime": "212647000",
"TradingSessionID": "0",
"NumberOfOrders": 1,
"MDPriceLevel": 1
}
],
"CheckSum": "092"
}
...
from fix2json.
added in 0.5.0.
from fix2json.
Related Issues (19)
- Validate FIX repeating groups handling HOT 11
- TODO: Remove mnemonic lookups of value data
- TODO: Spec says no dictionary should be necessary, then how to handle repeating groups + round-trip
- TODO: Remove manufactured group field names and store array under No* field directly HOT 1
- TODO: Create header, body and trailer objects for output JSON. Need to cache a map of field to section, i.e. CheckSum->Trailer.
- TODO: Consider Output and Input strategy implementation
- TODO: Implement round-trip of json2fix from a spec-compliant object. Should be bit-identical each side of round-trip, with no semantic decay
- As per FIX JSON encoding spec, remove Checksum field from output JSON
- /usr/bin/env: βnodeβ: No such file or directory HOT 4
- CME Instruments File HOT 1
- Specify data dictionary name in lieu of full path to XML
- XML merge for data dictionaries HOT 3
- Relying on position of message attributes causes incompatibility with external dictionaries
- Dictionaries update HOT 5
- Component fields in 5.x dictionaries not accommodated HOT 18
- Return integer data type HOT 5
- Add extension pack support for dictionaries
- TODO: Represent numeric values as strings (see: early versions of fix2json)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fix2json.