前言

BWData是一个金融数据包,提供以Java、Python或者HTTP形式访问,主要实现对金融数据从数据采集、清洗加工到数据存储的过程,能够为金融分析人员、交易员提供快速、整洁、和多样的数据,为他们在数据获取方面极大地减轻工作量,使他们更加专注于策略和模型的研究与实现上。如果您习惯了用Excel或者关系型数据库做分析,您也可以通过BWData的数据存储功能,将数据全部保存到本地后进行分析。

目前,BWData已经集成了期货交易实时/历史数据、股票历史数据、宏观数据、产业链数据、数字货币实时/历史数据、外盘商品历史数据、外汇历史数据,后续将会有更多的数据接入。

_images/2.png

使用对象

  • 量化投资分析师(Quant)

  • 对金融市场进行大数据分析的企业和个人

  • 开发以证券为基础的金融类产品和解决方案的公司

  • 正在学习利用python进行数据分析的人

访问方式

https://bwdata.boatwater.com/api

使用HTTP Basic Auth认证,过程如下:

  1. 将用户名和密码拼接为用户:密码形式的字符串。如用户名为 Aladdin,密码为 OpenSesame,则拼接成Aladdin:OpenSesame

  2. 将字符串编码为base64,如QWxhZGRpbjpPcGVuU2VzYW1l

  3. 拼接Basic,放入Http头的Authorization头字段,如 Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l

版本信息

1.0.0 2023/08/20

  • 第一版上线

友情链接

船水官网

交易数据

实时期货数据

接口名称

https://bwdata.boatwater.com/online_data

参数说明

  • quote: 品种名称

返回值说明

  • datetime: 时间

  • quote.open:开盘价

  • quote.high:最高价

  • quote.close:收盘价

  • quote.low:最低价

  • quote.volume:成交量

  • quote.amount:成交额

  • quote.avg:均价

  • quote.open_interest:最低价

  • quote.ask_price1: 卖一价, quote.ask_volume1: 卖一量, quote.bid_price1: 买一价, bid_volume1: 买一量

  • quote.ask_price1: 卖二价, quote.ask_volume1: 卖二量, quote.bid_price1: 买二价, bid_volume1: 买二量

  • quote.ask_price1: 卖三价, quote.ask_volume1: 卖三量, quote.bid_price1: 买三价, bid_volume1: 买三量

  • quote.ask_price1: 卖四价, quote.ask_volume1: 卖四量, quote.bid_price1: 买四价, bid_volume1: 买四量

  • quote.ask_price1: 卖五价, quote.ask_volume1: 卖五量, quote.bid_price1: 买五价, bid_volume1: 买五量

历史期货K线数据

获取历史K线数据,可以通过参数设置获取任意1s以上的K线数据。目前可以获取近5年的秒级别数据。

接口名称

https://bwdata.boatwater.com/offline_kline_data

参数说明

  • dt_start:初始时间

  • dt_end:结束时间

  • dur_time:K线级别

  • quote: 品种名称

返回值说明

  • datetime: 时间

  • open_price:开盘价

  • high_price:最高价

  • close_price:收盘价

  • low_price:最低价

  • volume:成交量

历史期货Tick数据

目前可以获取近5年的Tick数据

接口名称

https://bwdata.boatwater.com/offline_tick_data

参数说明

  • dt_start:初始时间

  • dt_end:结束时间

  • quote: 品种名称

返回值说明

  • datetime: 时间

  • last_price:当前价

  • high_price:最高价

  • low_price:收盘价

  • avg:均价

  • quote_volume:成交量

  • amount:成交额

  • open_interest:持仓量

  • bid_price1:买一价 bid_volume1:买一量

  • ask_price1:卖一价 ask_volume1:卖一量

  • bid_price2:买二价 bid_volume2:买二量

  • ask_price2:卖二价 ask_volume2:卖二量

  • bid_price3:买三价 bid_volume3:买三量

  • ask_price3:买三价 ask_volume3:卖三量

  • bid_price4:买四价 bid_volume4:买四量

  • ask_price4:卖四价 ask_volume4:卖四量

  • bid_price5:买五价 bid_volume5:买五量

  • ask_price5:卖五价 ask_volume5:卖五量

产业链数据

国内螺纹钢社会库存量

接口名称:

bwdata.boatwater.com/ rebar _data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ rebar_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 601.47 18.32 3.14%

2023-07-27 583.15 10.22 1.78%

2023-07-20 572.93 10.85 1.93%

2023-07-13 562.08 3.55 0.64%

2023-07-06 558.53 14.72 2.71%

2023-06-29 543.81 10.2 1.91%

2023-06-22 533.61 -14.96 -2.73%

2023-06-15 548.57 -23.88 -4.17%

2023-06-08 572.45 -16.57 -2.81%

2023-06-01 589.02 -31.87 -5.13%

2023-05-25 620.89 -26.42 -4.08%

国内铁矿石港口存量

接口名称:

bwdata.boatwater.com/ ironstone_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ ironstone_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 12292 -162 -1.3%

2023-07-27 12454 -89 -0.71%

2023-07-20 12543 45 0.36%

2023-07-13 12498 -356 -2.77%

2023-07-06 12854 110 0.86%

2023-06-29 12744 -51 -0.4%

2023-06-22 12795 -57 -0.44%

