[This message was posted by Sergey Axenov of Metabit Systems Co., Ltd.
<[email protected]> to the "Algorithmic Trading" discussion forum at
http://fixprotocol.org/discuss/31. You can reply to it on-line at
http://fixprotocol.org/discuss/read/2e060fef - PLEASE DO NOT REPLY BY MAIL.]
.. with 2 or more operands.
XOR is interpreted as "Odd" function. It is "True" IIF odd number of operands
are true. Is that correct for ATDL?
This is why I am asking, I received an ATDL file with a definition like this:
<val:StrategyEdit errorMessage="Please specify one type of Premium or Discount">
<val:Edit logicOperator="XOR">
<val:Edit field="AbsPremium" operator="EX"/>
<val:Edit field="PctPremium" operator="EX"/>
<val:Edit field="PctDiscount" operator="EX"/>
</val:Edit>
</val:StrategyEdit>
How would you interpret this? Using "Odd" XOR definition the validation is
passed when all 3 are set.
[You can unsubscribe from this discussion group by sending a message to
mailto:[email protected]]
--
You received this message because you are subscribed to the Google Groups
"Financial Information eXchange" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fix-protocol?hl=en.