[ts-gen] order placement
Mike Thornton
endoscope at gmail.com
Thu Apr 23 06:17:25 EDT 2009
Hi folks,
After looking through past posts, e.g.
http://www.trading-shim.org/pipermail/ts-general/2008-April/000190.html
http://www.trading-shim.org/pipermail/ts-general/2007-September/000087.html
I have a few questions regarding order placement.
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.
If I type "bind key(abc) to oid(30545);", then I see the following error
message
Scan: 8 9 0 <(>
Term: key : (nil)
Process rule: Terminal (:)
Process rule: Compound (key)
Syntax error:
Grammar rule: Compound key
Cursor state: match; text is:
bind key(abc) to oid(30545);
---------^------------------
Process rule: MetaData (LhsK)
Process rule: Compound (bind)
Syntax error:
Grammar rule: Compound bind
Cursor state: match; text is:
bind key(abc) to oid(30545);
---------^------------------
Drop: abc) to oid(30545);
What am I doing wrong? Do both of the order placement methods in the above
links still work?
2. As I understand, the order id comes from the Product.uid field. How do
I specify the exchange?
Thx.
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.trading-shim.org/pipermail/ts-general/attachments/20090423/e4228491/attachment.html
More information about the ts-general
mailing list