Documentation
¶
Index ¶
- func AddCommand(parent string, command *cobra.Command)
- func AddGroup(name, help string)
- func AggKlineBigs(args *config.CmdArgs) *errs.Error
- func Execute(args []string) error
- func LoadKLinesToDB(args *config.CmdArgs) *errs.Error
- func NewRootCommand() *cobra.Command
- func RunBackTest(args *config.CmdArgs) *errs.Error
- func RunCmd()
- func RunDownData(args *config.CmdArgs) *errs.Error
- func RunKlineAdjFactors(args *config.CmdArgs) *errs.Error
- func RunKlineCorrect(args *config.CmdArgs) *errs.Error
- func RunSeriesDown(args *config.CmdArgs) *errs.Error
- func RunSpider(args *config.CmdArgs) *errs.Error
- func RunSpiderWith(args *config.CmdArgs, startup data.SpiderStartupFunc) *errs.Error
- func RunTrade(args *config.CmdArgs) *errs.Error
- func RunTradeWith(args *config.CmdArgs, startup live.CryptoTraderStartupFunc) *errs.Error
- func RunVerifyData(args *config.CmdArgs) *errs.Error
- type FuncEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶ added in v0.4.1
AddCommand registers a Cobra command. Command-specific flags should be local variables captured by RunE, so extending the CLI does not require CmdArgs changes.
func AddGroup ¶ added in v0.1.31
func AddGroup(name, help string)
AddGroup registers a Cobra command group for applications embedding banbot.
func Execute ¶ added in v0.4.1
Execute runs banbot with an explicit argument list. It is separated from RunCmd so callers and tests can execute the Cobra command tree without exits.
func NewRootCommand ¶ added in v0.4.1
NewRootCommand builds the complete Cobra command tree.
func RunSpiderWith ¶ added in v0.4.0
func RunTradeWith ¶ added in v0.4.0
Types ¶
Click to show internal directories.
Click to hide internal directories.