[ts-gen] (no subject)

sam sam_backtester at yahoo.fr
Mon Jun 16 09:48:55 EDT 2008


Hi.

Here is my current issue with Shim.
So, I've tried to use Shim, read that:
http://www.trading-shim.org/pipermail/ts-general/2008-March/000168.html
, and tried to do the same thing, to get some historical data.
My testing database is fine, my TWS paper trade account to, but I have an issue I can't understand. 
When
I try to get the first Dow30 stock historical data, syms=11, so what is
suppoded to be GE (id 11 in LocalSet), I get the values from a stock
named CSC, which is uid=68 in LocalSet...
And when I try to get the next one, uid=12, GM, I get data from symbol DD.
For uid=13, I get data from symbol DIS, etc, etc...


This
 what I've done:
------
sam at garage:~/shim-080523$ ./shim --data file save

The trading shim has finished program initialization, including the setup of
successful connections to the database and IB tws.  ...  The symbol database
and 37963 abstract products have been read in as well.

select past  11  5 Ymd_T(20080102  16:00:00);   wait 11;
select past  12  5 Ymd_T(20080102  16:00:00);   wait 11;
select past  13  5 Ymd_T(20080102  16:00:00);   wait 11;
-----
and the result:
-----
sam at garage:~/shim-080523$ ls -lrt *.hql
-rw-r--r-- 1 sam sam 9658 2008-06-16 12:23 STK.SMART.CSC.hql
-rw-r--r-- 1 sam sam 9569 2008-06-16 12:23 STK.SMART.DD.hql
-rw-r--r-- 1 sam sam 9666 2008-06-16 12:24 STK.SMART.DIS.hql
-----
I really don't understand what's happening, and why when I want:
- uid 10: I got data from uid 68
- uid 11:
 I got data from uid 0
- uid 12: I got data from uid 9
- uid 13: I got data from uid 78 
- uid 40: I got data from uid 27 
- uid 39: I got data from uid 163
- uid 38: I got data from uid 6 

Any idea ?

Thx.

Sam.



      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.trading-shim.org/pipermail/ts-general/attachments/20080616/29627e0c/attachment.html 


More information about the ts-general mailing list