What is the equivalent of the 'dis' period option of the "fetch" function for Bloomberg's "history" in the Datafeed Toolbox?
1 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2014-4-14
回答: MathWorks Support Team
2014-7-18
I just upgraded to MATLAB R2014a from R2009b. In R2009b I was using the "fetch" function to retrieve data from a Bloomberg connection. I now have to use the new functions of the Datafeed Toolbox R2014a and would like to obtain data for the same days as before, but I am confused by the options of the new "history" command.
What is the equivalent for "history" of using 'Period','dis' in "fetch"?
采纳的回答
MathWorks Support Team
2014-4-14
The equivalent periodicity argument is
{'daily','non_trading_weekdays','previous_value'}
For example:
>> history(C,'ABC US Equity','LAST_PRICE','8/01/99','8/10/99',{'daily','non_trading_weekdays','previous_value'})
'non_trading_weekdays' will include dates that are valid trading days but for which there was no activity for the security. You may want to try 'active_days_only' which should return the same data in most cases.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bloomberg Desktop 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!