@backtest-kit/ollama 0.1.2 → 0.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/build/index.cjs CHANGED
@@ -466,7 +466,7 @@ class OutlinePrivateService {
466
466
  priceStopLoss: +data.price_stop_loss,
467
467
  priceTakeProfit: +data.price_take_profit,
468
468
  note: await toPlainString(data.risk_note),
469
- priceOpen: +data.price_open,
469
+ priceOpen: data.price_open ? +data.price_open : undefined,
470
470
  };
471
471
  };
472
472
  }
package/build/index.mjs CHANGED
@@ -464,7 +464,7 @@ class OutlinePrivateService {
464
464
  priceStopLoss: +data.price_stop_loss,
465
465
  priceTakeProfit: +data.price_take_profit,
466
466
  note: await toPlainString(data.risk_note),
467
- priceOpen: +data.price_open,
467
+ priceOpen: data.price_open ? +data.price_open : undefined,
468
468
  };
469
469
  };
470
470
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/ollama",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Multi-provider LLM inference library for AI-powered trading strategies. Supports 10+ providers including OpenAI, Claude, DeepSeek, Grok, Mistral with unified API and automatic token rotation.",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",