Skip to content

Enhancement: Add autocomplete choices for RankBy in getFundamentals #121

Description

@matteozanettii

Dear FSDA team,

While using getFundamentals, I noticed that the RankBy parameter currently lacks autocomplete choices in the functionSignatures.json file.
Since getFundamentals can return up to 176 fields, having no autocomplete makes it quite hard for the user to quickly rank the output without manually looking up the exact field names. Conversely, adding all 176 fields to the choices would clutter the UI.

Proposal:
I suggest adding a curated list of the ~10 most common performance and valuation metrics to the autocomplete choices (e.g., marketCap, trailingPE, priceToBook, returnOnEquity, etc.). This would greatly improve the UX for the most standard use cases.

I can open a quick PR with this JSON update if you agree with the approach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions