How to connect and retrieve data from Interactive Brokers

조회 수: 5 (최근 30일)
Paul
Paul 2014년 8월 27일
댓글: Paul 2014년 10월 13일
I am facing the following error when i type this function:
>> data = IBMatlab('action','account, 'AccountName','DU12345');
data = IBMatlab('action','account, 'AccountName','DU12345');
|
Error: Unexpected MATLAB expression.
I was reading through some undocumented matlab manuals and official IB manuals indicating that i would need some jar. failes namely: IBMatlab.jar
I couldnt find these files on the internet neither could Matlab provide me these files and neither Interactive Brokers.
Would someone be so kind and lead me through the process of connecting Matlab to IB or Trading Working Station which is the interface of IB?
Thanks in Advance
  댓글 수: 8
Paul
Paul 2014년 9월 4일
First, thanks for the Answer Geoff, we were able to retrieve some historical data concerning volume last price high low etc.. Anyways, we would like to retrieve the equity trades from our Admin account which impact our equity portfolio. The idea is to have the equity portfolio updated in realtime. Therefore we would need to retrieve the internal trades of our institution. I've been contacting IB API helpdesk and Matlab but the help is really scarce they provide. Have you ever retrieved your own trades in Matlab?
Geoff Hayes
Geoff Hayes 2014년 9월 4일
Unfortunately, I don't have the Trading Toolbox so have never tried to retrieve my own trades.

댓글을 달려면 로그인하십시오.

답변 (2개)

Sean de Wolski
Sean de Wolski 2014년 9월 4일
Have you copied that entire example into a MATLAB file and called it?
I would expect the example to work and if it doesn't Tech Support should surely be able to help.

Yair Altman
Yair Altman 2014년 9월 4일
The IBMatlab function is part of the IB-Matlab product, sold separately from the MathWorks Trading Toolbox. You can see more information about it here: http://undocumentedmatlab.com/ib-matlab
Feel free to contact me to get a free trial of IB-Matlab. You could then compare it to your Trading Toolbox if you wish. I will be happy to assist you with such a comparison.
  댓글 수: 1
Paul
Paul 2014년 10월 13일
I did not know that the function IBMatlab was a third party function so that clears my question.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Transaction Cost Analysis에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by