Merge pull request #883 from andycheng123/release/v1.39.0

Release/v1.39.0
This commit is contained in:
Yo-An Lin 2022-08-18 11:50:55 +08:00 committed by GitHub
commit 37987b1427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 107 additions and 32 deletions

View File

@ -41,6 +41,7 @@ bbgo [flags]
* [bbgo deposits](bbgo_deposits.md) - A testing utility that will query deposition history in last 7 days
* [bbgo execute-order](bbgo_execute-order.md) - execute buy/sell on the balance/position you have on specific symbol
* [bbgo get-order](bbgo_get-order.md) - Get order status
* [bbgo hoptimize](bbgo_hoptimize.md) - run hyperparameter optimizer (experimental)
* [bbgo kline](bbgo_kline.md) - connect to the kline market data streaming service of an exchange
* [bbgo list-orders](bbgo_list-orders.md) - list user's open orders in exchange of a specific trading pair
* [bbgo margin](bbgo_margin.md) - margin related history
@ -58,4 +59,4 @@ bbgo [flags]
* [bbgo userdatastream](bbgo_userdatastream.md) - Listen to session events (orderUpdate, tradeUpdate, balanceUpdate, balanceSnapshot)
* [bbgo version](bbgo_version.md) - show version name
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo account [--session SESSION] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -51,4 +51,4 @@ bbgo backtest [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo balances [--session SESSION] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -40,4 +40,4 @@ bbgo build [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -50,4 +50,4 @@ bbgo cancel-order [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo deposits [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -49,4 +49,4 @@ bbgo execute-order --session SESSION --symbol SYMBOL --side SIDE --target-quanti
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo get-order --session SESSION --order-id ORDER_ID [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -0,0 +1,49 @@
## bbgo hoptimize
run hyperparameter optimizer (experimental)
```
bbgo hoptimize [flags]
```
### Options
```
-h, --help help for hoptimize
--json print optimizer metrics in json format
--json-keep-all keep all results of trials
--name string assign an optimization session name
--optimizer-config string config file (default "optimizer.yaml")
--output string backtest report output directory (default "output")
--tsv print optimizer metrics in csv format
```
### 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")
--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.
--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
--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.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo kline [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo list-orders open|closed --session SESSION --symbol SYMBOL [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -39,4 +39,4 @@ margin related history
* [bbgo margin loans](bbgo_margin_loans.md) - query loans history
* [bbgo margin repays](bbgo_margin_repays.md) - query repay history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo margin interests --session=SESSION_NAME --asset=ASSET [flags]
* [bbgo margin](bbgo_margin.md) - margin related history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo margin loans --session=SESSION_NAME --asset=ASSET [flags]
* [bbgo margin](bbgo_margin.md) - margin related history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -42,4 +42,4 @@ bbgo margin repays --session=SESSION_NAME --asset=ASSET [flags]
* [bbgo margin](bbgo_margin.md) - margin related history
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo market [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -44,4 +44,4 @@ bbgo optimize [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo orderbook --session=[exchange_name] --symbol=[pair_name] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo orderupdate [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -50,4 +50,4 @@ bbgo pnl [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -51,4 +51,4 @@ bbgo run [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -45,4 +45,4 @@ bbgo submit-order --session SESSION --symbol SYMBOL --side SIDE --quantity QUANT
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo sync [--session=[exchange_name]] [--symbol=[pair_name]] [[--since=yyyy/mm/d
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo trades --session=[exchange_name] --symbol=[pair_name] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo tradeupdate --session=[exchange_name] [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -43,4 +43,4 @@ bbgo transfer-history [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -41,4 +41,4 @@ bbgo userdatastream [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

View File

@ -40,4 +40,4 @@ bbgo version [flags]
* [bbgo](bbgo.md) - bbgo is a crypto trading bot
###### Auto generated by spf13/cobra on 29-Jul-2022
###### Auto generated by spf13/cobra on 17-Aug-2022

25
doc/release/v1.39.0.md Normal file
View File

@ -0,0 +1,25 @@
[Full Changelog](https://github.com/c9s/bbgo/compare/v1.38.0...main)
- [#882](https://github.com/c9s/bbgo/pull/882): strategy/autoborrow: add debt re-balancing
- [#877](https://github.com/c9s/bbgo/pull/877): strategy/supertrend: update example config
- [#878](https://github.com/c9s/bbgo/pull/878): Drift rebase
- [#875](https://github.com/c9s/bbgo/pull/875): pivotshort: trendema add initial date
- [#876](https://github.com/c9s/bbgo/pull/876): Fix: risk.AvailableQuote() should use Net() to get net value
- [#874](https://github.com/c9s/bbgo/pull/874): Fix binance futures
- [#872](https://github.com/c9s/bbgo/pull/872): fix: trailing stop properly works on both long and short positions
- [#873](https://github.com/c9s/bbgo/pull/873): improve: generalorderexecutor retries submit/cancel order once
- [#871](https://github.com/c9s/bbgo/pull/871): improve: improve maxapi, add v2 order api back
- [#869](https://github.com/c9s/bbgo/pull/869): Revert "feature: add smart cancel to drift"
- [#853](https://github.com/c9s/bbgo/pull/853): feature: add smart cancel to drift
- [#860](https://github.com/c9s/bbgo/pull/860): exchange: order fee-amount protection
- [#865](https://github.com/c9s/bbgo/pull/865): fix: protectivestoploss not working on long position
- [#868](https://github.com/c9s/bbgo/pull/868): fix: many minor fixes
- [#867](https://github.com/c9s/bbgo/pull/867): strategy: factorzoo: upgrade indicators and add comments
- [#862](https://github.com/c9s/bbgo/pull/862): Improve: supertrend strategy
- [#863](https://github.com/c9s/bbgo/pull/863): types: rbtree: resolve neel reusing problem
- [#852](https://github.com/c9s/bbgo/pull/852): feature: PositionModifier
- [#861](https://github.com/c9s/bbgo/pull/861): strategy/supertrend: re-organize exits part of config
- [#855](https://github.com/c9s/bbgo/pull/855): optimizeex: hyperparameter optimization tool
- [#856](https://github.com/c9s/bbgo/pull/856): exchange: FTX default fee
- [#857](https://github.com/c9s/bbgo/pull/857): optimizer: calculate equity diff from whole assets instead of first symbol
- [#854](https://github.com/c9s/bbgo/pull/854): fix: added SideEffectTypeAutoRepay to pivotshort take-profit order

View File

@ -2,7 +2,7 @@
package version
const Version = "v1.38.0-ae6c6c90-dev"
const Version = "v1.39.0-c786d7d3-dev"
const VersionGitRef = "ae6c6c90"
const VersionGitRef = "c786d7d3"

View File

@ -2,7 +2,7 @@
package version
const Version = "v1.38.0-ae6c6c90"
const Version = "v1.39.0-c786d7d3"
const VersionGitRef = "ae6c6c90"
const VersionGitRef = "c786d7d3"