make pnl command public

This commit is contained in:
c9s 2020-10-10 13:20:53 +08:00
parent 530937eb46
commit ce73979713

View File

@ -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,