Answered
Why Don't Set Breakpoints Work in R2018b?
This could happen if your script runs inside a parallel loop (spmd or parfor), or is shaddowed by a binary version (e.g., file.m...

6 years ago | 0

Answered
Using 2018b javaclasspath.txt doesn't seem to get loaded during batch startup.
I'm not sure why your javaclasspath.txt file doesn't load in batch mode. As workaround, you can programmatically load the necess...

6 years ago | 0

Submitted


Realtime trading with Matlab and IB presentation files
Realtime trading demo & presentation, presented at NYC Computational Finance Conference 23 May 2013

6 years ago | 2 downloads |

Thumbnail

Answered
How do I programmatically set the size of the the web browser window that is created with the MATLAB web command " web " ?
Note: undocumented/unsupported: [h1,h2,h3] = web('http://news.google.com','-notoolbar','-new'); % open a web page drawnow; pau...

6 years ago | 2

| accepted

Answered
What happened to the figure toolbar? Why is it an axes toolbar? How can I put the buttons back?
For the benefit of readers who don't follow my blog, Michelle Hirsch posted the following comment yesterday, which sheds some li...

6 years ago | 3

Answered
Parfor loop introduces strange R%1 variable when using 2 reduction variables
I was able to reproduce your problem on my R2018a and R2018b Windows10 installation, but not in 19a. Apparently this bug (it is...

6 years ago | 1

Answered
Problem with history function. Trading toolbox
Here's how you can fetch IB's historical data using the IB-Matlab connector: >> data = IBMatlab('action','history', 'symbol','I...

6 years ago | 0

Answered
Error with " Request Interactive Brokers Historical Data" example
Here's how you can fetch IB's historical data using the IB-Matlab connector: >> data = IBMatlab('action','history', 'symbol','I...

6 years ago | 0

Answered
Trading Toolbox - Retrieve Option Chain from Interactive Brokers
Here's how you can fetch the full option chain using the IB-Matlab connector, for example all futures options for the 10-year US...

6 years ago | 0

Answered
Problems for Interactive Brokers connection
Trading Toolbox support for Interactive Brokers is limited to Windows only. This is clearly mentioned in the documented system r...

6 years ago | 1

Answered
java.io.File - strange behaviour
With most Java methods, you can follow the method invocation parentheses with a dot, thereby chaining methods. For example: myJP...

6 years ago | 1

| accepted

Submitted


calcGreeks: Calculate option Greeks (European Black/Scholes)
calcGreeks computes fair price and Greek values for vanilla European options using the Black-Scholes-Merton model, optimized for...

6 years ago | 1 download |

Thumbnail

Answered
UIComponent JTextField Text alignment
Use JTextField.JavaPeer.CENTER or the value 0 instead of 'CENTER': JTextField.HorizontalAlignment = JTextField.JavaPeer.CENTER;...

6 years ago | 1

| accepted

Answered
R2017a - Unsupported major.minor version 52.0
52.0 indicates Java classes compiled with JDK 8 - These classes can only be run under Java 8 or newer. Until R2017a Matlab integ...

6 years ago | 1

Answered
Error when connecting to ib trader workstation
The Trading Toolbox's IB connector is based on ActiveX and is therefore only available on Windows, not Mac or Linux. So if you h...

6 years ago | 0

Answered
New line in legend does not work anymore in MATLAB 2017b
The reason for the problem is that the default legend Interpreter ('lex') does not know how to interpret the '\n' in the label. ...

6 years ago | 2

Answered
How to colorize the document tabs of the editor?
I looked into this problem but I could not find a way to do so. What you proposed is the way that it should have worked, but i...

6 years ago | 1

| accepted

Answered
Adabting Ui from 2013 to 2016
Unfortunately, The HeightLimits and WidthLimits properties were removed from uiflowcontainer at some point in time. This is quit...

6 years ago | 0

Answered
Trading Toolbox (V3.5) NOT working with latest IB API
Check whether you have correctly set the relevant settings on your TWS/Gateway's API configuration panel, specifically "Enable A...

6 years ago | 0

Answered
Microsoft Visual C++ Runtime Library Error with Matlab
As you've noticed, using IB's COM/ActiveX API (which is used by the Trading Toolbox) has severe limitations. In addition to the ...

6 years ago | 0

Answered
Connected to interactive brokers after the update
Consider trying the alternative IB-Matlab toolbox, which is actively maintained since 2010: <https://undocumentedmatlab.com/IB-M...

6 years ago | 0

Answered
options for layout gui
Hi Walter - I'm not sure why you say that <https://undocumentedmatlab.com/blog/uitree> no longer works - it works perfectly fine...

6 years ago | 0

Answered
Problem in setting Yaxis value
Try this - note that it relies on the hidden/undocumented axis property *YRuler* (and similarly for *XRuler*, *ZRuler*): ax...

6 years ago | 0

Answered
Interactive brokers(TWS) current version not working with MATLAB?
Sometime in recent years, presumably around TWS API 9.70, IB changed their COM server's ProgID from 'TWS.TwsCtrl.1' to 'TWS.TwsC...

6 years ago | 0

Answered
Why do I get an "actxserver" error when trying to connect to Interactive Brokers Trader Workstation with the "ibtws" command?
Sometime in recent years, presumably around TWS API 9.70, IB changed their COM server's ProgID from 'TWS.TwsCtrl.1' to 'TWS.TwsC...

6 years ago | 1

Submitted


attachScrollPanelTo - add scroll-panel to a uipanel or axes
Places the specified control/uipanel inside a scroll-panel that automatically appears when the container shrinks (resizes)

6 years ago | 2 downloads |

Thumbnail

Submitted


max_in_place - example of multi-threaded MEX function
Example of a multi-threaded MEX function, that can easily be adapted

6 years ago | 4 downloads |

Thumbnail

Answered
How to obtain handlers to line objects from a legend object?
Cross-reference: <https://undocumentedmatlab.com/blog/plot-legend-customization>

6 years ago | 1

Answered
possible to increase speed of power function applied to a vector?
In addition to what Jan said, perhaps your in your specific case it is possible to work at the exponent level, i.e. not Y=10^X b...

6 years ago | 0

Answered
Why am I encountering unrecognized property 'expiry' error while accessing the contact data?
IB renamed the Expiry property to "LastTradingDay" or "LastTradeDateOrContractMonth" (depending on the specific use-case) in its...

6 years ago | 1

Load more