|
|
@@ -1,129 +1,134 @@
|
|
|
declare namespace Model {
|
|
|
- /** 商品盘面 */
|
|
|
- interface QuoteDay {
|
|
|
- Lastturnover: number;
|
|
|
- ask: number;
|
|
|
- ask2: number;
|
|
|
- ask3: number;
|
|
|
- ask4: number;
|
|
|
- ask5: number;
|
|
|
- ask6: number;
|
|
|
- ask7: number;
|
|
|
- ask8: number;
|
|
|
- ask9: number;
|
|
|
- ask10: number;
|
|
|
- askorderid: number;
|
|
|
- askorderid2: number;
|
|
|
- askorderid3: number;
|
|
|
- askorderid4: number;
|
|
|
- askorderid5: number;
|
|
|
- askordervolume: number;
|
|
|
- askordervolume2: number;
|
|
|
- askordervolume3: number;
|
|
|
- askordervolume4: number;
|
|
|
- askordervolume5: number;
|
|
|
- askordervolume6: number;
|
|
|
- askordervolume7: number;
|
|
|
- askordervolume8: number;
|
|
|
- askordervolume9: number;
|
|
|
- askordervolume10: number;
|
|
|
- askqueueinfo: string;
|
|
|
- askvolume: number;
|
|
|
- askvolume2: number;
|
|
|
- askvolume3: number;
|
|
|
- askvolume4: number;
|
|
|
- askvolume5: number;
|
|
|
- askvolume6: number;
|
|
|
- askvolume7: number;
|
|
|
- askvolume8: number;
|
|
|
- askvolume9: number;
|
|
|
- askvolume10: number;
|
|
|
- averageprice: number;
|
|
|
- bid: number;
|
|
|
- bid2: number;
|
|
|
- bid3: number;
|
|
|
- bid4: number;
|
|
|
- bid5: number;
|
|
|
- bid6: number;
|
|
|
- bid7: number;
|
|
|
- bid8: number;
|
|
|
- bid9: number;
|
|
|
- bid10: number;
|
|
|
- bidorderid: number;
|
|
|
- bidorderid2: number;
|
|
|
- bidorderid3: number;
|
|
|
- bidorderid4: number;
|
|
|
- bidorderid5: number;
|
|
|
- bidordervolume: number;
|
|
|
- bidordervolume2: number;
|
|
|
- bidordervolume3: number;
|
|
|
- bidordervolume4: number;
|
|
|
- bidordervolume5: number;
|
|
|
- bidordervolume6: number;
|
|
|
- bidordervolume7: number;
|
|
|
- bidordervolume8: number;
|
|
|
- bidordervolume9: number;
|
|
|
- bidordervolume10: number;
|
|
|
- bidqueueinfo: string;
|
|
|
- bidvolume: number;
|
|
|
- bidvolume2: number;
|
|
|
- bidvolume3: number;
|
|
|
- bidvolume4: number;
|
|
|
- bidvolume5: number;
|
|
|
- bidvolume6: number;
|
|
|
- bidvolume7: number;
|
|
|
- bidvolume8: number;
|
|
|
- bidvolume9: number;
|
|
|
- bidvolume10: number;
|
|
|
- calloptionpremiums: number;
|
|
|
- calloptionpremiums2: number;
|
|
|
- calloptionpremiums3: number;
|
|
|
- calloptionpremiums4: number;
|
|
|
- calloptionpremiums5: number;
|
|
|
- cleartime: number;
|
|
|
- exchangecode: number;
|
|
|
- exchangedate: number;
|
|
|
- goodscode: string;
|
|
|
- grepmarketprice: number;
|
|
|
- highest: number;
|
|
|
- holdincrement: number;
|
|
|
- holdvolume: number;
|
|
|
- iep: number;
|
|
|
- iev: number;
|
|
|
- inventory: number;
|
|
|
- iscleared: number;
|
|
|
- issettled: number;
|
|
|
- last: number;
|
|
|
- lastlot: number;
|
|
|
- lasttime: string;
|
|
|
- lastvolume: number;
|
|
|
- limitdown: number;
|
|
|
- limitup: number;
|
|
|
- lowest: number;
|
|
|
- nontotalholdervolume: number;
|
|
|
- nontotallot: number;
|
|
|
- nontotalturnover: number;
|
|
|
- nontotalvolume: number;
|
|
|
- opened: number;
|
|
|
- opentime: string;
|
|
|
- orderid: number;
|
|
|
- preclose: number;
|
|
|
- preholdvolume: number;
|
|
|
- presettle: number;
|
|
|
- publictradetype: string;
|
|
|
- putoptionpremiums: number;
|
|
|
- putoptionpremiums2: number;
|
|
|
- putoptionpremiums3: number;
|
|
|
- putoptionpremiums4: number;
|
|
|
- putoptionpremiums5: number;
|
|
|
- settle: number;
|
|
|
- strikeprice: number;
|
|
|
- totalaskvolume: number;
|
|
|
- totalbidvolume: number;
|
|
|
- totallot: number;
|
|
|
- totalturnover: number;
|
|
|
- totalvolume: number;
|
|
|
- utclasttime: string;
|
|
|
+ /** 获取商品盘面信息 请求 */
|
|
|
+ interface QuoteDayReq {
|
|
|
+ goodsCodes: string; // 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
|
|
|
+ }
|
|
|
+
|
|
|
+ /** 获取商品盘面信息 响应 */
|
|
|
+ interface QuoteDayRsp {
|
|
|
+ ask: number; // 卖1
|
|
|
+ ask10: number; // 卖10
|
|
|
+ ask2: number; // 卖2
|
|
|
+ ask3: number; // 卖3
|
|
|
+ ask4: number; // 卖4
|
|
|
+ ask5: number; // 卖5
|
|
|
+ ask6: number; // 卖6
|
|
|
+ ask7: number; // 卖7
|
|
|
+ ask8: number; // 卖8
|
|
|
+ ask9: number; // 卖9
|
|
|
+ askorderid: number; // 卖单号1
|
|
|
+ askorderid2: number; // 卖单号2
|
|
|
+ askorderid3: number; // 卖单号3
|
|
|
+ askorderid4: number; // 卖单号4
|
|
|
+ askorderid5: number; // 卖单号5
|
|
|
+ askordervolume: number; // 卖单量1
|
|
|
+ askordervolume10: number; // 卖单量10
|
|
|
+ askordervolume2: number; // 卖单量2
|
|
|
+ askordervolume3: number; // 卖单量3
|
|
|
+ askordervolume4: number; // 卖单量4
|
|
|
+ askordervolume5: number; // 卖单量5
|
|
|
+ askordervolume6: number; // 卖单量6
|
|
|
+ askordervolume7: number; // 卖单量7
|
|
|
+ askordervolume8: number; // 卖单量8
|
|
|
+ askordervolume9: number; // 卖单量9
|
|
|
+ askqueueinfo: string; // 大利市卖港股用
|
|
|
+ askvolume: number; // 卖量1
|
|
|
+ askvolume10: number; // 卖量10
|
|
|
+ askvolume2: number; // 卖量2
|
|
|
+ askvolume3: number; // 卖量3
|
|
|
+ askvolume4: number; // 卖量4
|
|
|
+ askvolume5: number; // 卖量5
|
|
|
+ askvolume6: number; // 卖量6
|
|
|
+ askvolume7: number; // 卖量
|
|
|
+ askvolume8: number; // 卖量8
|
|
|
+ askvolume9: number; // 卖量9
|
|
|
+ averageprice: number; // 均价
|
|
|
+ bid: number; // 买1
|
|
|
+ bid10: number; // 买10
|
|
|
+ bid2: number; // 买2
|
|
|
+ bid3: number; // 买3
|
|
|
+ bid4: number; // 买4
|
|
|
+ bid5: number; // 买5
|
|
|
+ bid6: number; // 买6
|
|
|
+ bid7: number; // 买7
|
|
|
+ bid8: number; // 买8
|
|
|
+ bid9: number; // 买9
|
|
|
+ bidorderid: number; // 买单号1
|
|
|
+ bidorderid2: number; // 买单号2
|
|
|
+ bidorderid3: number; // 买单号3
|
|
|
+ bidorderid4: number; // 买单号4
|
|
|
+ bidorderid5: number; // 买单号5
|
|
|
+ bidordervolume: number; // 买单量1
|
|
|
+ bidordervolume10: number; // 买单量10
|
|
|
+ bidordervolume2: number; // 买单量2
|
|
|
+ bidordervolume3: number; // 买单量3
|
|
|
+ bidordervolume4: number; // 买单量4
|
|
|
+ bidordervolume5: number; // 买单量5
|
|
|
+ bidordervolume6: number; // 买单量6
|
|
|
+ bidordervolume7: number; // 买单量7
|
|
|
+ bidordervolume8: number; // 买单量8
|
|
|
+ bidordervolume9: number; // 买单量9
|
|
|
+ bidqueueinfo: string; // 大利市买港股用
|
|
|
+ bidvolume: number; // 买量1
|
|
|
+ bidvolume10: number; // 买量10
|
|
|
+ bidvolume2: number; // 买量2
|
|
|
+ bidvolume3: number; // 买量3
|
|
|
+ bidvolume4: number; // 买量4
|
|
|
+ bidvolume5: number; // 买量5
|
|
|
+ bidvolume6: number; // 买量6
|
|
|
+ bidvolume7: number; // 买量7
|
|
|
+ bidvolume8: number; // 买量8
|
|
|
+ bidvolume9: number; // 买量9
|
|
|
+ calloptionpremiums: number; // 认购期权1
|
|
|
+ calloptionpremiums2: number; // 认购期权2
|
|
|
+ calloptionpremiums3: number; // 认购期权3
|
|
|
+ calloptionpremiums4: number; // 认购期权4
|
|
|
+ calloptionpremiums5: number; // 认购期权5
|
|
|
+ cleartime: number; // 清盘时间
|
|
|
+ exchangecode: number; // 交易所代码
|
|
|
+ exchangedate: number; // 交易日
|
|
|
+ goodscode: string; // 商品代码
|
|
|
+ grepmarketprice: number; // 暗盘价 港股专用
|
|
|
+ highest: number; // 最高价
|
|
|
+ holdincrement: number; // 单笔持仓
|
|
|
+ holdvolume: number; // 持仓
|
|
|
+ iep: number; // 平衡价 港股专用
|
|
|
+ iev: number; // 平衡量 港股专用
|
|
|
+ inventory: number; // 库存
|
|
|
+ iscleared: number; // 是否清盘标志
|
|
|
+ issettled: number; // 是否结算标志
|
|
|
+ last: number; // 最新价
|
|
|
+ lastlot: number; // 最新成交手数
|
|
|
+ lasttime: string; // 行情时间(只有现价变化行情时间才变化)
|
|
|
+ Lastturnover: number; // 最新成交金额
|
|
|
+ lastvolume: number; // 最新成交量
|
|
|
+ limitdown: number; // 跌停价
|
|
|
+ limitup: number; // 涨停价
|
|
|
+ lowest: number; // 最低价
|
|
|
+ nontotalholdervolume: number; // 非交易持仓量
|
|
|
+ nontotallot: number; // 非交易总手数
|
|
|
+ nontotalturnover: number; // 非交易总金额
|
|
|
+ nontotalvolume: number; // 非交易总量
|
|
|
+ opened: number; // 开盘价
|
|
|
+ opentime: string; // 开盘时间
|
|
|
+ orderid: number; // 序号
|
|
|
+ preclose: number; // 昨收
|
|
|
+ preholdvolume: number; // 昨持仓
|
|
|
+ presettle: number; // 昨结价
|
|
|
+ publictradetype: string; // 公共交易标志类型 港股专用
|
|
|
+ putoptionpremiums: number; // 认沽期权1
|
|
|
+ putoptionpremiums2: number; // 认沽期权2
|
|
|
+ putoptionpremiums3: number; // 认沽期权3
|
|
|
+ putoptionpremiums4: number; // 认沽期权4
|
|
|
+ putoptionpremiums5: number; // 认沽期权5
|
|
|
+ settle: number; // 结算价
|
|
|
+ strikeprice: number; // 发行价
|
|
|
+ totalaskvolume: number; // 内盘
|
|
|
+ totalbidvolume: number; // 外盘
|
|
|
+ totallot: number; // 总手数
|
|
|
+ totalturnover: number; // 总金额
|
|
|
+ totalvolume: number; // 总量
|
|
|
+ utclasttime: string; // utc的行情时间
|
|
|
}
|
|
|
|
|
|
/** K线历史数据 */
|