|
@@ -47,6 +47,8 @@ export const useFuturesStore = defineStore(() => {
|
|
|
lowest = 0,
|
|
lowest = 0,
|
|
|
lasttime = '',
|
|
lasttime = '',
|
|
|
settle = 0,
|
|
settle = 0,
|
|
|
|
|
+ limitup = 0,
|
|
|
|
|
+ limitdown = 0,
|
|
|
} = quoteDayInfo ?? {}
|
|
} = quoteDayInfo ?? {}
|
|
|
|
|
|
|
|
const rise = last ? last - presettle : 0 // 涨跌额/涨跌: 最新价 - 昨结价
|
|
const rise = last ? last - presettle : 0 // 涨跌额/涨跌: 最新价 - 昨结价
|
|
@@ -92,6 +94,8 @@ export const useFuturesStore = defineStore(() => {
|
|
|
highest,
|
|
highest,
|
|
|
lowest,
|
|
lowest,
|
|
|
settle,
|
|
settle,
|
|
|
|
|
+ limitup,
|
|
|
|
|
+ limitdown,
|
|
|
bidColor: handleColor(bid),
|
|
bidColor: handleColor(bid),
|
|
|
askColor: handleColor(ask),
|
|
askColor: handleColor(ask),
|
|
|
lastColor: handleColor(last),
|
|
lastColor: handleColor(last),
|
|
@@ -193,11 +197,11 @@ export const useFuturesStore = defineStore(() => {
|
|
|
askordervolume9: 0,
|
|
askordervolume9: 0,
|
|
|
askordervolume10: 0,
|
|
askordervolume10: 0,
|
|
|
askqueueinfo: '',
|
|
askqueueinfo: '',
|
|
|
- askvolume: handleDeimalplace(item.askvolume),
|
|
|
|
|
- askvolume2: handleDeimalplace(item.askvolume2),
|
|
|
|
|
- askvolume3: handleDeimalplace(item.askvolume3),
|
|
|
|
|
- askvolume4: handleDeimalplace(item.askvolume4),
|
|
|
|
|
- askvolume5: handleDeimalplace(item.askvolume5),
|
|
|
|
|
|
|
+ askvolume: item.askvolume ?? 0,
|
|
|
|
|
+ askvolume2: item.askvolume2 ?? 0,
|
|
|
|
|
+ askvolume3: item.askvolume3 ?? 0,
|
|
|
|
|
+ askvolume4: item.askvolume4 ?? 0,
|
|
|
|
|
+ askvolume5: item.askvolume5 ?? 0,
|
|
|
askvolume6: 0,
|
|
askvolume6: 0,
|
|
|
askvolume7: 0,
|
|
askvolume7: 0,
|
|
|
askvolume8: 0,
|
|
askvolume8: 0,
|
|
@@ -230,39 +234,39 @@ export const useFuturesStore = defineStore(() => {
|
|
|
bidordervolume9: 0,
|
|
bidordervolume9: 0,
|
|
|
bidordervolume10: 0,
|
|
bidordervolume10: 0,
|
|
|
bidqueueinfo: "",
|
|
bidqueueinfo: "",
|
|
|
- bidvolume: handleDeimalplace(item.bidvolume),
|
|
|
|
|
- bidvolume2: handleDeimalplace(item.bidvolume2),
|
|
|
|
|
- bidvolume3: handleDeimalplace(item.bidvolume3),
|
|
|
|
|
- bidvolume4: handleDeimalplace(item.bidvolume4),
|
|
|
|
|
- bidvolume5: handleDeimalplace(item.bidvolume5),
|
|
|
|
|
|
|
+ bidvolume: item.bidvolume ?? 0,
|
|
|
|
|
+ bidvolume2: item.bidvolume2 ?? 0,
|
|
|
|
|
+ bidvolume3: item.bidvolume3 ?? 0,
|
|
|
|
|
+ bidvolume4: item.bidvolume4 ?? 0,
|
|
|
|
|
+ bidvolume5: item.bidvolume5 ?? 0,
|
|
|
bidvolume6: 0,
|
|
bidvolume6: 0,
|
|
|
bidvolume7: 0,
|
|
bidvolume7: 0,
|
|
|
bidvolume8: 0,
|
|
bidvolume8: 0,
|
|
|
bidvolume9: 0,
|
|
bidvolume9: 0,
|
|
|
bidvolume10: 0,
|
|
bidvolume10: 0,
|
|
|
- calloptionpremiums: handleDeimalplace(item.calloptionpremiums),
|
|
|
|
|
- calloptionpremiums2: handleDeimalplace(item.calloptionpremiums2),
|
|
|
|
|
- calloptionpremiums3: handleDeimalplace(item.calloptionpremiums3),
|
|
|
|
|
- calloptionpremiums4: handleDeimalplace(item.calloptionpremiums4),
|
|
|
|
|
- calloptionpremiums5: handleDeimalplace(item.calloptionpremiums5),
|
|
|
|
|
|
|
+ calloptionpremiums: item.calloptionpremiums ?? 0,
|
|
|
|
|
+ calloptionpremiums2: item.calloptionpremiums2 ?? 0,
|
|
|
|
|
+ calloptionpremiums3: item.calloptionpremiums3 ?? 0,
|
|
|
|
|
+ calloptionpremiums4: item.calloptionpremiums4 ?? 0,
|
|
|
|
|
+ calloptionpremiums5: item.calloptionpremiums5 ?? 0,
|
|
|
cleartime: 0,
|
|
cleartime: 0,
|
|
|
- exchangecode: handleDeimalplace(item.exchangecode),
|
|
|
|
|
- exchangedate: handleDeimalplace(item.exchangedate),
|
|
|
|
|
|
|
+ exchangecode: item.exchangecode ?? 0,
|
|
|
|
|
+ exchangedate: item.exchangedate ?? 0,
|
|
|
goodscode: item.goodscode ?? '',
|
|
goodscode: item.goodscode ?? '',
|
|
|
grepmarketprice: 0,
|
|
grepmarketprice: 0,
|
|
|
highest: handleDeimalplace(item.highest),
|
|
highest: handleDeimalplace(item.highest),
|
|
|
holdincrement: 0,
|
|
holdincrement: 0,
|
|
|
- holdvolume: handleDeimalplace(item.holdvolume),
|
|
|
|
|
|
|
+ holdvolume: item.holdvolume ?? 0,
|
|
|
iep: 0,
|
|
iep: 0,
|
|
|
iev: 0,
|
|
iev: 0,
|
|
|
- inventory: handleDeimalplace(item.inventory),
|
|
|
|
|
|
|
+ inventory: item.inventory ?? 0,
|
|
|
iscleared: 0,
|
|
iscleared: 0,
|
|
|
issettled: 0,
|
|
issettled: 0,
|
|
|
last: handleDeimalplace(item.last),
|
|
last: handleDeimalplace(item.last),
|
|
|
lastlot: 0,
|
|
lastlot: 0,
|
|
|
lasttime,
|
|
lasttime,
|
|
|
Lastturnover: 0,
|
|
Lastturnover: 0,
|
|
|
- lastvolume: handleDeimalplace(item.lastvolume),
|
|
|
|
|
|
|
+ lastvolume: item.lastvolume ?? 0,
|
|
|
limitdown: handleDeimalplace(item.limitlow),
|
|
limitdown: handleDeimalplace(item.limitlow),
|
|
|
limitup: handleDeimalplace(item.limithigh),
|
|
limitup: handleDeimalplace(item.limithigh),
|
|
|
lowest: handleDeimalplace(item.lowest),
|
|
lowest: handleDeimalplace(item.lowest),
|
|
@@ -274,7 +278,7 @@ export const useFuturesStore = defineStore(() => {
|
|
|
opentime: '',
|
|
opentime: '',
|
|
|
orderid: 0,
|
|
orderid: 0,
|
|
|
preclose: handleDeimalplace(item.preclose),
|
|
preclose: handleDeimalplace(item.preclose),
|
|
|
- preholdvolume: handleDeimalplace(item.preholdvolume),
|
|
|
|
|
|
|
+ preholdvolume: item.preholdvolume ?? 0,
|
|
|
presettle: handleDeimalplace(item.presettle),
|
|
presettle: handleDeimalplace(item.presettle),
|
|
|
publictradetype: '',
|
|
publictradetype: '',
|
|
|
putoptionpremiums: handleDeimalplace(item.putoptionpremiums),
|
|
putoptionpremiums: handleDeimalplace(item.putoptionpremiums),
|
|
@@ -288,7 +292,7 @@ export const useFuturesStore = defineStore(() => {
|
|
|
totalbidvolume: 0,
|
|
totalbidvolume: 0,
|
|
|
totallot: 0,
|
|
totallot: 0,
|
|
|
totalturnover: handleDeimalplace(item.totalturnover),
|
|
totalturnover: handleDeimalplace(item.totalturnover),
|
|
|
- totalvolume: handleDeimalplace(item.totalvolume),
|
|
|
|
|
|
|
+ totalvolume: item.totalvolume ?? 0,
|
|
|
utclasttime: ''
|
|
utclasttime: ''
|
|
|
}
|
|
}
|
|
|
|
|
|