2023-06-15 12852 227 1.8%

2023-06-08 12625 -130 -1.02%

2023-06-01 12755 -41 -0.32%

2023-05-25 12796 8 0.06%

唐山地区钢坯库存量

接口名称:

bwdata.boatwater.com/ TSH_ billet_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ TSH_ billet_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

国内月度粗钢日均产量

接口名称:

bwdata.boatwater.com/ crudesteel_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ crudesteel_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

国内月度铁矿石进口量

接口名称:

bwdata.boatwater.com/ ironstone_ import_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ ironstone_ import_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

大豆库存

接口名称:

bwdata.boatwater.com/ soy_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ soy_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

棕榈油商业库存

接口名称: bwdata.boatwater.com/ palmoil_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ palmoil_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

豆油商业库

接口名称:

bwdata.boatwater.com/ soyoil_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ soyoil_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

玉米库存

接口名称:

bwdata.boatwater.com/ corn_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ corn_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

棉花商业库存

接口名称:

bwdata.boatwater.com/ cotton_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ cotton_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

进口棉花主要港口商业库存

接口名称:

bwdata.boatwater.com/ cotton_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ cotton_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

主流地区纺企纱线库存天数

接口名称:

bwdata.boatwater.com/ cotton_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ cotton_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

PX价格

接口名称:

bwdata.boatwater.com/ PX_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

  • area:国家(China、Korea、Europe、USA)

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ PX_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

涤纶POY价格

接口名称:

bwdata.boatwater.com/ POY_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ POY_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

涤纶短纤价格

接口名称: bwdata.boatwater.com/ PET_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ PET_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

PTA价格

接口名称:

bwdata.boatwater.com/ PTA_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ PTA_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

期货基差数据

接口名称:

bwdata.boatwater.com/ futurebasis_data

参数说明:

  • exchange:交易所(SHH:上海期货交易所,ZHZH:郑州商品交易所,DL:大连商品交易所,GZH:广州期货交易所)

返回值说明:

  • goods:商品名称

  • spot_price:现货价格

  • contract_ID:主力合约代码

  • contract_price:主力合约价格

  • basis:基差

  • basis_range:基差幅度

  • 180_max:180日内主力基差最高值

  • 180_min: 180日内主力基差最低值

  • 180_ average:180日内主力基差平均值

调用方法:

url = “bwdata.boatwater.com/ futurebasis_data”

params = {“username” : “tom”, “password” : “cat”, “ exchange “ : “SHH”} requests.get(url, params)

结果显示:

铜 68746.7 2309 68460 286 0.42% 1180.00 -241.67 300.12 螺纹钢 3646.22 2310 3672 -25 -0.69% 124.44 -131.78 5.62 锌 20716 2309 20720 -4.00 -0.02% 469.00 -254.00 124.37 铝 18563.3 2309 18495 68 0.37% 581.67 -188.33 106.51 黄金 454.24 2310 454.56 -0.32 -0.07% 2.77 -5.26 -0.70 线材 3859.2 2310 4224 -364 -9.43% -62.00 -601.00 -292.20

宏观经济数据

GDP

接口名称:

bwdata.boatwater.com/ GDP_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ GDP_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

CPI

接口名称:

bwdata.boatwater.com/ CPI_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ CPI_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

PPI

接口名称:

bwdata.boatwater.com/ PPI_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ PPI_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

PMI

接口名称:

bwdata.boatwater.com/ PMI_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ PMI_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

城填固定资产投资增速

接口名称:

bwdata.boatwater.com/ urbanfixed-asset_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ urbanfixed-asset_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

房地产开发投资增速

接口名称:

bwdata.boatwater.com/ realestatedevelopment_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ realestatedevelopment _data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

土地购置面积同比增速

接口名称: bwdata.boatwater.com/ landpurchases_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ landpurchases_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

房屋新开工面积同比增速

接口名称:

bwdata.boatwater.com/ newconstruction_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ newconstruction_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

商品房销售面积同比增速

接口名称:

bwdata.boatwater.com/ salearea_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ salearea_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

人民币新增贷款

接口名称:

bwdata.boatwater.com/ RMBnewloans_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ RMBnewloans_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

M1

接口名称:

bwdata.boatwater.com/ M1_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ M1_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%

M2

接口名称:

bwdata.boatwater.com/ M2_data

参数说明:

  • dt_start:初始时间

  • dt_end:结束时间

返回值说明:

  • date:日期

  • value:数值

  • fluctuate:涨跌额

  • fluctuate_ range:涨跌幅

调用方法:

url = “bwdata.boatwater.com/ M2_data”

params = {“username” : “tom”, “password” : “cat”, “dt_start” : “2023-05-25”, “dt_end” : “2023-08-03”}

requests.get(url, params)

结果显示:

2023-08-03 57.01 0.13 0.23%

2023-07-27 56.88 7.49 15.17%

2023-07-20 49.39 1.63 3.41%

2023-07-13 47.76 -1.37 -2.79%

2023-07-06 49.13 4.07 9.03%

2023-06-29 45.06 2 4.64%

2023-06-22 43.06 6.03 16.28%

2023-06-15 37.03 -6.99 -15.88%

2023-06-08 44.02 -18.91 -30.05%

2023-06-01 62.93 -10.7 -14.53%

2023-05-25 73.63 -2.95 -3.85%