[This message was posted by Dev Ashish of Lab49 <[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/6c15bf9a -
PLEASE DO NOT REPLY BY MAIL.]
2 questions:
1) Numeric_t is the only parameter type which seems to be missing const and
constValue attributes. Any particular reasons for this?
2) What are the thoughts around how the UI is supposed to clear fields that may
be used in stateRules and strategyEdit? For example, the sample OPLX strategy
defines the following:
<flow:StateRule value="0">
<val:Edit field="Posting" operator="EQ"
value="e_NOPOST"/>
</flow:StateRule>
<val:StrategyEdit errorMessage="DisplaySize does not match Posting
selection">
<val:Edit logicOperator="OR">
<val:Edit logicOperator="AND">
<val:Edit field="Posting" operator="EQ"
value="e_SMART"/>
<val:Edit field="DisplaySize"
operator="NX"/>
</val:Edit>
<val:Edit logicOperator="AND">
<val:Edit field="Posting" operator="EQ"
value="e_NOPOST"/>
<val:Edit field="DisplaySize" operator="EQ"
value="0"/>
</val:Edit>
<val:Edit logicOperator="AND">
<val:Edit field="Posting" operator="EQ"
value="e_Custom"/>
<val:Edit field="DisplaySize"
operator="EX"/>
</val:Edit>
</val:Edit>
</val:StrategyEdit>
if the user selected e_NOPOST and then changed the value, the control with the
stateRule will fail the validation since it didn't get reset to NULL. In order
to correctly handle this without writing special code, I had to add another
stateRule (which looks hacky to me).
<flow:StateRule value="">
<val:Edit field="Posting" operator="NE"
value="e_NOPOST"/>
</flow:StateRule>
[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
-~----------~----~----~----~------~----~------~--~---