[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/0009b1af -
PLEASE DO NOT REPLY BY MAIL.]
A strategy contains some EnumPairs tied to a Parameter_t, P1, which is then
referenced from a Control_t, C1, (with its own ListItems) via parameterRef
(like Tazer in sampleStrategiesfor-v1.1.xml).
When defining a rule via StrategyEdit_t/Edit_t, is the valid "value" supposed
to refer to a ListItem's uiRep or P1's wireValue? Or are both acceptable (since
there's no enforcement)?
Along similar lines, if another Control_t, C2, defines a StateRule referring to
C1, is C2's Edit_t value supposed to contain C1 ListItem enumID/uiRep or P1's
wireValue?
Example below
Thanks
<Parameter name="SweepDistribution" xsi:type="Char_t"
fixTag="7640" use="required">
<EnumPair enumID="e_Uniform" wireValue="U">
<Description>The 'Uniform' setting for Sweep
Distribution</Description>
</EnumPair>
<EnumPair enumID="e_Gaussian" wireValue="G">
<Description>The 'Gaussian' setting for Sweep
Distribution</Description>
</EnumPair>
</Parameter>
<lay:Control xsi:type="lay:TextField_t" ID="Variance"
label="Variance" parameterRef="Variance">
<flow:StateRule enabled="true">
<val:Edit field="m_sd" operator="EQ"
value="e_Gaussian"/>
</flow:StateRule>
</lay:Control>
<lay:Control ID="m_sd" xsi:type="lay:DropDownList_t"
label="Sweep Distribution" parameterRef="SweepDistribution"
initValue="Uniform">
<lay:ListItem enumID="e_Uniform"
uiRep="Uniform"/>
<lay:ListItem enumID="e_Gaussian"
uiRep="Gaussian"/>
</lay:Control>
[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
-~----------~----~----~----~------~----~------~--~---