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() {
|
func init() {
|
||||||
pnlCmd.Flags().String("symbol", "BTCUSDT", "trading symbol")
|
PnLCmd.Flags().String("symbol", "BTCUSDT", "trading symbol")
|
||||||
pnlCmd.Flags().String("since", "", "pnl since time")
|
PnLCmd.Flags().String("since", "", "pnl since time")
|
||||||
RootCmd.AddCommand(pnlCmd)
|
RootCmd.AddCommand(PnLCmd)
|
||||||
}
|
}
|
||||||
|
|
||||||
var pnlCmd = &cobra.Command{
|
var PnLCmd = &cobra.Command{
|
||||||
Use: "pnl",
|
Use: "pnl",
|
||||||
Short: "pnl calculator",
|
Short: "pnl calculator",
|
||||||
SilenceUsage: true,
|
SilenceUsage: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user