文章导航
准备工作:
Bloomberg 提供了以下文件
1 . fields.csv
下载地址:https://files.cnblogs.com/files/champaign/fields.rar
2 .Harvest Bulk File Field Layout.xlsx
下载地址:https://files.cnblogs.com/files/champaign/Harvest_Bulk_File_Field_Layout.rar
3. Harvest Bulk File List.xlsx
下载地址:https://files.cnblogs.com/files/champaign/Harvest_Bulk_File_List.rar
文件说明:
1 Fields.csv
这个文件中包含了bulk File中大部分的字段类型及其说明,下面给出文件中的部分说明
2.Harvest Bulk File Field Layout.xlsx
这个文件给出了订购的bulkfile的主要信息。其中包含sheet页:
2.1 order_list sheet:
订购文件的主题及类型
2.2 File List
订购文件的清单,部分数据样例:
其中
- SOR: 是文件类型的编号,这个编号对应一个后面的sheet面有详细说明,上图中为3578 ,就有一个3578的sheet。
- File_name:文件名称
- File Type: 文件类型
- Note : 说明
2.3 File Type
对文件类型的详细说明
某一类文件对应不同的格式,及处理方式
2.4 886/3578/1903/2463/2903
对应到《File List》 sheet 中的SOR,对不同文件的格式的说明,建议可以参考,实际以数据文件中的实际情况为准
2.5 5115-part I/5115-part II
对5115(.cax)类文件的说明。《5115-part I》 中文件每一数据行的公用部分说明。详细情况可以参考《file Type》sheet中的.cax说明.《5115-part 2》是对每个数据行中出现的各种可能进行列举。
3 Harvest Bulk File List.xlsx
这个文件是bloombeg的人员帮忙整理的每一个文件对应的下载地址及方式 。主要下载方式有两种:SFTP及http、
部分内容如下:
大体上与《Harvest Bulk File Field Layout.xlsx》文件中的内容相同,我们主要使用Primary key(主键字段) 及 BEAP_URL(下载地址)这两列的信息