[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

&lt;Parameter name=&quot;SweepDistribution&quot; xsi:type=&quot;Char_t&quot; 
fixTag=&quot;7640&quot;    use=&quot;required&quot;&gt;
  &lt;EnumPair enumID=&quot;e_Uniform&quot; wireValue=&quot;U&quot;&gt;
        &lt;Description&gt;The 'Uniform' setting for Sweep 
Distribution&lt;/Description&gt;
  &lt;/EnumPair&gt;
  &lt;EnumPair enumID=&quot;e_Gaussian&quot; wireValue=&quot;G&quot;&gt;
        &lt;Description&gt;The 'Gaussian' setting for Sweep 
Distribution&lt;/Description&gt;
  &lt;/EnumPair&gt;
&lt;/Parameter&gt;
        
&lt;lay:Control xsi:type=&quot;lay:TextField_t&quot; ID=&quot;Variance&quot; 
label=&quot;Variance&quot; parameterRef=&quot;Variance&quot;&gt;
        &lt;flow:StateRule enabled=&quot;true&quot;&gt;
                &lt;val:Edit field=&quot;m_sd&quot; operator=&quot;EQ&quot; 
value=&quot;e_Gaussian&quot;/&gt;
        &lt;/flow:StateRule&gt;
&lt;/lay:Control&gt;

&lt;lay:Control ID=&quot;m_sd&quot; xsi:type=&quot;lay:DropDownList_t&quot; 
label=&quot;Sweep Distribution&quot; parameterRef=&quot;SweepDistribution&quot; 
initValue=&quot;Uniform&quot;&gt;
        &lt;lay:ListItem enumID=&quot;e_Uniform&quot; 
uiRep=&quot;Uniform&quot;/&gt;
        &lt;lay:ListItem enumID=&quot;e_Gaussian&quot; 
uiRep=&quot;Gaussian&quot;/&gt;
&lt;/lay:Control&gt;

[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
-~----------~----~----~----~------~----~------~--~---

Reply via email to