[ts-gen] create & modify orders

Nils Gebhardt mail at ngebhardt.de
Thu Apr 17 16:50:25 EDT 2008

On Thu, 2008-04-17 at 13:20 -0400, Bill Pippin wrote:

> >                     ... 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.
> Some questions to localize the problem follow.  Although I realize
> your post suggests that the first can't be the problem, and the
> second is obvious, I just want to be sure:


>     4. What is the text of the request stream, for
>        subscriptions as well as orders, to GBL?


>  In (4) above, by request text I mean the results of
> running the shim with the save and file options on, and feeding
> tws2shim.bin through bin/req.filter .

I knew there was some handy debugging source... 
OK, shim2tws look like 

old version:


new version (shim-080326): 


apart from the fact that new version has double lenght it picks
appearently the wrong destination, namely 'SMART' instead of 'DTB'. 
After correcting corresponding default settings in 'Contract' table
(route 13 -> 87, formerly 18) table everything is fine. 

The corresponding LocalSet entries are identical, however - in fact
unchanged from the defaults, looking like

| 216 | FUT  | DTB      | EUR  | GBL       |  24 | SMART    |   

wrong destination route, wrong expiry - but appearently that doesn't
harm. So - can't  this table safely be ignored?



More information about the ts-general mailing list