Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChartCmd = &cobra.Command{ Use: "chart", Short: "Opens a one year chart for a ticker in your default browser", Example: " king-spy chart aapl", Run: func(cmd *cobra.Command, args []string) { ticker := args[0] utils.TickerValidation(ticker) ticker = strings.ToLower(ticker) LaunchChart(ticker) }, }
ChartCmd represents the chart command
Functions ¶
func LaunchChart ¶
func LaunchChart(ticker string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.