[ts-gen] Trouble with new syntax for stocks

Paolo Volpato dormilon at web.de
Mon Mar 16 19:26:20 EDT 2009


Hello Bill,

just installed the most recent shim version here (Ubuntu 8.04)
yesterday to give the new syntax a try for retrieving historical
stock data.
However, the old syntax (introduced with shim-090227) keeps
doing well while the new one only leads to "Syntax error"
messages.

The following lines are a copy (stdout) of a trial to dump
historical data of german stock Metro (MEO) routed at
Xetra (IBIS). First I dumped the data with the "old" syntax
(worked well), then I tried the new syntax for the same stock
and route...

********************************************************************

hormigon at hormigon-desktop:~/shim/shim-090313$ ./shim --data

          The trading shim has connected to the database server
          and loaded 51651 products; connected to the IB tws as
          client id  1; and queried for the account code, which
          seems to be XX99999.  Program initialization has been
          completed.

select past ibc:1907293 at IBIS m1  1  1d Ymd_T(20090316  18:00:00);    
wait 11;
select past ibc:1907293 at IBIS m1  1  1d Ymd_T(20090316  18:00:00);    
wait 11;
select past STK:IBIS:MEO:EUR m1   1  1d Ymd_T(20090316  18:00:00);    
wait 11;
Process rule: NonInput (ValA)
Process rule: Compound (STK)
Syntax error:
Grammar rule: Compound STK    
Cursor state: match; text is:
select past STK:IBIS:MEO:EUR m1   1  1d Ymd_T(20090316  18:00:00);
----------------------------^-------------------------------------
Process rule: MetaData (Expr)
Process rule: Compound (past)
Syntax error:
Grammar rule: Compound past   
Cursor state: match; text is:
select past STK:IBIS:MEO:EUR m1   1  1d Ymd_T(20090316  18:00:00);
----------------------------^-------------------------------------
Drop:  m1   1  1d Ymd_T(20090316  18:00:00);
Drop: wait 11;

*********************************************************************


I wonder what went wrong here.
Any hints are welcome.

Best regards,

Paolo

]B^)=


More information about the ts-general mailing list