mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 00:05:15 +00:00
make pnl command public
This commit is contained in:
parent
530937eb46
commit
ce73979713
|
@ -19,12 +19,12 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
pnlCmd.Flags().String("symbol", "BTCUSDT", "trading symbol")
|
||||
pnlCmd.Flags().String("since", "", "pnl since time")
|
||||
RootCmd.AddCommand(pnlCmd)
|
||||
PnLCmd.Flags().String("symbol", "BTCUSDT", "trading symbol")
|
||||
PnLCmd.Flags().String("since", "", "pnl since time")
|
||||
RootCmd.AddCommand(PnLCmd)
|
||||
}
|
||||
|
||||
var pnlCmd = &cobra.Command{
|
||||
var PnLCmd = &cobra.Command{
|
||||
Use: "pnl",
|
||||
Short: "pnl calculator",
|
||||
SilenceUsage: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user