Giter Club home page Giter Club logo

fix-json-encoding-spec's Introduction

fix-json-encoding-spec's People

Contributors

donmendelson avatar mgatny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fix-json-encoding-spec's Issues

Character encoding

The spec should say something about character encoding. The default encoding in FIX tag=value is US-ASCII, so converting it to JSON will implicitly be in that encoding. However, for web APIs, the expectation would be to use UTF-8 by default.

Timestamp precision

The spec mentions the limitations of the JavaScript Date object, but millisecond precision will be insufficient for some users. MiFID II requires microsecond or nanosecond precision, so the GTC has developed Time Precision Enhancement Technical Addendum that covers this topic.

Name of repeating group

The spec currently says

The name of a repeating group is the name of the associated NumInGroup field name as it appears in the FIX repository.

Why not use the name of the repeating group from the repository rather than its associated NumInGrp counter? Especially since JSON encoding doesn't need the array counter.

The example gives NoMDEntries as the repeating group object name. The repository gives two repeating group components that use that same counter, MDFullGrp and MDIncGrp. It should be one of those names to distinguish which group.

Support APIs using FIX mapping to JSON

The first release candidate of FIX JSON primarily considered the use case of translating tag=value encoding to JSON for web presentation of FIX messages. Such translation from existing messages does not require a formalized schema.

However, JSON has been popularized for web APIs as, largely as a substitute for complicated XML APIs. For a potential RC2, this use case should be considered. For example, a REST API could be provided that filters data by FIX fields encoded in JSON, while the result returns JSON-encoded FIX messages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.