mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
3.4 KiB
3.4 KiB
bbgo
bbgo is a crypto trading bot
bbgo [flags]
Options
--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")
--ftx-api-key string ftx api key
--ftx-api-secret string ftx api secret
--ftx-subaccount string subaccount name. Specify it if the credential is for subaccount.
-h, --help help for bbgo
--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 account - show user account details (ex: balance)
- bbgo backtest - run backtest with strategies
- bbgo balances - Show user account balances
- bbgo build - build cross-platform binary
- bbgo cancel-order - cancel orders
- bbgo deposits - A testing utility that will query deposition history in last 7 days
- bbgo execute-order - execute buy/sell on the balance/position you have on specific symbol
- bbgo get-order - Get order status
- bbgo hoptimize - run hyperparameter optimizer (experimental)
- bbgo kline - connect to the kline market data streaming service of an exchange
- bbgo list-orders - list user's open orders in exchange of a specific trading pair
- bbgo margin - margin related history
- bbgo market - List the symbols that the are available to be traded in the exchange
- bbgo optimize - run optimizer
- bbgo orderbook - connect to the order book market data streaming service of an exchange
- bbgo orderupdate - Listen to order update events
- bbgo pnl - Average Cost Based PnL Calculator
- bbgo run - run strategies from config file
- bbgo submit-order - place order to the exchange
- bbgo sync - sync trades and orders history
- bbgo trades - Query trading history
- bbgo tradeupdate - Listen to trade update events
- bbgo transfer-history - show transfer history
- bbgo userdatastream - Listen to session events (orderUpdate, tradeUpdate, balanceUpdate, balanceSnapshot)
- bbgo version - show version name