candleview 2.0.2 → 2.1.3
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 +16 -8
- package/dist/index.d.ts +12 -1
- package/dist/index.js +50 -290
- package/dist/index.mjs +6085 -7655
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -205,29 +205,37 @@ The system integrates the following SDKs:
|
|
|
205
205
|
aiconfigs={[
|
|
206
206
|
// Simultaneously configure different models from multiple AI brands.
|
|
207
207
|
{
|
|
208
|
-
|
|
209
|
-
brand:
|
|
208
|
+
proxyUrl: "http://0.0.0.0/api",
|
|
209
|
+
brand: "aliyun",
|
|
210
210
|
model: "qwen-turbo",
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
|
-
|
|
214
|
-
brand:
|
|
213
|
+
proxyUrl: "http://0.0.0.0/api",
|
|
214
|
+
brand: "aliyun",
|
|
215
215
|
model: "qwen-omni",
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
|
-
|
|
219
|
-
brand:
|
|
218
|
+
proxyUrl: "http://0.0.0.0/api",
|
|
219
|
+
brand: "deepseek",
|
|
220
220
|
model: "gpt-4",
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
|
-
|
|
224
|
-
brand:
|
|
223
|
+
proxyUrl: "http://0.0.0.0/api",
|
|
224
|
+
brand: "openai",
|
|
225
225
|
model: "gpt-3.5-turbo",
|
|
226
226
|
},
|
|
227
227
|
]}
|
|
228
228
|
/>
|
|
229
229
|
```
|
|
230
230
|
|
|
231
|
+
## Proxy Interface Standard
|
|
232
|
+
|
|
233
|
+
### 💡 Services that must be implemented in the domain configured by proxyUrl.
|
|
234
|
+
|
|
235
|
+
```
|
|
236
|
+
/analyzeOHLCV - A service specifically designed for processing OHLCV data.
|
|
237
|
+
```
|
|
238
|
+
|
|
231
239
|
# 💻 Command System
|
|
232
240
|
|
|
233
241
|
<img src="./assets/command-system.png" width="100%">
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ declare enum AIBrandType {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
declare interface AIConfig {
|
|
13
|
-
|
|
13
|
+
proxyUrl: string;
|
|
14
14
|
brand: string;
|
|
15
15
|
model: string;
|
|
16
16
|
maxAnalyzeData?: number;
|
|
@@ -788,6 +788,17 @@ declare interface ThemeConfig {
|
|
|
788
788
|
color: string;
|
|
789
789
|
activeTextColor: string;
|
|
790
790
|
boxShadow: string;
|
|
791
|
+
sendButton: {
|
|
792
|
+
normal: string;
|
|
793
|
+
hover: string;
|
|
794
|
+
disabled: string;
|
|
795
|
+
};
|
|
796
|
+
inputFocus: string;
|
|
797
|
+
dropdown: {
|
|
798
|
+
hover: string;
|
|
799
|
+
selected: string;
|
|
800
|
+
borderActive: string;
|
|
801
|
+
};
|
|
791
802
|
};
|
|
792
803
|
};
|
|
793
804
|
divider: {
|