hedgequantx 2.6.162 → 2.6.163

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.6.162",
3
+ "version": "2.6.163",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -0,0 +1,323 @@
1
+ /**
2
+ * Direct AI Providers Configuration
3
+ * @module services/ai/providers/direct-providers
4
+ *
5
+ * Provider configurations that connect directly to each provider's API
6
+ */
7
+
8
+ const DIRECT_PROVIDERS = {
9
+ anthropic: {
10
+ id: 'anthropic',
11
+ name: 'CLAUDE (ANTHROPIC)',
12
+ description: 'Pro/Max or API Key',
13
+ category: 'direct',
14
+ models: [],
15
+ defaultModel: null,
16
+ options: [
17
+ {
18
+ id: 'oauth_max',
19
+ label: 'CLAUDE PRO/MAX (OAUTH)',
20
+ description: ['Login with your Claude subscription', 'Unlimited usage with your plan'],
21
+ fields: ['oauth'],
22
+ authType: 'oauth'
23
+ },
24
+ {
25
+ id: 'api_key',
26
+ label: 'API KEY (PAY-PER-USE)',
27
+ description: ['Get key at console.anthropic.com', '~$0.10 per trading session'],
28
+ fields: ['apiKey'],
29
+ url: 'https://console.anthropic.com/settings/keys'
30
+ }
31
+ ],
32
+ endpoint: 'https://api.anthropic.com/v1'
33
+ },
34
+
35
+ openai: {
36
+ id: 'openai',
37
+ name: 'OPENAI (GPT-4/5)',
38
+ description: 'Plus/Pro or API Key',
39
+ category: 'direct',
40
+ models: [],
41
+ defaultModel: null,
42
+ options: [
43
+ {
44
+ id: 'oauth_plus',
45
+ label: 'PLUS/PRO SUBSCRIPTION (OAUTH)',
46
+ description: ['Login with your ChatGPT account', 'Unlimited with your plan'],
47
+ fields: ['oauth'],
48
+ authType: 'oauth'
49
+ },
50
+ {
51
+ id: 'api_key',
52
+ label: 'API KEY (PAY-PER-USE)',
53
+ description: ['Get key at platform.openai.com', '~$0.15 per trading session'],
54
+ fields: ['apiKey'],
55
+ url: 'https://platform.openai.com/api-keys'
56
+ }
57
+ ],
58
+ endpoint: 'https://api.openai.com/v1'
59
+ },
60
+
61
+ gemini: {
62
+ id: 'gemini',
63
+ name: 'GEMINI (GOOGLE)',
64
+ description: 'Advanced or API Key',
65
+ category: 'direct',
66
+ models: [],
67
+ defaultModel: null,
68
+ options: [
69
+ {
70
+ id: 'oauth_advanced',
71
+ label: 'ADVANCED SUBSCRIPTION (OAUTH)',
72
+ description: ['Login with your Google account', 'Unlimited with your plan'],
73
+ fields: ['oauth'],
74
+ authType: 'oauth'
75
+ },
76
+ {
77
+ id: 'api_key',
78
+ label: 'API KEY (FREE TIER)',
79
+ description: ['Get key at aistudio.google.com', 'Free tier: 60 requests/min'],
80
+ fields: ['apiKey'],
81
+ url: 'https://aistudio.google.com/apikey'
82
+ }
83
+ ],
84
+ endpoint: 'https://generativelanguage.googleapis.com/v1'
85
+ },
86
+
87
+ deepseek: {
88
+ id: 'deepseek',
89
+ name: 'DEEPSEEK',
90
+ description: 'Very cheap & capable',
91
+ category: 'direct',
92
+ models: [],
93
+ defaultModel: null,
94
+ options: [
95
+ {
96
+ id: 'api_key',
97
+ label: 'API KEY (VERY CHEAP)',
98
+ description: ['Get key at platform.deepseek.com', '~$0.02 per trading session'],
99
+ fields: ['apiKey'],
100
+ url: 'https://platform.deepseek.com'
101
+ }
102
+ ],
103
+ endpoint: 'https://api.deepseek.com/v1'
104
+ },
105
+
106
+ groq: {
107
+ id: 'groq',
108
+ name: 'GROQ',
109
+ description: 'Ultra fast inference',
110
+ category: 'direct',
111
+ models: [],
112
+ defaultModel: null,
113
+ options: [
114
+ {
115
+ id: 'api_key',
116
+ label: 'API KEY (FREE TIER)',
117
+ description: ['Get key at console.groq.com', 'Generous free tier', 'Ultra low latency'],
118
+ fields: ['apiKey'],
119
+ url: 'https://console.groq.com/keys'
120
+ }
121
+ ],
122
+ endpoint: 'https://api.groq.com/openai/v1'
123
+ },
124
+
125
+ xai: {
126
+ id: 'xai',
127
+ name: 'GROK (XAI)',
128
+ description: 'Elon Musk\'s Grok AI',
129
+ category: 'direct',
130
+ models: [],
131
+ defaultModel: null,
132
+ options: [
133
+ {
134
+ id: 'api_key',
135
+ label: 'API KEY',
136
+ description: ['Get key at console.x.ai', 'Grok models from xAI'],
137
+ fields: ['apiKey'],
138
+ url: 'https://console.x.ai'
139
+ }
140
+ ],
141
+ endpoint: 'https://api.x.ai/v1'
142
+ },
143
+
144
+ mistral: {
145
+ id: 'mistral',
146
+ name: 'MISTRAL',
147
+ description: 'European AI leader',
148
+ category: 'direct',
149
+ models: [],
150
+ defaultModel: null,
151
+ options: [
152
+ {
153
+ id: 'api_key',
154
+ label: 'API KEY',
155
+ description: ['Get key at console.mistral.ai', 'Fast European models'],
156
+ fields: ['apiKey'],
157
+ url: 'https://console.mistral.ai'
158
+ }
159
+ ],
160
+ endpoint: 'https://api.mistral.ai/v1'
161
+ },
162
+
163
+ perplexity: {
164
+ id: 'perplexity',
165
+ name: 'PERPLEXITY',
166
+ description: 'Real-time web search AI',
167
+ category: 'direct',
168
+ models: [],
169
+ defaultModel: null,
170
+ options: [
171
+ {
172
+ id: 'api_key',
173
+ label: 'API KEY',
174
+ description: ['Get key at perplexity.ai/settings/api', 'Real-time market news & data', 'Web search integrated'],
175
+ fields: ['apiKey'],
176
+ url: 'https://www.perplexity.ai/settings/api'
177
+ }
178
+ ],
179
+ endpoint: 'https://api.perplexity.ai'
180
+ },
181
+
182
+ together: {
183
+ id: 'together',
184
+ name: 'TOGETHER AI',
185
+ description: 'Open source models, fast & cheap',
186
+ category: 'direct',
187
+ models: [],
188
+ defaultModel: null,
189
+ options: [
190
+ {
191
+ id: 'api_key',
192
+ label: 'API KEY',
193
+ description: ['Get key at api.together.xyz', '100+ open source models', 'Fast inference, good pricing'],
194
+ fields: ['apiKey'],
195
+ url: 'https://api.together.xyz/settings/api-keys'
196
+ }
197
+ ],
198
+ endpoint: 'https://api.together.xyz/v1'
199
+ },
200
+
201
+ iflow: {
202
+ id: 'iflow',
203
+ name: 'IFLOW',
204
+ description: 'Subscription (OAuth)',
205
+ category: 'direct',
206
+ models: [],
207
+ defaultModel: null,
208
+ options: [
209
+ {
210
+ id: 'oauth_sub',
211
+ label: 'SUBSCRIPTION (OAUTH)',
212
+ description: ['Login with your iFlow account', 'Access to DeepSeek, Kimi, GLM & more'],
213
+ fields: ['oauth'],
214
+ authType: 'oauth'
215
+ }
216
+ ],
217
+ endpoint: 'https://api.iflow.com/v1'
218
+ },
219
+
220
+ qwen: {
221
+ id: 'qwen',
222
+ name: 'QWEN (ALIBABA)',
223
+ description: 'Chat subscription or API Key',
224
+ category: 'direct',
225
+ models: [],
226
+ defaultModel: null,
227
+ options: [
228
+ {
229
+ id: 'oauth_chat',
230
+ label: 'CHAT SUBSCRIPTION (OAUTH)',
231
+ description: ['Login with your Qwen account', 'Unlimited with your plan'],
232
+ fields: ['oauth'],
233
+ authType: 'oauth'
234
+ },
235
+ {
236
+ id: 'api_key',
237
+ label: 'API KEY (DASHSCOPE)',
238
+ description: ['Get key at dashscope.aliyun.com', 'Qwen2.5 models', 'Very competitive pricing'],
239
+ fields: ['apiKey'],
240
+ url: 'https://dashscope.console.aliyun.com/apiKey'
241
+ }
242
+ ],
243
+ endpoint: 'https://dashscope.aliyuncs.com/compatible-mode/v1'
244
+ },
245
+
246
+ moonshot: {
247
+ id: 'moonshot',
248
+ name: 'MOONSHOT (KIMI)',
249
+ description: '200K context window',
250
+ category: 'direct',
251
+ models: [],
252
+ defaultModel: null,
253
+ options: [
254
+ {
255
+ id: 'api_key',
256
+ label: 'API KEY',
257
+ description: ['Get key at platform.moonshot.cn', 'Up to 200K context', 'Good for long documents'],
258
+ fields: ['apiKey'],
259
+ url: 'https://platform.moonshot.cn/console/api-keys'
260
+ }
261
+ ],
262
+ endpoint: 'https://api.moonshot.cn/v1'
263
+ },
264
+
265
+ yi: {
266
+ id: 'yi',
267
+ name: '01.AI (YI)',
268
+ description: 'Yi models by Kai-Fu Lee',
269
+ category: 'direct',
270
+ models: [],
271
+ defaultModel: null,
272
+ options: [
273
+ {
274
+ id: 'api_key',
275
+ label: 'API KEY',
276
+ description: ['Get key at platform.01.ai', 'Yi-Large: GPT-4 level', 'Affordable pricing'],
277
+ fields: ['apiKey'],
278
+ url: 'https://platform.01.ai'
279
+ }
280
+ ],
281
+ endpoint: 'https://api.01.ai/v1'
282
+ },
283
+
284
+ zhipu: {
285
+ id: 'zhipu',
286
+ name: 'ZHIPU AI (GLM)',
287
+ description: 'ChatGLM models',
288
+ category: 'direct',
289
+ models: [],
290
+ defaultModel: null,
291
+ options: [
292
+ {
293
+ id: 'api_key',
294
+ label: 'API KEY',
295
+ description: ['Get key at open.bigmodel.cn', 'ChatGLM-4 models', 'Strong multilingual'],
296
+ fields: ['apiKey'],
297
+ url: 'https://open.bigmodel.cn/usercenter/apikeys'
298
+ }
299
+ ],
300
+ endpoint: 'https://open.bigmodel.cn/api/paas/v4'
301
+ },
302
+
303
+ baichuan: {
304
+ id: 'baichuan',
305
+ name: 'BAICHUAN',
306
+ description: 'Multilingual AI model',
307
+ category: 'direct',
308
+ models: [],
309
+ defaultModel: null,
310
+ options: [
311
+ {
312
+ id: 'api_key',
313
+ label: 'API KEY',
314
+ description: ['Get key at platform.baichuan-ai.com', 'Strong multilingual support', 'Competitive pricing'],
315
+ fields: ['apiKey'],
316
+ url: 'https://platform.baichuan-ai.com/console/apikey'
317
+ }
318
+ ],
319
+ endpoint: 'https://api.baichuan-ai.com/v1'
320
+ },
321
+ };
322
+
323
+ module.exports = { DIRECT_PROVIDERS };