bbgo_origin/doc/commands/bbgo_submit-order.md
2024-01-29 15:47:36 +08:00

2.0 KiB

bbgo submit-order

place order to the exchange

bbgo submit-order --session SESSION --symbol SYMBOL --side SIDE --quantity QUANTITY [--price PRICE] [flags]

Options

  -h, --help                        help for submit-order
      --margin-side-effect string   margin order side effect
      --market                      submit order as a market order
      --price string                the trading price
      --quantity string             the trading quantity
      --session string              the exchange session name for sync
      --side string                 the trading side: buy or sell
      --symbol string               the trading pair, like btcusdt

Options inherited from parent commands

      --binance-api-key string           binance api key
      --binance-api-secret string        binance api secret
      --config string                    config file (default "bbgo.yaml")
      --cpu-profile string               cpu profile
      --debug                            debug mode
      --dotenv string                    the dotenv file you want to load (default ".env.local")
      --log-formatter string             configure log formatter
      --max-api-key string               max api key
      --max-api-secret string            max api secret
      --metrics                          enable prometheus metrics
      --metrics-port string              prometheus http server port (default "9090")
      --no-dotenv                        disable built-in dotenv
      --rollbar-token string             rollbar token
      --slack-channel string             slack trading channel (default "dev-bbgo")
      --slack-error-channel string       slack error channel (default "bbgo-error")
      --slack-token string               slack token
      --telegram-bot-auth-token string   telegram auth token
      --telegram-bot-token string        telegram bot token from bot father

SEE ALSO

  • bbgo - bbgo is a crypto trading bot
Auto generated by spf13/cobra on 29-Jan-2024