ACCEPTS SECURITY TICKERS WITH MORE THAN ONE WORD (WITH A SPACE)
>> help df2fts
DF2FTS(EXPRESSION,FIELD,FROMDATE,TODATE) for historical
DF2FTS(EXPRESSION,FROMDATE) for time series
Gets data from the Bloomberg, calcuates the expression
puts it in a time series, saves the time series for use
with FTSGUI and returns it for use with CHARTFTS
% not that you'd want to calculate this...
'exp(2 * GT5 Govt -GT10 Govt - GT2 Govt)', ...
% or time series
'log(2 * GT5 Govt -GT10 Govt - GT2 Govt)', ...
Then you can use
% now load myfts"
IT'S NOT FANCY, BUT IT WORKS
see BLOOMBERG/FETCH, FTSGUI, CHARTFTS
nice looking snippet from our ever so nice <IT'S NOT FANCY, BUT IT WORKS michael robbins>
unfortunately, i cannot test it as i have no clue about finances (and, thus, none of the required tbxs)
however, scanning through the code one could imagine one more (optional) arg, which would allow a user to define a file name rather than just overwriting the default one silently
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.