- Undocumented Matlab - https://undocumentedmatlab.com -
IB-Matlab (IBML): trade with Interactive Brokers using Matlab
Posted By Yair Altman On February 21, 2011 | Comments Disabled
Access market/portfolio data and submit trade orders in Matlab via Interactive-Brokers [1] (IB), using the IB-Matlab application. [2]
IB-Matlab is a Matlab connector to InteractiveBrokers, enabling users to leverage Matlab’s superior analysis and visualization capabilities, with IB’s low-cost data-feed and brokerage trading platform. IB-Matlab can be used for both automated algo-trading and selective manual trading, as well as continuous market data feed.
IB-Matlab provides a reliable, easy-to-use Matlab interface to Interactive Brokers that works right out-of-the-box on all Matlab platforms (Win32, Win64, Mac, Linux) using simple Matlab commands:
IB-Matlab was developed by a renowned Matlab expert, Yair Altman, and is continuously maintained and improved since 2010. The product is actively used by hundreds of financial institutions and individual traders/quants worldwide.
IB-Matlab was optimized for excellent performance, reliability, stability, compatibility, feature set and overall value. A very detailed User Guide [3] is available, complete with multiple working usage examples and implementation tips.
Don’t take our word for it – get your fully-functional free trial [2] today, and check for yourself!
No other solution provides this rich set of features – not even close (see comparison [7]).
While IB’s Java connector, which is provided by IB [8], can be used directly in Matlab, setting up the event callbacks and data conversions between Matlab and the connector is definitely not easy [9]. You need to be familiar with both Matlab AND Java, at least to some degree.
Other applications that solve these problems are either expensive, not supported, or limited in functionality or deployment. For example, ActiveX solutions only work properly on 32-bit Windows and even then lose some events [10] and are relatively slow. matlab2ib quant2ib
Don’t take our word for it – get your free trial [2] and check for yourself. You will not be disappointed.
So, do we like it? Well, IB-MATLAB is robust, very easy to learn how to use and does exactly what it claims to do – namely provide a simple and efficient order interface between MATLAB and Interactive Brokers’ API. It also costs peanuts…
So yes, we like it – a lot.
– Andy Webb, Automated Trader magazine, Q3 2011 (“The Virtue of Simplicity” article online [20]; or downloadable PDF [22])
…At that point I turned to Yair Altman’s IB-Matlab product. Happily, this uses IB’s Java api, which is a great deal more robust than the ActiveX platform. It’s been some time since I last used IB-Matlab and was pleased to see that Yair has been very busy over the intervening period, building the capabilities of the system and providing very comprehensive documentation for it. With Yair’s help, it took me no time at all to get up and running and within a day or two the system was executing orders flawlessly in IB’s TWS. …
Yair is very generous with his time in providing support to his users and his responses to my questions were fast and detailed.
– Jonathan Kinlay, Quantitative Research and Trading, March 5, 2015 (“Algorithmic trading” article [26])
Easy integration with IB through IB-Matlab… The Trading Toolbox isn’t very robust, it’s really buggy, … I would love to get the Trading Toolbox up and running, but I think that Yair has got it covered for Interactive Brokers, I just use his program…
IB-Matlab is our wrapper for the IB API, so that we don’t have to write our own Java connector. IB-Matlab is a robust Java connector, complete wrapper for the IB API. A cheap investment, it’s definitely worth it. I can’t even stress enough how much time it will save you. Don’t build from scratch, it is cheaper and faster to buy from 3rd-party vendors. If I was to build IB-Matlab it would take me several weeks and for only $400 I could have a turnkey solution, I mean it’s a no-brainer there… It’s better than those retail trading platforms. This is the cheapest professional-grade system that you can get. IB connected to IB-Matlab connected to Matlab connected to the Data-Feed Toolbox connected to IQFeed is the cheapest technology stack that will give you trading robustness.
Yair is extremely helpful, provides great customer support.
– Chris Reeves, A2X Capital, Feb 27, 2015 (“Algorithmic Trading System” video [27])
Also quoted: IB-Matlab is the most robust wrapper for the IB API I have come across. Amazing value for the price!
– creeves, Feb 23, 2015 (comment posted about IB-Matlab on IB’s Marketplace [28])
The following testimonials appear on IB’s Marketplace [28], where IB-Matlab is the top-rated product, with a perfect rating of 5.000 stars from over 100 independent traders:
These quotes are from real IB traders, who took the time to comment anonymously about IB-Matlab on IB’s website using IB’s system. Over 100 traders have anonymously rated IB-Matlab on IB’s website – all of them, without exception, rated IB-Matlab with a perfect 5-star rating. Such perfect rating and superlatives from so many independent traders is unparalleled by any other program on the IB Marketplace. Numerous other traders have provided similar statements about IB-Matlab by private email.
We take great pride in providing a great product, fantastic value, and excellent customer service.
Don’t take our word for it – try it out for yourself [2]!
License type | License duration 6 | License cost 7 | Remarks |
---|---|---|---|
Free trial (see below) | 2 weeks | Free [2] | No extension or renewal |
Commercial 1 | 2 months |
$99 buy [30]
|
|
6 months |
$199 buy [33]
|
||
1 year |
$299 buy [34]
|
Most popular | |
2 years |
$499 buy [35]
|
||
3 years |
$699 buy [36]
|
Best value ($19/month) | |
Academic 1,2 | 6 months |
$149 buy [38]
|
Contact us [39] for special course-wide pricing |
1 year |
$199 buy [41]
|
||
2 years |
$349 buy [42]
|
||
Bundle: IB-Matlab + IQML Professional [44] 1,3 | 6 months |
$349 buy [45]
|
IQML = IQFeed-Matlab connector (description [44])
A similar bundle is also available for EODML = EOD-Matlab connector (description [46]) |
1 year |
$499 buy [47]
|
||
2 years |
$799 buy [48]
|
||
3 years |
$1099 buy [49]
|
||
Volume (multiple computers) | flexible | Contact us [39] | Multiple computers |
Site license | flexible | ||
Deployment (compiled or OEM) 5 | flexible | ||
Development (source-code) | unlimited | ||
Custom feature development | unlimited | ||
Custom trading-program development (examples [52]) |
unlimited |
Notes:
Request a trial and get a no-obligations copy of IB-Matlab with detailed installation and usage instructions. There are absolutely no strings attached: the trial is completely free and fully functional, just limited in duration (about 2 weeks). The trial starts the moment that you request it; you will receive download and installation instructions to your specified email.
You only need the basic Matlab, no toolbox is required. You can be up and running within minutes. We are confident that you will love the product, so we encourage you to test it:
If you have any question or concern, please don’t hesitate to email us [53] directly.
THIS SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, LOSS OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE — USE OR OTHER DEALINGS IN THE SOFTWARE.
(detailed disclaimer is available in IB-Matlab’s User Guide [3])
Categories:
Article printed from Undocumented Matlab: https://undocumentedmatlab.com
URL to article: https://undocumentedmatlab.com/ib-matlab
URLs in this post:
[1] Interactive-Brokers: http://www.interactivebrokers.com/
[2] Image: http://undocumentedmatlab.com/IB-Matlab/trial-request
[3] User Guide: http://undocumentedmatlab.com/files/IB-Matlab_User_Guide.pdf
[4] Image: https://www.mathworks.com/products/connections/product_detail/ibml.html
[5] Matlab-Java interfacing: http://undocumentedmatlab.com/books/matlab-java
[6] Matlab performance: http://undocumentedmatlab.com/books/matlab-performance
[7] comparison: http://undocumentedmatlab.com/IB-Matlab/product-comparison
[8] provided by IB: https://www.interactivebrokers.com/en/?f=%2Fen%2Fsoftware%2Fibapi.php
[9] definitely not easy: http://undocumentedmatlab.com/blog/matlab-callbacks-for-java-events/
[10] lose some events: https://www.interactivebrokers.com/en/?f=%2Fen%2Fsoftware%2Fibapi.php#footerlinks
[11] Image: https://www.youtube.com/watch?v=e4bdKcFl4GA
[12] Quick-reference help: http://undocumentedmatlab.com/files/IBMatlab.m
[13] Full User Guide: http://undocumentedmatlab.com/files/IB-Matlab_User_Guide/
[14] Usage syntax details: http://undocumentedmatlab.com/IB-Matlab/documentation
[15] Usage examples: http://undocumentedmatlab.com/IB-Matlab/usage-examples
[16] Questions & Answers: http://undocumentedmatlab.com/IB-Matlab/questions-and-answers
[17] Real-time trading system demo: http://undocumentedmatlab.com/IB-Matlab/real-time-trading-system-demo
[18] presentation slides: http://undocumentedmatlab.com/files/Matlab%20real-time%20trading%20presentation.pdf
[19] demo source-code: http://undocumentedmatlab.com/files/Matlab%20trading%20demo.zip
[20] 2011: http://www.automatedtrader.net/articles/software-review/84091/the-virtue-of-simplicity
[21] 2012: http://www.automatedtrader.net/articles/software-review/107768/mashup
[22] 2011: http://undocumentedmatlab.com/files/IB-Matlab_Review.pdf
[23] 2012: http://undocumentedmatlab.com/files/IB-Matlab_Review2.pdf
[24] User testimonials: #testimonials
[25] IB’s online API Guide: https://interactivebrokers.github.io/tws-api/index.html
[26] “Algorithmic trading” article: http://jonathankinlay.com/index.php/2015/03/algorithmic-trading/
[27] Image: https://youtu.be/Mh8IaC-LRGQ?t=146
[28] IB’s Marketplace: https://gdcdyn.interactivebrokers.com/Marketplace/InvestorsMarketplace#!#tradersInvestors
[29] Professional reviews and additional user testimonials: https://undocumentedmatlab.com/IB-Matlab/reviews
[30] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=99&item_name=IB-Matlab+2mo+license
[31] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=129&item_name=IB-Matlab+3mo+license
[32] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=149&item_name=IB-Matlab+4mo+license
[33] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=199&item_name=IB-Matlab+6mo+license
[34] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=299&item_name=IB-Matlab+1yr+license
[35] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=499&item_name=IB-Matlab+2yr+license
[36] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=699&item_name=IB-Matlab+3yr+license
[37] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=999&item_name=IB-Matlab+5yr+license
[38] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=149&item_name=IB-Matlab+Academic+6mo+license
[39] Contact us: mailto:%20altmany%20@gmail.com?subject=IB-Matlab&body=Hi%20Yair,%20&cc=;&bcc=
[40] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=129&item_name=IB-Matlab+Academic+6mo+license
[41] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=199&item_name=IB-Matlab+Academic+1yr+license
[42] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=349&item_name=IB-Matlab+Academic+2yr+license
[43] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=499&item_name=IB-Matlab+Academic+3yr+license
[44] IQML Professional: https://undocumentedmatlab.com/IQML
[45] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=349&item_name=6mo+IB-Matlab,IQML+pro+licenses
[46] description: https://undocumentedmatlab.com/EODML
[47] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=499&item_name=1yr+IB-Matlab,IQML+pro+licenses
[48] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=799&item_name=2yr+IB-Matlab,IQML+pro+licenses
[49] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=1099&item_name=3yr+IB-Matlab,IQML+pro+licenses
[50] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=399&item_name=4-hour+support+package
[51] buy: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick¤cy_code=USD&business=octahedron.ltd@gmail.com&quantity=1&amount=899&item_name=10-hour+support+package
[52] examples: http://undocumentedmatlab.com/consulting
[53] email us: mailto: altmany @gmail.com?subject=IB-Matlab query&body=Hi Yair, &cc=;&bcc=
Click here to print.
Copyright © Yair Altman - Undocumented Matlab. All rights reserved.