chart

package
v0.0.0-...-274743d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL