Hi folks,<br><br>After looking through past posts, e.g. <br><br><a href="http://www.trading-shim.org/pipermail/ts-general/2008-April/000190.html">http://www.trading-shim.org/pipermail/ts-general/2008-April/000190.html</a><br>
<a href="http://www.trading-shim.org/pipermail/ts-general/2007-September/000087.html">http://www.trading-shim.org/pipermail/ts-general/2007-September/000087.html</a><br><br>I have a few questions regarding order placement.<br>
<br>1. The following shim command "order(30545,MKT,Submit,20000,0,0,0)" -- which is supposed to purchase 20,000 EUR.USD -- results in a "Drop: (30545,MKT,Submit,20000,0,0,0)" message. An "order(30545,MKT,Create,20000,0,0,0);" results in the same message. <br>
<br>If I type "bind key(abc) to oid(30545);", then I see the following error message<br><br>Scan: 8 9 0 <(><br>Term: key : (nil)<br>Process rule: Terminal (:)<br>Process rule: Compound (key)<br>Syntax error:<br>
Grammar rule: Compound key <br>Cursor state: match; text is:<br>bind key(abc) to oid(30545);<br>---------^------------------<br>Process rule: MetaData (LhsK)<br>Process rule: Compound (bind)<br>Syntax error:<br>Grammar rule: Compound bind <br>
Cursor state: match; text is:<br>bind key(abc) to oid(30545);<br>---------^------------------<br>Drop: abc) to oid(30545);<br><br><br>What am I doing wrong? Do both of the order placement methods in the above links still work?<br>
<br><br>2. As I understand, the order id comes from the Product.uid field. How do I specify the exchange? <br><br>Thx.<br>Mike<br><br>