|
|
@@ -1,7 +1,8 @@
|
|
|
+const _url = "http://boniu.xazhima.com/api/v1.0/demo/";
|
|
|
const indexApiList = [
|
|
|
{
|
|
|
name: "指数基本信息",
|
|
|
- apiurl: "http://boniu.xazhima.com/api/v1.0/demo/index_list.html",
|
|
|
+ apiurl: _url + "index_list.html",
|
|
|
inputpara: ["method=stock_info&code=股票代码×tamp=时间戳&sign=签名值"],
|
|
|
url: "/indexApi/indexBasicInfo",
|
|
|
key: "indexBasic",
|
|
|
@@ -68,7 +69,7 @@ const indexApiList = [
|
|
|
},
|
|
|
{
|
|
|
name: "指数当天信息",
|
|
|
- apiurl: "http://boniu.xazhima.com/api/v1.0/demo/index_current_day.html",
|
|
|
+ apiurl: _url + "index_current_day.html",
|
|
|
inputpara: [
|
|
|
"method=index_current_day×tamp=时间戳&code=指数代码&sign=签名值",
|
|
|
"参数说明:如果取日期时间不是交易日,则使用这个日期之前的最近一个交易日"
|
|
|
@@ -173,7 +174,7 @@ const indexApiList = [
|
|
|
},
|
|
|
{
|
|
|
name: "时间段信息(指数代码+起止日期)",
|
|
|
- apiurl: "http://boniu.xazhima.com/api/v1.0/demo/index_day_k.html",
|
|
|
+ apiurl: _url + "index_day_k.html",
|
|
|
inputpara: [
|
|
|
"method=index_day_k×tamp=时间戳&code=指数代码&sign=签名值&start_date=开始日期&end_date=结束日期&order=列表正序/倒序"
|
|
|
],
|
|
|
@@ -305,7 +306,7 @@ const indexApiList = [
|
|
|
},
|
|
|
{
|
|
|
name: "指数回溯",
|
|
|
- apiurl: "http://boniu.xazhima.com/api/v1.0/demo/index_recent_days.html",
|
|
|
+ apiurl: _url + "index_recent_days.html",
|
|
|
inputpara: [
|
|
|
"method=ndex_recent_days×tamp=时间戳&code=指数代码&sign=签名值&start_date=开始日期&traceback_days=回溯天数&order=列表正序/倒序",
|
|
|
"参数说明:回溯天数,取交易日"
|
|
|
@@ -438,7 +439,7 @@ const indexApiList = [
|
|
|
},
|
|
|
{
|
|
|
name: "指数某天信息",
|
|
|
- apiurl: "http://boniu.xazhima.com/api/v1.0/demo/index_any_day.html",
|
|
|
+ apiurl: _url + "index_any_day.html",
|
|
|
inputpara: [
|
|
|
"method=index_any_day×tamp=时间戳&code=指数代码&date=交易日",
|
|
|
"参数说明:无论是否查询日期是不是交易日,都输出结果,不需要向前推到最近的交易日"
|
|
|
@@ -537,7 +538,7 @@ const indexApiList = [
|
|
|
},
|
|
|
{
|
|
|
name: "指数列表信息",
|
|
|
- apiurl: "http://boniu.xazhima.com/api/v1.0/demo/index_list.html",
|
|
|
+ apiurl: _url + "index_list.html",
|
|
|
inputpara: [
|
|
|
"method=index_list×tamp=时间戳&sign=签名值",
|
|
|
"参数说明:指数列表不分页"
|