From 4aebee0d4d6b3c271cb4365044bf9776433b8069 Mon Sep 17 00:00:00 2001
From: dongzp <975303544@qq.com>
Date: Tue, 21 Jul 2026 16:43:24 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=88=86=E6=97=B6=E6=88=90?=
=?UTF-8?q?=E4=BA=A4=E5=A4=A7=E5=8D=95=E7=BB=9F=E8=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 2 +
src/components/quote/LargeOrderAnalysis.vue | 226 ++++++++++++++++++++
src/config/contract.ts | 5 +
src/mocks/quote.ts | 4 +
4 files changed, 237 insertions(+)
create mode 100644 src/components/quote/LargeOrderAnalysis.vue
diff --git a/src/App.vue b/src/App.vue
index 1ac7bae..e0849e2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -16,6 +16,7 @@
@@ -47,6 +48,7 @@ import QuoteStats from './components/quote/QuoteStats.vue'
import ChartPanel from './components/quote/ChartPanel.vue'
import OrderBook from './components/quote/OrderBook.vue'
import TradeTape from './components/quote/TradeTape.vue'
+import LargeOrderAnalysis from './components/quote/LargeOrderAnalysis.vue'
import NewsList from './components/news/NewsList.vue'
import PositionPanel from './components/position/PositionPanel.vue'
import AiAdviceDrawer from './components/ai/AiAdviceDrawer.vue'
diff --git a/src/components/quote/LargeOrderAnalysis.vue b/src/components/quote/LargeOrderAnalysis.vue
new file mode 100644
index 0000000..f2a8e2b
--- /dev/null
+++ b/src/components/quote/LargeOrderAnalysis.vue
@@ -0,0 +1,226 @@
+
+
+
大单分析
+
+
大单阈值 > {{ threshold }} 手
+
+
+
+
+
+
diff --git a/src/config/contract.ts b/src/config/contract.ts
index 7d1fa71..753d60f 100644
--- a/src/config/contract.ts
+++ b/src/config/contract.ts
@@ -8,4 +8,9 @@ export const contractConfig = {
name: '玻璃2609',
/** 交易所展示名 */
exchange: '郑商所',
+ /**
+ * 大单手数阈值:现手大于该值计为大单,否则计为散单。
+ * 用于分时成交「大单分析」饼图。
+ */
+ largeOrderLots: 100,
} as const
diff --git a/src/mocks/quote.ts b/src/mocks/quote.ts
index b368f96..946748d 100644
--- a/src/mocks/quote.ts
+++ b/src/mocks/quote.ts
@@ -109,5 +109,9 @@ export const quoteMock: QuoteData = {
{ time: '11:26', price: 934.0, volume: 3, side: 'B' },
{ time: '11:25', price: 935.0, volume: 27, side: 'S' },
{ time: '11:25', price: 936.0, volume: 9, side: 'B' },
+ { time: '11:24', price: 936.0, volume: 5, side: 'B' },
+ { time: '11:24', price: 935.0, volume: 7, side: 'S' },
+ { time: '11:23', price: 935.0, volume: 45, side: 'S' },
+ { time: '11:23', price: 934.0, volume: 38, side: 'B' },
],
}