@363045841yyt/klinechart 0.5.5 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/dist/index.cjs +9 -9
- package/dist/index.js +3126 -2692
- package/dist/klinechart.css +1 -1
- package/dist/src/components/KLineChart.vue.d.ts +1 -1
- package/dist/src/composables/useFullscreenTeleportTarget.d.ts +3 -0
- package/dist/src/config/chartSettings.d.ts +1 -0
- package/dist/src/core/chart.d.ts +11 -2
- package/dist/src/core/controller/interaction.d.ts +4 -0
- package/dist/src/core/indicators/bollState.d.ts +34 -0
- package/dist/src/core/indicators/calculators.d.ts +129 -0
- package/dist/src/core/indicators/cciState.d.ts +15 -0
- package/dist/src/core/indicators/eneState.d.ts +30 -0
- package/dist/src/core/indicators/expmaState.d.ts +30 -0
- package/dist/src/core/indicators/fastkState.d.ts +15 -0
- package/dist/src/core/indicators/kstState.d.ts +21 -0
- package/dist/src/core/indicators/maState.d.ts +26 -0
- package/dist/src/core/indicators/momState.d.ts +15 -0
- package/dist/src/core/indicators/rsiState.d.ts +39 -0
- package/dist/src/core/indicators/scheduler.d.ts +244 -0
- package/dist/src/core/indicators/stochState.d.ts +18 -0
- package/dist/src/core/indicators/wmsrState.d.ts +15 -0
- package/dist/src/core/renderers/Indicator/boll.d.ts +9 -26
- package/dist/src/core/renderers/Indicator/cci.d.ts +2 -19
- package/dist/src/core/renderers/Indicator/ene.d.ts +9 -18
- package/dist/src/core/renderers/Indicator/expma.d.ts +9 -17
- package/dist/src/core/renderers/Indicator/fastk.d.ts +2 -19
- package/dist/src/core/renderers/Indicator/index.d.ts +10 -10
- package/dist/src/core/renderers/Indicator/kst.d.ts +2 -34
- package/dist/src/core/renderers/Indicator/ma.d.ts +10 -10
- package/dist/src/core/renderers/Indicator/mainIndicatorLegend.d.ts +3 -3
- package/dist/src/core/renderers/Indicator/mom.d.ts +2 -19
- package/dist/src/core/renderers/Indicator/rsi.d.ts +3 -27
- package/dist/src/core/renderers/Indicator/scale/indicator_scale.d.ts +3 -0
- package/dist/src/core/renderers/Indicator/stoch.d.ts +2 -28
- package/dist/src/core/renderers/Indicator/wmsr.d.ts +2 -19
- package/dist/src/core/scale/logFormula.d.ts +66 -0
- package/dist/src/core/scale/priceScale.d.ts +36 -2
- package/dist/src/core/theme/fonts.d.ts +11 -0
- package/dist/src/core/utils/tickPosition.d.ts +24 -0
- package/dist/src/plugin/types.d.ts +4 -0
- package/package.json +9 -1
- package/dist/src/semantic/schema.json.d.ts +0 -259
- package/dist/src/utils/kline/ma.d.ts +0 -2
package/README.md
CHANGED
|
@@ -18,11 +18,11 @@ English | [简体中文](README_CN.md)
|
|
|
18
18
|
A lightweight financial K-line charting library focused on quantitative trading scenarios. **Agent is a first-class citizen** — supports AI Agent direct control of chart operations, providing TradingView-level interaction experience.
|
|
19
19
|
|
|
20
20
|
<div align="center">
|
|
21
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
22
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
21
|
+
<img src="https://files.seeusercontent.com/2026/05/18/7Zjf/pasted-image-1779120668142.webp" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
22
|
+
<img src="https://files.seeusercontent.com/2026/05/18/cAw4/pasted-image-1779120665492.webp" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
23
23
|
<br/>
|
|
24
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
25
|
-
<img src="https://files.seeusercontent.com/2026/05/
|
|
24
|
+
<img src="https://files.seeusercontent.com/2026/05/18/Xwq2/pasted-image-1779120662730.webp" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
25
|
+
<img src="https://files.seeusercontent.com/2026/05/18/Lb5p/7MNQT2E_2X1UL3626R.png" width="400" style="border-radius: 12px; margin: 8px;" />
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
28
|
## ✨ Core Features
|
|
@@ -42,21 +42,21 @@ KLineChart requires a stock data backend. Please ensure `kmap` and `stockbao` ar
|
|
|
42
42
|
|
|
43
43
|
```
|
|
44
44
|
workspace/
|
|
45
|
-
├──
|
|
45
|
+
├── KLineChartQuant/ # This repository
|
|
46
46
|
└── stockbao/ # Data backend repository
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
### 1. Clone Repositories
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
|
-
git clone https://github.com/363045841/
|
|
52
|
+
git clone https://github.com/363045841/KLineChartQuant.git
|
|
53
53
|
git clone https://github.com/363045841/stockbao.git
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
### 2. Start Data Backend
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
cd
|
|
59
|
+
cd KLineChartQuant
|
|
60
60
|
npm run stockbao
|
|
61
61
|
```
|
|
62
62
|
|
|
@@ -133,6 +133,8 @@ const config: SemanticChartConfig = {
|
|
|
133
133
|
|
|
134
134
|
## 🚀 What's New
|
|
135
135
|
|
|
136
|
+
- **v0.6.0** Stateless indicator pipeline: MA/BOLL/EXPMA/ENE/RSI/CCI/STOCH/MOM/WMSR/KST/FASTK now use unified Calculator → Scheduler → StateStore → Renderer architecture for better performance and maintainability
|
|
137
|
+
- **v0.5.6** Logarithmic price axis with evenly distributed grid lines at pixel level
|
|
136
138
|
- **v0.5.2** Advanced drawing tools: parallel channel, regression channel, smooth top/bottom, and non-intersecting channel
|
|
137
139
|
- **v0.5.0** Complete drawing tool system, supporting line, rectangle, text drawing and style editing
|
|
138
140
|
- **v0.4** Modern UI, left toolbar, right axis optimization, TradingView-style zoom feel
|