<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'>Hi.<br><br>Here is my current issue with Shim.<br>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.<br>My testing database is fine, my TWS paper trade account to, but I have an issue I can't understand. <br>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...<br>And when I try to get the next one, uid=12, GM, I get data from symbol DD.<br>For uid=13, I get data from symbol DIS, etc, etc...<br><br><br>This
 what I've done:<br>------<br>sam@garage:~/shim-080523$ ./shim --data file save<br><br>The trading shim has finished program initialization, including the setup of<br>successful connections to the database and IB tws.&nbsp; ...&nbsp; The symbol database<br>and 37963 abstract products have been read in as well.<br><br>select past&nbsp; 11&nbsp; 5 Ymd_T(20080102&nbsp; 16:00:00);&nbsp;&nbsp; wait 11;<br>select past&nbsp; 12&nbsp; 5 Ymd_T(20080102&nbsp; 16:00:00);&nbsp;&nbsp; wait 11;<br>select past&nbsp; 13&nbsp; 5 Ymd_T(20080102&nbsp; 16:00:00);&nbsp;&nbsp; wait 11;<br>-----<br>and the result:<br>-----<br>sam@garage:~/shim-080523$ ls -lrt *.hql<br>-rw-r--r-- 1 sam sam 9658 2008-06-16 12:23 STK.SMART.CSC.hql<br>-rw-r--r-- 1 sam sam 9569 2008-06-16 12:23 STK.SMART.DD.hql<br>-rw-r--r-- 1 sam sam 9666 2008-06-16 12:24 STK.SMART.DIS.hql<br>-----<br>I really don't understand what's happening, and why when I want:<br>- uid 10: I got data from uid 68<br>- uid 11:
 I got data from uid 0<br>- uid 12: I got data from uid 9<br>- uid 13: I got data from uid 78 <br>- uid 40: I got data from uid 27 <br>- uid 39: I got data from uid 163<br>- uid 38: I got data from uid 6 <br><br>Any idea ?<br><br>Thx.<br><br>Sam.<br></td></tr></table><br>



      <hr size="1"> 
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a>