Info
This question is closed. Reopen it to edit or answer.
Using Bloomberg RealTime function
1 view (last 30 days)
Show older comments
I am trying to bring realtime data in matlab from bloomberg, and having trouble with the function. Here is my code:
t = timer('StartDelay', 4,'Period', 4,'TasksToExecute', ... 2,'ExecutionMode','fixedRate');
d = realtime(c,'SPY US ... Equity','LAST_PRICE','my_bloombergplot_fcn');
t.TimerFcn = { @my_bloombergplot_fcn,d};
start(t)
and
function my_bloombergplot_fcn(obj,event,Series)
Series.LAST_PRICE
end
All I'm trying to do here is initialze the structure that will contain the data, and start a time that prints out thhe last price. When I run it I get a stream of lines saying 'Not enough input arguments'
Thanks for your help.
2 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!