<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Real-time trading system demo	</title>
	<atom:link href="https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 09 Oct 2019 21:24:15 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-460777</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 08 Feb 2019 14:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-460777</guid>

					<description><![CDATA[For all those who are interested, I have updated the files and they are now compatible with all Matlab releases up to the latest (currently R2019a):
http://undocumentedmatlab.com/files/Matlab-trading-demo.zip]]></description>
			<content:encoded><![CDATA[<p>For all those who are interested, I have updated the files and they are now compatible with all Matlab releases up to the latest (currently R2019a):<br />
<a href="http://undocumentedmatlab.com/files/Matlab-trading-demo.zip" rel="ugc">http://undocumentedmatlab.com/files/Matlab-trading-demo.zip</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-412454</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 24 Aug 2017 07:25:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-412454</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-412430&quot;&gt;Mike&lt;/a&gt;.

Mike - My program works with IB-Matlab, which is a connector between Matlab and Interactive Brokers. It does not work with Excel RTD but connects directly to IB via their TWS API. 
You can read more information on IB-Matlab and also request a trial here: http://undocumentedmatlab.com/ib-matlab]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-412430">Mike</a>.</p>
<p>Mike &#8211; My program works with IB-Matlab, which is a connector between Matlab and Interactive Brokers. It does not work with Excel RTD but connects directly to IB via their TWS API.<br />
You can read more information on IB-Matlab and also request a trial here: <a href="http://undocumentedmatlab.com/ib-matlab" rel="ugc">http://undocumentedmatlab.com/ib-matlab</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-412430</link>

		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Wed, 23 Aug 2017 21:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-412430</guid>

					<description><![CDATA[Does your program work with excel rtd as a realtime data source?   Where can I see the program running live? 

Thanks]]></description>
			<content:encoded><![CDATA[<p>Does your program work with excel rtd as a realtime data source?   Where can I see the program running live? </p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Leonel		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-410447</link>

		<dc:creator><![CDATA[Leonel]]></dc:creator>
		<pubDate>Tue, 18 Jul 2017 19:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-410447</guid>

					<description><![CDATA[Hi Yair,
Could you please contact me, I have a question regarding a similar application

Regards

Leonel]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
Could you please contact me, I have a question regarding a similar application</p>
<p>Regards</p>
<p>Leonel</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-348655</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 30 Apr 2015 12:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-348655</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-348654&quot;&gt;Marco Ruijken&lt;/a&gt;.

@Marco - the demo works with R2013a and R2013b. 
Matlab R2014a made some internal changes that cause errors, and I have not taken the time to update the demo to that version. after all, the demo was developed for the conferences in 2013...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-348654">Marco Ruijken</a>.</p>
<p>@Marco &#8211; the demo works with R2013a and R2013b.<br />
Matlab R2014a made some internal changes that cause errors, and I have not taken the time to update the demo to that version. after all, the demo was developed for the conferences in 2013&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Marco Ruijken		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-348654</link>

		<dc:creator><![CDATA[Marco Ruijken]]></dc:creator>
		<pubDate>Thu, 30 Apr 2015 10:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-348654</guid>

					<description><![CDATA[Hi Yair,

downloaded your tradingdemo app, but get errors in Matlab R2014A. Is there a newer version, or should it run with a different Matlab version only?

Thanks
Marco]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>downloaded your tradingdemo app, but get errors in Matlab R2014A. Is there a newer version, or should it run with a different Matlab version only?</p>
<p>Thanks<br />
Marco</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-254677</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 04 Sep 2013 14:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-254677</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-251925&quot;&gt;Kenan&lt;/a&gt;.

@Kenan - indeed, the Java API (which is used by IB-Matlab) has many advantages over the ActiveX API (which is used by MathWorks&#039; Trading Toolbox). One of the fortunate results of using Java is that IB-Matlab can run on all platforms that run Matlab (Windows, Mac, Linux), since all these platforms have both Java and an IB TWS client. The Java API is also much faster and more reliable (the ActiveX connector is reported to be dropping IB events every now and then).

Regarding streaming-quote latency, this depends on the security volatility, number of monitored securities, network bandwidth, computer hardware, other running processes on the computer and a wide range of other aspects that can affect performance. On a standard Lenovo Thinkpad E530 laptop running Matlab R2013a on Win7, I reached streaming quote latency as low as 1-2 mSec (i.e., hundreds of IB events per second). Naturally, YMMV.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-251925">Kenan</a>.</p>
<p>@Kenan &#8211; indeed, the Java API (which is used by IB-Matlab) has many advantages over the ActiveX API (which is used by MathWorks&#8217; Trading Toolbox). One of the fortunate results of using Java is that IB-Matlab can run on all platforms that run Matlab (Windows, Mac, Linux), since all these platforms have both Java and an IB TWS client. The Java API is also much faster and more reliable (the ActiveX connector is reported to be dropping IB events every now and then).</p>
<p>Regarding streaming-quote latency, this depends on the security volatility, number of monitored securities, network bandwidth, computer hardware, other running processes on the computer and a wide range of other aspects that can affect performance. On a standard Lenovo Thinkpad E530 laptop running Matlab R2013a on Win7, I reached streaming quote latency as low as 1-2 mSec (i.e., hundreds of IB events per second). Naturally, YMMV.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kenan		</title>
		<link>https://undocumentedmatlab.com/ib-matlab/real-time-trading-system-demo#comment-251925</link>

		<dc:creator><![CDATA[Kenan]]></dc:creator>
		<pubDate>Sat, 31 Aug 2013 16:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?page_id=3963#comment-251925</guid>

					<description><![CDATA[I have tried the Activex route before purchasing the product. There is one major fundamental flaw when it comes to using ActiveX with Matlab. Say,you are running an algorithm and you are processing a function, and at the same time TWS fires an Event. If you use ActiveX, MATLAB will NOT update the price until the processing of your function has completed. So several events will be missed and the price you would be looking would be a different one. Whereas in JAVA , there is no such problem. As any event fired will be immediately captured by java which is running in background. So when you call getLastPrice, you will get the correct price. Another flaw is obviously the fact that you can use ActiveX ONLY with WINDOWS. Whereas with JAVA you can use it with windows, Mac, Linux etc.

It is NOT a good idea to stream in Live Trades data as it comes in into MATLAB. Imagine, you have 100 symbols, which updates every say 200 msec, so you have a trade happening so quickly and being captured and stored into Matlab. Due to MATLAB&#039;s single-threaded issue, some Trades ticks will be missed and also will eat up your memory. So all that you will be able to do is just to stream in data and not do anything else.]]></description>
			<content:encoded><![CDATA[<p>I have tried the Activex route before purchasing the product. There is one major fundamental flaw when it comes to using ActiveX with Matlab. Say,you are running an algorithm and you are processing a function, and at the same time TWS fires an Event. If you use ActiveX, MATLAB will NOT update the price until the processing of your function has completed. So several events will be missed and the price you would be looking would be a different one. Whereas in JAVA , there is no such problem. As any event fired will be immediately captured by java which is running in background. So when you call getLastPrice, you will get the correct price. Another flaw is obviously the fact that you can use ActiveX ONLY with WINDOWS. Whereas with JAVA you can use it with windows, Mac, Linux etc.</p>
<p>It is NOT a good idea to stream in Live Trades data as it comes in into MATLAB. Imagine, you have 100 symbols, which updates every say 200 msec, so you have a trade happening so quickly and being captured and stored into Matlab. Due to MATLAB&#8217;s single-threaded issue, some Trades ticks will be missed and also will eat up your memory. So all that you will be able to do is just to stream in data and not do anything else.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
