Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexibility in type specs #13

Open
cbusbey opened this issue Nov 16, 2013 · 0 comments
Open

Flexibility in type specs #13

cbusbey opened this issue Nov 16, 2013 · 0 comments

Comments

@cbusbey
Copy link
Contributor

cbusbey commented Nov 16, 2013

From the QFIX 201 presentation, @mgatny sez

 And the FIX message should have the following:
        | MsgType  | "NewOrderSingle" |
        | Symbol   | "AAPL"           |
        | Side     | "BUY"            |
        | OrderQty | 1.0              |
        | Price    | 10004.0          |
        | OrdType  | "LIMIT"          |
  • It would be better if I didn't have to put ".0" on the end of my price and qty, since I don't actually want it to be formatted that way in the message itself. Could be an interaction between rspec and the type of the quickfix field (e.g. float/bigdecimal)? Maybe we could add a feature where you could quote it, like "10004" to force a string comparison.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant