Explorar o código

风险管理3月11日提交代码-liu.bolan-期货交易请求

Liu.bolan %!s(int64=4) %!d(string=hai) anos
pai
achega
0c73da4305
Modificáronse 1 ficheiros con 127 adicións e 124 borrados
  1. 127 124
      RMA/app/src/main/java/cn/muchinfo/rma/global/data/QuoteDayData.kt

+ 127 - 124
RMA/app/src/main/java/cn/muchinfo/rma/global/data/QuoteDayData.kt

@@ -4,127 +4,130 @@ package cn.muchinfo.rma.global.data
  * 盘面信息
  */
 data class QuoteDayData(
-    val ask : Double = 0.0,//卖1
-    val ask10 : Double = 0.0,//卖10
-    val ask2 : Double = 0.0,//卖2
-    val ask3 : Double = 0.0,//卖3
-    val ask4 : Double = 0.0,//卖4
-    val ask5 : Double = 0.0,//卖5
-    val ask6 : Double = 0.0,//卖6
-    val ask7 : Double = 0.0,//卖7
-    val ask8 : Double = 0.0,//卖8
-    val ask9 : Double = 0.0,//卖9
-    val askorderid : Int = 0,//卖单号1
-    val askorderid2 : Int = 0,//卖单号2
-    val askorderid3 : Int = 0,//卖单号3
-    val askorderid4 : Int = 0,//卖单号4
-    val askorderid5 : Int = 0,//卖单号5
-    val askordervolume : Int = 0,//卖单量1
-    val askordervolume10 : Int = 0,//卖单量10
-    val askordervolume2 : Int = 0,//卖单量2
-    val askordervolume3 : Int = 0,//卖单量3
-    val askordervolume4 : Int = 0,//卖单量4
-    val askordervolume5 : Int = 0,//卖单量5
-    val askordervolume6 : Int = 0,//卖单量6
-    val askordervolume7 : Int = 0,//卖单量7
-    val askordervolume8 : Int = 0,//卖单量8
-    val askordervolume9 : Int = 0,//卖单量9
-    val askqueueinfo : String = "",//大利市卖港股用
-    val askvolume : Int = 0,//卖量1
-    val askvolume10 : Int = 0,//卖量10
-    val askvolume2 : Int = 0,//卖量2
-    val askvolume3 : Int = 0,//卖量3
-    val askvolume4 : Int = 0,//卖量4
-    val askvolume5 : Int = 0,//卖量5
-    val askvolume6 : Int = 0,//卖量6
-    val askvolume7 : Int = 0,//卖量7
-    val askvolume8 : Int = 0,//卖量8
-    val askvolume9 : Int = 0,//卖量9
-    val averageprice : Double = 0.0,//均价
-    val bid : Double = 0.0,//买1
-    val bid10 : Double = 0.0,//买10
-    val bid2 : Double = 0.0,//买2
-    val bid3 : Double = 0.0,//买3
-    val bid4 : Double = 0.0,//买4
-    val bid5 : Double = 0.0,//买5
-    val bid6 : Double = 0.0,//买6
-    val bid7 : Double = 0.0,//买7
-    val bid8 : Double = 0.0,//买8
-    val bid9 : Double = 0.0,//买9
-    val bidorderid : Int = 0,//买单号1
-    val bidorderid2 : Int = 0,//买单号2
-    val bidorderid3 : Int = 0,//买单号3
-    val bidorderid4 : Int = 0,//买单号4
-    val bidorderid5 : Int = 0,//买单号5
-    val bidordervolume : Int = 0,//买单量1
-    val bidordervolume10 : Int = 0,//买单量10
-    val bidordervolume2 : Int = 0,//买单量2
-    val bidordervolume3 : Int = 0,//买单量3
-    val bidordervolume4 : Int = 0,//买单量4
-    val bidordervolume5 : Int = 0,//买单量5
-    val bidordervolume6 : Int = 0,//买单量6
-    val bidordervolume7 : Int = 0,//买单量7
-    val bidordervolume8 : Int = 0,//买单量8
-    val bidordervolume9 : Int = 0,//买单量9
-    val bidqueueinfo : String = "",//大利市买港股用
-    val bidvolume : Int = 0,//买量1
-    val bidvolume10 : Int = 0,//买量10
-    val bidvolume2 : Int = 0,//买量2
-    val bidvolume3 : Int = 0,//买量3
-    val bidvolume4 : Int = 0,//买量4
-    val bidvolume5 : Int = 0,//买量5
-    val bidvolume6 : Int = 0,//买量6
-    val bidvolume7 : Int = 0,//买量7
-    val bidvolume8 : Int = 0,//买量8
-    val bidvolume9 : Int = 0,//买量9
-    val calloptionpremiums : Int = 0,//认购期权1
-    val calloptionpremiums2 : Int = 0,//认购期权2
-    val calloptionpremiums3 : Int = 0,//认购期权3
-    val calloptionpremiums4 : Int = 0,//认购期权4
-    val calloptionpremiums5 : Int = 0,//认购期权5
-    val cleartime : String = "",//清盘时间
-    val exchangecode : Int = 0,//交易所代码
-    val exchangedate : String = "",//交易日
-    val goodscode : String = "",//商品代码
-    val grepmarketprice : Double = 0.0,//暗盘价 港股专用
-    val highest : Double = 0.0,//最高价
-    val holdincrement : Int = 0,//单笔持仓
-    val holdvolume : Int = 0,//持仓
-    val iep : Double = 0.0,//平衡价 港股专用
-    val iev : Double = 0.0,//平衡量 港股专用
-    val inventory : Int = 0,//库存
-    val iscleared : Int = 0,//是否清盘标志
-    val issettled : Int = 0,//是否结算标志
-    val last : Double = 0.0,//最新价
-    val lastlot : Int = 0,//最新成交手数
-    val lasttime : String = "",//行情时间(只有现价变化行情时间才变化)
-    val lastturnover : Double = 0.0,//最新成交金额
-    val lastvolume : Int = 0,//最新成交量
-    val limitdown : Double = 0.0,//跌停价
-    val limitup : Double = 0.0,//涨停价
-    val lowest : Double = 0.0,//最低价
-    val nontotalholdervolume : Int = 0,//非交易持仓量
-    val nontotallot : Int = 0,//非交易总手数
-    val nontotalturnover : String = "",//非交易总金额
-    val nontotalvolume : String = "",//非交易总量
-    val opened : Double = 0.0,//开盘价
-    val opentime : String = "",//开盘时间
-    val orderid : Int = 0,//序号
-    val preclose : Double = 0.0,//昨收
-    val preholdvolume : Int = 0,//昨持仓
-    val presettle : Double = 0.0,//昨结价
-    val publictradetype : String = "",//公共交易标志类型 港股专用
-    val putoptionpremiums : Int = 0,//认沽期权1
-    val putoptionpremiums2 : Int = 0,//认沽期权2
-    val putoptionpremiums3 : Int = 0,//认沽期权3
-    val putoptionpremiums4 : Int = 0,//认沽期权4
-    val putoptionpremiums5 : Int = 0,//认沽期权5
-    val settle : Double = 0.0,//结算价
-    val strikeprice : Double = 0.0,//发行价
-    val totalaskvolume : Int = 0,//内盘
-    val totalbidvolume : Int = 0,//外盘
-    val totallot : Int = 0,//总手数
-    val totalturnover : Double = 0.0,//总金额
-    val totalvolume : String = "",//总量
-    val utclasttime : String = ""//utc的行情时间
-)
+    var ask : Double = 0.0,//卖1
+    var ask10 : Double = 0.0,//卖10
+    var ask2 : Double = 0.0,//卖2
+    var ask3 : Double = 0.0,//卖3
+    var ask4 : Double = 0.0,//卖4
+    var ask5 : Double = 0.0,//卖5
+    var ask6 : Double = 0.0,//卖6
+    var ask7 : Double = 0.0,//卖7
+    var ask8 : Double = 0.0,//卖8
+    var ask9 : Double = 0.0,//卖9
+    var askorderid : Int = 0,//卖单号1
+    var askorderid2 : Int = 0,//卖单号2
+    var askorderid3 : Int = 0,//卖单号3
+    var askorderid4 : Int = 0,//卖单号4
+    var askorderid5 : Int = 0,//卖单号5
+    var askordervolume : Int = 0,//卖单量1
+    var askordervolume10 : Int = 0,//卖单量10
+    var askordervolume2 : Int = 0,//卖单量2
+    var askordervolume3 : Int = 0,//卖单量3
+    var askordervolume4 : Int = 0,//卖单量4
+    var askordervolume5 : Int = 0,//卖单量5
+    var askordervolume6 : Int = 0,//卖单量6
+    var askordervolume7 : Int = 0,//卖单量7
+    var askordervolume8 : Int = 0,//卖单量8
+    var askordervolume9 : Int = 0,//卖单量9
+    var askqueueinfo : String = "",//大利市卖港股用
+    var askvolume : Int = 0,//卖量1
+    var askvolume10 : Int = 0,//卖量10
+    var askvolume2 : Int = 0,//卖量2
+    var askvolume3 : Int = 0,//卖量3
+    var askvolume4 : Int = 0,//卖量4
+    var askvolume5 : Int = 0,//卖量5
+    var askvolume6 : Int = 0,//卖量6
+    var askvolume7 : Int = 0,//卖量7
+    var askvolume8 : Int = 0,//卖量8
+    var askvolume9 : Int = 0,//卖量9
+    var averageprice : Double = 0.0,//均价
+    var bid : Double = 0.0,//买1
+    var bid10 : Double = 0.0,//买10
+    var bid2 : Double = 0.0,//买2
+    var bid3 : Double = 0.0,//买3
+    var bid4 : Double = 0.0,//买4
+    var bid5 : Double = 0.0,//买5
+    var bid6 : Double = 0.0,//买6
+    var bid7 : Double = 0.0,//买7
+    var bid8 : Double = 0.0,//买8
+    var bid9 : Double = 0.0,//买9
+    var bidorderid : Int = 0,//买单号1
+    var bidorderid2 : Int = 0,//买单号2
+    var bidorderid3 : Int = 0,//买单号3
+    var bidorderid4 : Int = 0,//买单号4
+    var bidorderid5 : Int = 0,//买单号5
+    var bidordervolume : Int = 0,//买单量1
+    var bidordervolume10 : Int = 0,//买单量10
+    var bidordervolume2 : Int = 0,//买单量2
+    var bidordervolume3 : Int = 0,//买单量3
+    var bidordervolume4 : Int = 0,//买单量4
+    var bidordervolume5 : Int = 0,//买单量5
+    var bidordervolume6 : Int = 0,//买单量6
+    var bidordervolume7 : Int = 0,//买单量7
+    var bidordervolume8 : Int = 0,//买单量8
+    var bidordervolume9 : Int = 0,//买单量9
+    var bidqueueinfo : String = "",//大利市买港股用
+    var bidvolume : Int = 0,//买量1
+    var bidvolume10 : Int = 0,//买量10
+    var bidvolume2 : Int = 0,//买量2
+    var bidvolume3 : Int = 0,//买量3
+    var bidvolume4 : Int = 0,//买量4
+    var bidvolume5 : Int = 0,//买量5
+    var bidvolume6 : Int = 0,//买量6
+    var bidvolume7 : Int = 0,//买量7
+    var bidvolume8 : Int = 0,//买量8
+    var bidvolume9 : Int = 0,//买量9
+    var calloptionpremiums : Int = 0,//认购期权1
+    var calloptionpremiums2 : Int = 0,//认购期权2
+    var calloptionpremiums3 : Int = 0,//认购期权3
+    var calloptionpremiums4 : Int = 0,//认购期权4
+    var calloptionpremiums5 : Int = 0,//认购期权5
+    var cleartime : String = "",//清盘时间
+    var exchangecode : Int = 0,//交易所代码
+    var exchangedate : String = "",//交易日
+    var goodscode : String = "",//商品代码
+    var grepmarketprice : Double = 0.0,//暗盘价 港股专用
+    var highest : Double = 0.0,//最高价
+    var holdincrement : Int = 0,//单笔持仓
+    var holdvolume : Int = 0,//持仓
+    var iep : Double = 0.0,//平衡价 港股专用
+    var iev : Double = 0.0,//平衡量 港股专用
+    var inventory : Int = 0,//库存
+    var iscleared : Int = 0,//是否清盘标志
+    var issettled : Int = 0,//是否结算标志
+    var last : Double = 0.0,//最新价
+    var lastlot : Int = 0,//最新成交手数
+    var lasttime : String = "",//行情时间(只有现价变化行情时间才变化)
+    var lastturnover : Double = 0.0,//最新成交金额
+    var lastvolume : Int = 0,//最新成交量
+    var limitdown : Double = 0.0,//跌停价
+    var limitup : Double = 0.0,//涨停价
+    var lowest : Double = 0.0,//最低价
+    var nontotalholdervolume : Int = 0,//非交易持仓量
+    var nontotallot : Int = 0,//非交易总手数
+    var nontotalturnover : String = "",//非交易总金额
+    var nontotalvolume : String = "",//非交易总量
+    var opened : Double = 0.0,//开盘价
+    var opentime : String = "",//开盘时间
+    var orderid : Int = 0,//序号
+    var preclose : Double = 0.0,//昨收
+    var preholdvolume : Int = 0,//昨持仓
+    var presettle : Double = 0.0,//昨结价
+    var publictradetype : String = "",//公共交易标志类型 港股专用
+    var putoptionpremiums : Int = 0,//认沽期权1
+    var putoptionpremiums2 : Int = 0,//认沽期权2
+    var putoptionpremiums3 : Int = 0,//认沽期权3
+    var putoptionpremiums4 : Int = 0,//认沽期权4
+    var putoptionpremiums5 : Int = 0,//认沽期权5
+    var settle : Double = 0.0,//结算价
+    var strikeprice : Double = 0.0,//发行价
+    var totalaskvolume : Int = 0,//内盘
+    var totalbidvolume : Int = 0,//外盘
+    var totallot : Int = 0,//总手数
+    var totalturnover : Double = 0.0,//总金额
+    var totalvolume : String = "",//总量
+    var utclasttime : String = "",//utc的行情时间
+    var ontheprice : Double = 0.0//上一口价
+){
+
+}