df2fts_
Sin licencia
ACCEPTS SECURITY TICKERS WITH MORE THAN ONE WORD (WITH A SPACE)
see
http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&objectId=828141
>> 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
USEAGE:
% not that you'd want to calculate this...
% historical
myfts=df2fts( ...
'exp(2 * GT5 Govt -GT10 Govt - GT2 Govt)', ...
'BidYield',today-40.*365.25,today);
% or time series
myfts=df2fts( ...
'log(2 * GT5 Govt -GT10 Govt - GT2 Govt)', ...
today);
Then you can use
chartfts(myfts);
%or
ftsgui;
% now load myfts"
IT'S NOT FANCY, BUT IT WORKS
see BLOOMBERG/FETCH, FTSGUI, CHARTFTS
Citar como
Michael Robbins (2024). df2fts_ (https://www.mathworks.com/matlabcentral/fileexchange/9819-df2fts_), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Language Fundamentals > Data Types > Time Series >
- Computational Finance > Financial Toolbox > Timetables in Finance >
- Computational Finance > Datafeed Toolbox > Financial Data > Bloomberg Desktop >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |