Skip to content

[CLI MCP] Invalid indicatorTypes values ("RSI, MACD") generated for financial charts #1653

@viktorkombov

Description

@viktorkombov

Ignite UI CLI Version

15.0.0-rc3

Framework

Angular

CLI Command

ai-config

Node.js Version

24.2.0

Operating System

Windows

Package Manager

None

Description

When generating financial charts, indicatorTypes is sometimes set to "RSI, MACD", which are not valid enum values and result in a runtime error.

Error: Invalid FinancialIndicatorType value: RSI

Steps to Reproduce

  1. Generate a financial chart using the following prompt:

Actual Result

indicatorTypes is set to "RSI, MACD" and the app throws a runtime error.

Expected Result

Only valid FinancialIndicatorType enum values should be generated (e.g. MoneyFlowIndex, AverageTrueRange).

Error Output / Logs

Component update failed: Invalid FinancialIndicatorType value: RSI
Error: Invalid FinancialIndicatorType value: RSI

Additional Context

It seems this may be related to inconsistencies in the documentation:

  • In charts.md (igniteui-angular-components skills), indicatorTypes is described with examples such as:

    indicatorTypes: IndicatorType[]; // RSI, MACD, etc.

    which may suggest values that are not part of the actual enum.

Image
  • In the official API docs, the property expects an IgxFinancialIndicatorTypeCollection, with valid values like:

    indicatorTypes="MoneyFlowIndex, AverageTrueRange"

Aligning these references could help avoid generating invalid values.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions