[ts-gen] create & modify orders
Nils Gebhardt
mail at ngebhardt.de
Wed Apr 16 17:25:52 EDT 2008
Paul, Bill,
Thanks a lot for your help.
On Wed, 2008-04-16 at 10:41 +0100, Paul C wrote:
>
> > Scan: 14 17 0 <LMT>
> > 2 Term: mod TmpK (nil)
> > 3 Grammar rule: Terminal (TmpK)
> > 4 Grammar rule: Compound (mod)
> > 5 Syntax error:
> > 6 Cursor state: match; text is:
> > 7 create item 1 LMT 2 40.00 0.0;
> > 8 -----------------^------------
> > 9 Grammar rule: Compound (create)
> > 10 Syntax error:
> > 11 Cursor state: match; text is:
> > 12 create item 1 LMT 2 40.00 0.0;
> > 13 -----------------^------------
> > 14 Scan: 12 13 1 <1>
> > 15 Term: submit TmpK (nil)
> > 16 Grammar rule: Terminal (TmpK)
> > 17 Grammar rule: Compound (submit)
> > 18 Syntax error:
> > 19 Cursor state: match; text is:
> > 20 submit item 1;
> > 21 -------------^
> > 22 Terminal tag: name:TmpK index:3
>
> Maybe you are not using the "bind" command before the "create"? The
> example below seems to work. I've used strings "one" and "two", but
> they could be anything. I think the "12" is currently a dummy
> parameter that just needs to be there. Probably somebody will give a
> better explanation later, but hopefully this will work:
Indeed, I missed the point with 'bind'.
Shim errors disappeared, new tws errors occured. If I try GBL June
Contract, it says
"Security GBL is not allowed for this account...."
This used to work in my old setup. As I understand the table Template
replaces LineItem and requires about the same input and referes to table
Position. So, in this example, I have
+-----+------+-----+------+-----+-----+--------+------+------+------+------+------+------+------+---------+
| uid | side | pid | gid | pro | fid | pArent | gat | gud | size |
fad | iid | box | vid | comment |
| 8 | 1 | 6 | NULL | 2 | 2 | NULL | NULL | NULL | NULL |
NULL | NULL | NULL | NULL | NULL |
with pid refering to
| 6 | 216 | 2008-04-16 22:38:43 | 0000-00-00 00:00:00 | BUND |
which in turn refers to
+-----+------+-------+------+-----+
| uid | sid | route | unit | tag |
+-----+------+-------+------+-----+
| 216 | 5498 | 13 | 45 | 30 |
+-----+------+-------+------+-----+
in table Contract. tag 30 points to expiry 200806.
Has there anything changed causing some bad specification of the
contract?
regards
Nils
More information about the ts-general
mailing list