Skip to content

Improve /stock Command to Accept Stock Names #6

Description

@WildfootW

The current /stock commands is limited to ticker symbols, hindering user experience. It needs an update to allow input of stock names in addition to ticker symbols for more intuitive and flexible use.

Command Syntax: /stockinfo [ticker_symbol or stock_name]
Example: /stockinfo 2330 or /stockinfo 台積電.

Expected Output:

  • Stock Name and Ticker Symbol: To confirm to the user which stock they are viewing.
  • Current Price/Close Price: If the market is open, show the current trading price. If the market is closed, show the last closing price.
  • 52-Week High: The highest price at which the stock has traded during the last 52 weeks.
  • 52-Week Low: The lowest price at which the stock has traded during the last 52 weeks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions