security ='IBM US Equity';字段='DVD_HIST';%股息历史领域[d,sec] = getBulkData(C,安全性,字段)
d = dvd_hist:{{{149x7 cell}} sec ='ibm us equity'
d是一个带有一个字段的结构,其中包含带有返回的批量数据的单元格数组。sec包含IBM安全名称。
Display the dividend history with the associated header information by accessing the structure fielddvd_hist. This field is a cell array that contains one cell array. The nested cell array contains the dividend history data. Access the contents of the nested cell using cell array indexing.
Display the dividend history with the associated header information by accessing the structure fielddvd_hist. This field is a cell array that contains one cell array. The nested cell array contains the dividend history data. Access the contents of the nested cell using cell array indexing.
d = DVD_HIST: {{5x7 cell}} LAST_PRICE: {'188.74'} sec = 'IBM US Equity'
dis a structure with two fields. The first fielddvd_histcontains a cell array with the dividend historical data as a cell array. The second fieldlast_price包含一个单元格数,其收盘价为角色向量。sec包含IBM安全名称。
显示收盘价。
d.last_price
ans ='188.74'
Display the dividend history with the associated header information by accessing the structure fielddvd_hist. This field is a cell array that contains one cell array. The nested cell array contains the dividend history data. Access the contents of the nested cell using cell array indexing.
f—彭博数据字段 角色向量|string scalar|细胞array of character vectors|字符串数组
彭博数据字段, specified as a character vector, string scalar, cell array of character vectors, or string array. A character vector or string denotes one Bloomberg data field name. A cell array of character vectors or string array denotes multiple Bloomberg data field names. For details about the fields you can specify, see the彭博API开发人员指南使用wapi 彭博终端的选项。
例子:{'last_price';'open'}
数据类型:char|细胞|string
o—彭博社覆盖场 [](默认)|角色向量|string scalar|细胞array of character vectors|字符串数组
Bloomberg data, returned as a structure, table, or timetable. The data type of the Bloomberg data depends on thedatareturnformat和数据电视连接对象的属性。有关数据的详细信息,请参阅彭博API开发人员指南使用wapi 彭博终端的选项。
sec——安全列表 细胞array of character vectors
安全列表,作为相应证券的字符向量的单元格数组返回s. The contents ofsec在价值和秩序上相同s. You can return securities with any of the following identifiers:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.