Why do I receive a timeout error when using the BLOOMBERG.TIMESERIES function in Datafeed Toolbox 3.3 (R2009a)?

I am using the TIMESERIES function in Datafeed Toolbox 3.4 (R2009a) and I receive a timeout error when I execute the following command
c = bloomberg;
d = timeseries(c,'7267 JT Equity','VOLUME',floor(now));

 採用された回答

One can resolve this issue by increasing the timeout property of the Bloomberg-MATLAB connection an then issuing the TIMESERIES function call.
c = bloomberg;
x = c.bbrt;
x.TimeOut = 100000;
d = timeseries(c,'7267 JT Equity','VOLUME',floor(now));
*UPDATE***
This is deprecated in the latest version of MATLAB.
The 'bloomberg' function is outdated and now MATLAB uses 'blp' to make connection with bloomberg. So the 'timeout' property in 'blp' function can be set as follows:
>> c = blp(p,ip,timeout);
where ‘p’ is the port number which can be set to ‘[]’ as default,
‘ip’ is the IP address which can be set to ‘[]’ as default and
‘timeout’ is the scalar parameter.
So, in above code, ‘blp’ creates a Bloomberg connection object c and return its properties.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Programmatic Model Editing についてさらに検索

製品

リリース

R2009a

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by