Giter Club home page Giter Club logo

Comments (4)

donmendelson avatar donmendelson commented on May 30, 2024

In FIX, the base type of Price, Qty, Amt and Percentage is called "float". It may be used as a semantic type if it doesn't fit those specific categories.

(The FIX Repository contains the datatype taxonomy and mapping to other standards. Float and its subtypes all map to xs:decimal in FIXML.)

from fix-simple-binary-encoding.

RFrenkel avatar RFrenkel commented on May 30, 2024

I have been using Float in these cases, but the RC4 documentation doesn't allow for a Float to be presented as decimal encoding:
https://github.com/FIXTradingCommunity/fix-simple-binary-encoding/blob/master/v1-0-RC4/doc/02FieldEncoding.md

Could the documentation be updated to allow for it?

from fix-simple-binary-encoding.

donmendelson avatar donmendelson commented on May 30, 2024

I see your point. There is confusion between FIX semantic type float and IEEE floating point primitive. The FIX semantic type system doesn't properly distinguish between floating point and fixed point numbers or between binary and exact decimal numbers.

from fix-simple-binary-encoding.

donmendelson avatar donmendelson commented on May 30, 2024

Discussed on June 21 call.

There are issues with the FIX datatype taxonomy. The float type is used represent ratios, rates, price increments and more. This should be clarified.

Nevertheless, semanticType attribute is metadata for the application layer. SBE implementations should not restrict wire format based on semantic type.

from fix-simple-binary-encoding.

Related Issues (20)

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.