hedgequantx 2.6.153 → 2.6.155

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.153",
3
+ "version": "2.6.155",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -305,12 +305,11 @@ const customStrategyMenu = async (service) => {
305
305
 
306
306
  const agentName = agents[0].name || agents[0].provider;
307
307
  const boxWidth = Math.max(getLogoWidth(), 98);
308
- const innerWidth = boxWidth - 2;
309
308
 
310
309
  // Header aligned with main banner
311
- drawBoxHeaderContinue('CUSTOM STRATEGY - AI GENERATED');
312
- drawBoxRow(`Agent: ${agentName}`, innerWidth);
313
- drawBoxFooter();
310
+ drawBoxHeaderContinue('CUSTOM STRATEGY - AI GENERATED', boxWidth);
311
+ drawBoxRow(`Agent: ${agentName}`, boxWidth);
312
+ drawBoxFooter(boxWidth);
314
313
 
315
314
  // Step 1: Get strategy description from user
316
315
  console.log(chalk.yellow(' Describe your trading strategy in natural language:'));
@@ -369,10 +368,10 @@ const customStrategyMenu = async (service) => {
369
368
 
370
369
  // Step 4: Show strategy summary and confirm
371
370
  console.log('');
372
- drawBoxHeaderContinue('STRATEGY READY');
373
- drawBoxRow(`Name: ${genResult.name}`, innerWidth);
374
- drawBoxRow(`File: ${filename}`, innerWidth);
375
- drawBoxFooter();
371
+ drawBoxHeaderContinue('STRATEGY READY', boxWidth);
372
+ drawBoxRow(`Name: ${genResult.name}`, boxWidth);
373
+ drawBoxRow(`File: ${filename}`, boxWidth);
374
+ drawBoxFooter(boxWidth);
376
375
 
377
376
  const confirm = await prompts.textInput(chalk.cyan(' Continue with this strategy? (Y/n): '));
378
377
  if (confirm.toLowerCase() === 'n') {
@@ -173,7 +173,6 @@ const callAnthropic = async (agent, prompt, systemPrompt, options = {}) => {
173
173
 
174
174
  const body = {
175
175
  model,
176
- max_tokens: 8192,
177
176
  system: systemPrompt,
178
177
  messages: [
179
178
  { role: 'user', content: prompt }