<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Dinosaur Technology and Trading: Last 35 Posts</title>
<link>http://www.dinosaurtech.com/forums/</link>
<description>Dinosaur Technology and Trading: Last 35 Posts</description>
<language>en</language>
<pubDate>Fri, 29 Aug 2008 00:36:43 +0000</pubDate>

<item>
<title>Neil on "TrailingStopLimit description needs a space"</title>
<link>http://www.dinosaurtech.com/forums/topic/trailingstoplimit-description-needs-a-space#post-209</link>
<pubDate>Mon, 25 Aug 2008 20:56:44 +0000</pubDate>
<dc:creator>Neil</dc:creator>
<guid isPermaLink="false">209@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;The description attribute for TrailingStopLimit of enum OrderType is [Description(&#34;TRAILLIMIT&#34;)], but needs to be [Description(&#34;TRAIL LIMIT&#34;)] else a System.InvalidCastException occurs.
&#60;/p&#62;</description>
</item>
<item>
<title>Neil on "1 second historical data requests appear not to work"</title>
<link>http://www.dinosaurtech.com/forums/topic/1-second-historical-data-requests-appear-not-to-work#post-208</link>
<pubDate>Mon, 25 Aug 2008 12:41:44 +0000</pubDate>
<dc:creator>Neil</dc:creator>
<guid isPermaLink="false">208@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Thanks Karl, changing [Description(&#34;1 sec&#34;)] to [Description(&#34;1 secs&#34;)] in enum BarSize made it work.&#60;/p&#62;
&#60;p&#62;Here is some 1-second data:&#60;/p&#62;
&#60;p&#62;DATETIME,OPEN,HIGH,LOW,CLOSE,VOLUME,SYMBOL&#60;br /&#62;
22-Aug-2008 12:59:30,97.94,97.95,97.94,97.95,5,DNA&#60;br /&#62;
22-Aug-2008 12:59:31,97.95,97.95,97.94,97.94,14,DNA&#60;br /&#62;
22-Aug-2008 12:59:32,97.95,97.95,97.95,97.95,3,DNA&#60;br /&#62;
22-Aug-2008 12:59:33,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:34,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:35,97.95,97.95,97.95,97.95,1,DNA&#60;br /&#62;
22-Aug-2008 12:59:36,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:37,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:38,97.95,97.95,97.95,97.95,1,DNA&#60;br /&#62;
22-Aug-2008 12:59:39,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:40,97.94,97.94,97.94,97.94,1,DNA&#60;br /&#62;
22-Aug-2008 12:59:41,97.94,97.94,97.94,97.94,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:42,97.94,97.94,97.94,97.94,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:43,97.94,97.94,97.94,97.94,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:44,97.94,97.94,97.94,97.94,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:45,97.95,97.95,97.95,97.95,1,DNA&#60;br /&#62;
22-Aug-2008 12:59:46,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:47,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:48,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:49,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:50,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:51,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:52,97.95,97.95,97.95,97.95,27,DNA&#60;br /&#62;
22-Aug-2008 12:59:53,97.95,97.98,97.95,97.98,21,DNA&#60;br /&#62;
22-Aug-2008 12:59:54,97.98,97.98,97.98,97.98,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:55,97.96,97.96,97.96,97.96,5,DNA&#60;br /&#62;
22-Aug-2008 12:59:56,97.95,97.95,97.95,97.95,1,DNA&#60;br /&#62;
22-Aug-2008 12:59:57,97.95,97.95,97.95,97.95,0,DNA&#60;br /&#62;
22-Aug-2008 12:59:58,97.98,97.98,97.98,97.98,21,DNA&#60;br /&#62;
22-Aug-2008 12:59:59,97.98,97.98,97.98,97.98,0,DNA
&#60;/p&#62;</description>
</item>
<item>
<title>dwc144 on "How does IBClient.Run avoid the end of the stream?"</title>
<link>http://www.dinosaurtech.com/forums/topic/how-does-ibclientrun-avoid-the-end-of-the-stream#post-207</link>
<pubDate>Mon, 18 Aug 2008 15:27:58 +0000</pubDate>
<dc:creator>dwc144</dc:creator>
<guid isPermaLink="false">207@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Thanks for your reply, Karl.  Okay, that helps to narrow down the source of my incomprehension.  Here's the bit I don't understand.  Inside IBClient.Run we have:&#60;/p&#62;
&#60;p&#62; while (!Stopping &#38;#38;&#38;#38; ProcessMsg((IncomingMessage)ReadInt())) ;&#60;/p&#62;
&#60;p&#62;Now the ReadInt calls ReadStr, which in turn includes:&#60;/p&#62;
&#60;p&#62; sbyte c = (sbyte)dis.ReadByte();&#60;/p&#62;
&#60;p&#62;The thing I don't get is why the continuous calls to ReadByte on this worker thread don't quickly exhaust the stream (and cause an EndOfStream exception).  According to the MSDN documentation, the ReadByte call, &#60;/p&#62;
&#60;p&#62;&#34;Reads the next byte from the current stream and advances the current position of the stream by one byte.&#34;&#60;/p&#62;
&#60;p&#62;Is the answer something as simple as that the ReadByte call on the NetworkStream never actually reaches the end, because another null or zero value byte is dropped onto the end of the stream, as quickly as the ReadByte call mows through the stream?
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "9.6 In Progress"</title>
<link>http://www.dinosaurtech.com/forums/topic/96-in-progress#post-206</link>
<pubDate>Mon, 18 Aug 2008 08:56:00 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">206@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Just thought I'd throw out a note that I am working on integrating the 9.60 beta functionality, but have not yet received the new TWS client. In any case I will release the new client once I finish the port and do some testing.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "How does IBClient.Run avoid the end of the stream?"</title>
<link>http://www.dinosaurtech.com/forums/topic/how-does-ibclientrun-avoid-the-end-of-the-stream#post-205</link>
<pubDate>Mon, 18 Aug 2008 08:54:38 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">205@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;I am not sure I follow what you are saying entirely. The reader is matching IB's functionality, in that it assumes the TCP layer provides a 100% accurate stream, and that every command fully parses the arguments. This should always result in the processmsg receiving an opcode, and if it doesn't, something has gone wrong, and it should terminate.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "1 second historical data requests appear not to work"</title>
<link>http://www.dinosaurtech.com/forums/topic/1-second-historical-data-requests-appear-not-to-work#post-204</link>
<pubDate>Mon, 18 Aug 2008 08:47:50 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">204@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;I think my barsize enum has a bug - 1 sec should be changed to 1 secs. This is strange since I know this used to work. I just updated it to 1 secs on my copy and will include it in the next release.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Cannot get serverVersion"</title>
<link>http://www.dinosaurtech.com/forums/topic/cannot-get-serverversion#post-203</link>
<pubDate>Mon, 18 Aug 2008 08:46:25 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">203@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;That just means that you are not connecting - check your firewall, and make sure that TWS has the API enabled.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "CancelOrder"</title>
<link>http://www.dinosaurtech.com/forums/topic/cancelorder#post-202</link>
<pubDate>Mon, 18 Aug 2008 08:45:48 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">202@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hello Zark - the best way to track order Id's is to cancel an order by the order ID that you placed it with, rather than using the response arguments. IB uses various other Id's that they return in the arguments which, as you found, do not correlate to what you sent.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Cannot find RequestRealtimeBars documentation"</title>
<link>http://www.dinosaurtech.com/forums/topic/cannot-find-requestrealtimebars-documentation#post-201</link>
<pubDate>Mon, 18 Aug 2008 08:42:55 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">201@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hello Clam - I have not updated the api documentation in a little while - check &#60;a href=&#34;http://individuals.interactivebrokers.com/en/software/apiReleaseNotes/api9.2.php&#34; rel=&#34;nofollow&#34;&#62;http://individuals.interactivebrokers.com/en/software/apiReleaseNotes/api9.2.php&#60;/a&#62; for the latest on this function.
&#60;/p&#62;</description>
</item>
<item>
<title>dwc144 on "How does IBClient.Run avoid the end of the stream?"</title>
<link>http://www.dinosaurtech.com/forums/topic/how-does-ibclientrun-avoid-the-end-of-the-stream#post-200</link>
<pubDate>Wed, 13 Aug 2008 14:10:16 +0000</pubDate>
<dc:creator>dwc144</dc:creator>
<guid isPermaLink="false">200@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;This is a &#34;that's interesting, how does that work&#34; question, rather than a bug report.  As such, I appreciate the indulgence of anyone able to offer an explanation.&#60;/p&#62;
&#60;p&#62;Based on my first quick reading of your excellent C# client code, the reader thread within the IBClient continously polls a BinaryReader object (dis), which in turn listens to the NetworkStream of the TcpClient (socket).&#60;/p&#62;
&#60;p&#62;I was surprised to see that IBClient.ProcessMsg does not appear to expect zeroes to be passed to it.  (If ProcessMsg is passed a zero, that would correspond to IncomingMessage.UnexpectedValue, which is not tested in the switch and would result in ProcessMsg returning a false value via the default, and would promptly close the connection!)  By my reading, a zero would be returned by ReadInt any time that IBClient.ReadStr were to make it all the way to the end of the BinaryReader's stream.  Out of interest, as I learn more about streams and C#, how come you don't routinely catch up to the end of the BinaryReader's stream from the first .ReadByte within ReadStr, OR, end up passing more zeroes to the ProcessMsg?
&#60;/p&#62;</description>
</item>
<item>
<title>Neil on "1 second historical data requests appear not to work"</title>
<link>http://www.dinosaurtech.com/forums/topic/1-second-historical-data-requests-appear-not-to-work#post-199</link>
<pubDate>Tue, 12 Aug 2008 23:11:09 +0000</pubDate>
<dc:creator>Neil</dc:creator>
<guid isPermaLink="false">199@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;For all BarSize intervals except BarSize.OneSecond, a statement like this works for me&#60;/p&#62;
&#60;p&#62;client.RequestHistoricalData(ThisRequestId, history_contract,&#60;br /&#62;
                  endDateTime, duration, BarSize.FiveSeconds,&#60;br /&#62;
                  HistoricalDataType.Trades, 1);&#60;/p&#62;
&#60;p&#62;returning me historical data of asked-for BarSize.&#60;/p&#62;
&#60;p&#62;However, BarSize.OneSecond, with a requested duration of 30 seconds or of any duration, gives this error message:&#60;/p&#62;
&#60;p&#62;Error 321 Error validating request:-'tb' : cause - Historical data bar size setting is invalid. Legal ones are: 1 secs, 5 secs, 15 secs, 30 secs, 1 min, 2 mins, 3 mins, 5 mins, 15 mins, 30 mins, 1 hour, 1 day, 1 week, 1 month, 3 months, 1 year. TickerId = 1.
&#60;/p&#62;</description>
</item>
<item>
<title>lalunegrosse on "Cannot get serverVersion"</title>
<link>http://www.dinosaurtech.com/forums/topic/cannot-get-serverversion#post-198</link>
<pubDate>Tue, 12 Aug 2008 21:12:37 +0000</pubDate>
<dc:creator>lalunegrosse</dc:creator>
<guid isPermaLink="false">198@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Now, I'm using IBClient version 9510 and Visual C# 2005. Connect and disconnect with some time and catch error on line:&#60;br /&#62;
sbyte c = (sbyte) dis.ReadByte();&#60;br /&#62;
when get server version from : serverVersion = ReadInt();&#60;br /&#62;
Error message: &#34;Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.&#34;&#60;br /&#62;
Someone can help me, please???
&#60;/p&#62;</description>
</item>
<item>
<title>zark on "CancelOrder"</title>
<link>http://www.dinosaurtech.com/forums/topic/cancelorder#post-197</link>
<pubDate>Tue, 12 Aug 2008 12:10:44 +0000</pubDate>
<dc:creator>zark</dc:creator>
<guid isPermaLink="false">197@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Heyia :)&#60;/p&#62;
&#60;p&#62;just starting out with this great c# lib !&#60;/p&#62;
&#60;p&#62;I'm having an issue with canceling an order on tws&#60;/p&#62;
&#60;p&#62;basically i'm doing :&#60;/p&#62;
&#60;p&#62;client.CancelOrder(e.Execution.OrderId);&#60;/p&#62;
&#60;p&#62;(with e being an : ExecDetailsEventArgs e )&#60;/p&#62;
&#60;p&#62;IB sends me back an error : &#60;/p&#62;
&#60;p&#62;[4;2;515;135;Can't find order with id =515]&#60;/p&#62;
&#60;p&#62;i tryed with e.Execution.PermId, same problem (can't find order)&#60;/p&#62;
&#60;p&#62;I can't seem to find which int to send to IB to cancel an order ?
&#60;/p&#62;</description>
</item>
<item>
<title>clam61 on ""Invalid Route" for RT Bars"</title>
<link>http://www.dinosaurtech.com/forums/topic/invalid-route-for-rt-bars#post-196</link>
<pubDate>Sun, 10 Aug 2008 19:40:56 +0000</pubDate>
<dc:creator>clam61</dc:creator>
<guid isPermaLink="false">196@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;i get the invalid route using realtime bars in the sample program, when i changed the symbol to be the EUR.  it is sunday, and the forex market is open
&#60;/p&#62;</description>
</item>
<item>
<title>clam61 on "Invalid route error"</title>
<link>http://www.dinosaurtech.com/forums/topic/invalid-route-error#post-195</link>
<pubDate>Sat, 09 Aug 2008 13:26:21 +0000</pubDate>
<dc:creator>clam61</dc:creator>
<guid isPermaLink="false">195@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;I slightly modified the provided test program, changing the realtime bar request from google to the EUR&#60;/p&#62;
&#60;p&#62;Forex EUR = new Forex(&#34;EUR&#34;, &#34;USD&#34;);&#60;br /&#62;
client.RequestRealTimeBars(16, EUR, 5, RealTimeBarType.Midpoint,false);&#60;/p&#62;
&#60;p&#62;I get an invalid route error.&#60;/p&#62;
&#60;p&#62;Could someone help?
&#60;/p&#62;</description>
</item>
<item>
<title>clam61 on "Cannot find RequestRealtimeBars documentation"</title>
<link>http://www.dinosaurtech.com/forums/topic/cannot-find-requestrealtimebars-documentation#post-194</link>
<pubDate>Thu, 07 Aug 2008 22:57:41 +0000</pubDate>
<dc:creator>clam61</dc:creator>
<guid isPermaLink="false">194@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;I do not see this function in the latest documentation, but I have heard people talking about it.  Could someone link me to the latest docs?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Getting"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting#post-193</link>
<pubDate>Thu, 07 Aug 2008 15:37:48 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">193@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hey Alon,&#60;/p&#62;
&#60;p&#62;I am not exactly sure what you are doing - but if you are trying to connect/disconnect/reconnect to the IBClient, you'll be disappointed. On disconnects, I dispose of the IBClient object, and recreate it to reconnect. Give that a shot and see if it helps, or let me know some more details on how your program is err'ing&#60;/p&#62;
&#60;p&#62;-Karl
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Problem with reconnecting to TWS"</title>
<link>http://www.dinosaurtech.com/forums/topic/problem-with-reconnecting-to-tws#post-192</link>
<pubDate>Thu, 07 Aug 2008 15:30:52 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">192@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Yeah - I don't put a lot into cleaning up the object on a disconnect. In my usage, I always recreate the IBClient and remap things when I want to reconnect.&#60;/p&#62;
&#60;p&#62;If you end up making the neccesary cleanup code - shoot me a patch(or your updates), and I'll incorporate them.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Snapshot market data"</title>
<link>http://www.dinosaurtech.com/forums/topic/snapshot-market-data#post-191</link>
<pubDate>Wed, 06 Aug 2008 16:14:00 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">191@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hello Alon,&#60;/p&#62;
&#60;p&#62;I don't believe you have to worry about the limit under those circumstances, so long as you don't have over 100 requests out that have not been responded to yet.&#60;/p&#62;
&#60;p&#62;-Karl
&#60;/p&#62;</description>
</item>
<item>
<title>derReen on "Serialize Contract"</title>
<link>http://www.dinosaurtech.com/forums/topic/serialize-contract#post-190</link>
<pubDate>Wed, 06 Aug 2008 03:58:32 +0000</pubDate>
<dc:creator>derReen</dc:creator>
<guid isPermaLink="false">190@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;sorry for my post, found the discussion in the other part of the forum...&#60;/p&#62;
&#60;p&#62;thanks so far
&#60;/p&#62;</description>
</item>
<item>
<title>derReen on "Serialize Contract"</title>
<link>http://www.dinosaurtech.com/forums/topic/serialize-contract#post-189</link>
<pubDate>Wed, 06 Aug 2008 03:51:41 +0000</pubDate>
<dc:creator>derReen</dc:creator>
<guid isPermaLink="false">189@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;i'm not able to serialize a Contract-object, because the UnderlyingComponent property is not set as Serializable. is it possible to change it?&#60;/p&#62;
&#60;p&#62;thanks&#60;/p&#62;
&#60;p&#62;reen
&#60;/p&#62;</description>
</item>
<item>
<title>alongivati on "Snapshot market data"</title>
<link>http://www.dinosaurtech.com/forums/topic/snapshot-market-data#post-188</link>
<pubDate>Wed, 30 Jul 2008 04:40:42 +0000</pubDate>
<dc:creator>alongivati</dc:creator>
<guid isPermaLink="false">188@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hi Karl,&#60;/p&#62;
&#60;p&#62;1. If I always call RequestMarketData with snapshot = true, Do I need to worry about the 100 tickers limitation ?&#60;br /&#62;
2. I understand that TickType.Volume represents the number of traded stocks. Is there a way to get the total Dollar worth of all the trades in a given day ?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
ALON
&#60;/p&#62;</description>
</item>
<item>
<title>lksf on "Problem with reconnecting to TWS"</title>
<link>http://www.dinosaurtech.com/forums/topic/problem-with-reconnecting-to-tws#post-187</link>
<pubDate>Thu, 24 Jul 2008 17:20:05 +0000</pubDate>
<dc:creator>lksf</dc:creator>
<guid isPermaLink="false">187@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Funny, as I was debugging this, I realized that the IBClient.Connected property is still set to True even after the ConnectionClosed event is fired.
&#60;/p&#62;</description>
</item>
<item>
<title>lksf on "Problem with reconnecting to TWS"</title>
<link>http://www.dinosaurtech.com/forums/topic/problem-with-reconnecting-to-tws#post-186</link>
<pubDate>Thu, 24 Jul 2008 14:22:57 +0000</pubDate>
<dc:creator>lksf</dc:creator>
<guid isPermaLink="false">186@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I instantiate a client, hook events, connect to TWS and everything works great.&#60;br /&#62;
However, if I call .Disconnect and then .Connect again, the events stop firing.&#60;br /&#62;
I look at the TWS log and I see that my requests are pass to it and are processed, but my program doesn't get anything. Not even the 'Error' event that is fired upon connection to TWS - and this event is present in the TWS log.&#60;/p&#62;
&#60;p&#62;Has anyone had similar problem?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Neil on "Getting market data with time?"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting-market-data-with-time#post-185</link>
<pubDate>Thu, 24 Jul 2008 13:51:27 +0000</pubDate>
<dc:creator>Neil</dc:creator>
<guid isPermaLink="false">185@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;ap, how more specifically do you generate and store bars greater than 5 seconds in length? I have an inkling on how to do it, but if you have it already figured out, it would be nice if you could post your code for how you do it so that we may all benefit.&#60;/p&#62;
&#60;p&#62;You too Karl, if you have code for generating and storing bars greater than 5 seconds in length please post it.
&#60;/p&#62;</description>
</item>
<item>
<title>alongivati on "Getting"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting#post-184</link>
<pubDate>Thu, 24 Jul 2008 07:11:01 +0000</pubDate>
<dc:creator>alongivati</dc:creator>
<guid isPermaLink="false">184@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hi Karl,&#60;br /&#62;
Thanks for the reply.&#60;br /&#62;
I have one more question for you:&#60;br /&#62;
My Client is an Excel file, which gets the data using an RTD function.&#60;br /&#62;
I run it once and it works fine. when I close it I make sure to disconnect and dispose my IBClient object. However, for some reason, when I run it again, I get an Exception from the Start() method: &#34;This property has already been set and cannot be modified.&#34;, reffering to the &#34;Name&#34; property of the thread.&#60;br /&#62;
Do you have any idea what might be the cause ?&#60;br /&#62;
Thanks,&#60;br /&#62;
Alon
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Getting"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting#post-183</link>
<pubDate>Wed, 23 Jul 2008 11:19:43 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">183@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hey Alon,&#60;/p&#62;
&#60;p&#62;That is correct - just use the snapshot parameter,&#60;/p&#62;
&#60;p&#62;-Karl
&#60;/p&#62;</description>
</item>
<item>
<title>alongivati on "Getting"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting#post-182</link>
<pubDate>Wed, 23 Jul 2008 03:11:27 +0000</pubDate>
<dc:creator>alongivati</dc:creator>
<guid isPermaLink="false">182@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;I downloaded the latest version, so I assume what I'm  looking for is the snapshot parameter.
&#60;/p&#62;</description>
</item>
<item>
<title>alongivati on "Getting"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting#post-181</link>
<pubDate>Wed, 23 Jul 2008 00:38:46 +0000</pubDate>
<dc:creator>alongivati</dc:creator>
<guid isPermaLink="false">181@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hi Karl,&#60;br /&#62;
1. Thanks for the amazing API, it saved me tons of time !&#60;/p&#62;
&#60;p&#62;2. My question is: How do I get stock data for the moment of request only ? In other words, I want to write a code that returns the stock data that is correct at the current moment only, without activating the event of updating the data each time it changes.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
ALON
&#60;/p&#62;</description>
</item>
<item>
<title>ap on "Getting market data with time?"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting-market-data-with-time#post-180</link>
<pubDate>Sun, 06 Jul 2008 01:39:26 +0000</pubDate>
<dc:creator>ap</dc:creator>
<guid isPermaLink="false">180@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;The realtimebars come in 5-sec intervals with correct timestamp five seconds after the point in time noted in the timestamp. For a new 15 minute bar, the first realtimebar comes 5 seconds into the bar.&#60;br /&#62;
Use the tickprice and ticksize event to generate your bars, and additionally update your bar through the realtimebar event.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "EWrapper and EClientSocket"</title>
<link>http://www.dinosaurtech.com/forums/topic/ewrapper-and-eclientsocket#post-179</link>
<pubDate>Thu, 03 Jul 2008 14:46:34 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">179@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;I don't strictly follow the Java version. Check IBClient, it contains a unified implementation of EWrapper and EClientSocket.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;-Karl
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Getting market data with time?"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting-market-data-with-time#post-178</link>
<pubDate>Thu, 03 Jul 2008 14:45:45 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">178@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;I think the RT bars update with new tick data as opposed to every 5 seconds, but I am really not sure.&#60;/p&#62;
&#60;p&#62;I would suggest using the real time bars, as the real time ticks are not guaranteed to catch the real high/low/close values, they are just a sub set of all ticks.&#60;/p&#62;
&#60;p&#62;I am not sure about the time question. I think TWS probably caches it.
&#60;/p&#62;</description>
</item>
<item>
<title>clam61 on "Getting market data with time?"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting-market-data-with-time#post-177</link>
<pubDate>Wed, 02 Jul 2008 14:35:59 +0000</pubDate>
<dc:creator>clam61</dc:creator>
<guid isPermaLink="false">177@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;i assume that because the realtimebars only come in 5 second bars, that data also comes in every 5 seconds and not every tick?&#60;/p&#62;
&#60;p&#62;if i am running a realtime intrabar (orders fired intrabar) forex strategy that is based on 15 minute bars what would you recommend?  it seems like the best method would be to use the tick data and to create 15 minute bars from the tick data...trying to synchronize with the server time.&#60;/p&#62;
&#60;p&#62;question:&#60;/p&#62;
&#60;p&#62;when you query for the server time via your API, does TWS send a message to the server to query for the current time or does it already have a server time in memory
&#60;/p&#62;</description>
</item>
<item>
<title>ChadZ on "EWrapper and EClientSocket"</title>
<link>http://www.dinosaurtech.com/forums/topic/ewrapper-and-eclientsocket#post-176</link>
<pubDate>Tue, 01 Jul 2008 07:26:16 +0000</pubDate>
<dc:creator>ChadZ</dc:creator>
<guid isPermaLink="false">176@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;Nice of you to do this.  Trying out your API because I was using IB's but when I upgraded to VS2008 it stopped working for me :( .  Anyway, I was hoping I could just plug yours in and that it'd run the same as IB's J# .net API, but I've hit a snag.  IB's J# API has EWrapper and EClientSocket classes that I an unable to find in yours.  Have they been renamed or what's going on?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Karl on "Getting market data with time?"</title>
<link>http://www.dinosaurtech.com/forums/topic/getting-market-data-with-time#post-175</link>
<pubDate>Mon, 30 Jun 2008 16:47:31 +0000</pubDate>
<dc:creator>Karl</dc:creator>
<guid isPermaLink="false">175@http://www.dinosaurtech.com/forums/</guid>
<description>&#60;p&#62;IB unfortunately does not provide time data with the ticks. I suggest using the real time bars instead of the market ticks.&#60;/p&#62;
&#60;p&#62;See - public void RequestRealTimeBars(int tickerId, Contract contract, int barSize, RealTimeBarType whatToShow, bool useRth).&#60;/p&#62;
&#60;p&#62;You can then begin with the real time data, then backfill with the historical bars. I believe the real time bars only come in 5-sec bars, but you can combine them to get bigger bars if you need.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
