Skip to content

Commit

Permalink
Merge pull request #1596 from c9s/release/v1.58
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Mar 22, 2024
2 parents c9f1764 + ae859a7 commit 693b641
Show file tree
Hide file tree
Showing 32 changed files with 81 additions and 33 deletions.
2 changes: 1 addition & 1 deletion doc/commands/bbgo.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ bbgo account [--session SESSION] [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_backtest.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ bbgo backtest [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_balances.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ bbgo balances [--session SESSION] [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ bbgo build [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_cancel-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ bbgo cancel-order [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_deposits.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ bbgo deposits [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_execute-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_get-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_hoptimize.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ bbgo hoptimize [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_kline.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ bbgo kline [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_list-orders.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_margin.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_margin_interests.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ bbgo margin interests --session=SESSION_NAME --asset=ASSET [flags]

* [bbgo margin](bbgo_margin.md) - margin related history

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_margin_loans.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ bbgo margin loans --session=SESSION_NAME --asset=ASSET [flags]

* [bbgo margin](bbgo_margin.md) - margin related history

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_margin_repays.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ bbgo margin repays --session=SESSION_NAME --asset=ASSET [flags]

* [bbgo margin](bbgo_margin.md) - margin related history

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_market.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ bbgo market [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_optimize.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ bbgo optimize [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_orderbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_orderupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ bbgo orderupdate [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_pnl.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ bbgo pnl [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ bbgo run [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_submit-order.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_trades.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,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 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_tradeupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ bbgo tradeupdate --session=[exchange_name] [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_transfer-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ bbgo transfer-history [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_userdatastream.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ bbgo userdatastream [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
2 changes: 1 addition & 1 deletion doc/commands/bbgo_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ bbgo version [flags]

* [bbgo](bbgo.md) - bbgo is a crypto trading bot

###### Auto generated by spf13/cobra on 27-Feb-2024
###### Auto generated by spf13/cobra on 19-Mar-2024
48 changes: 48 additions & 0 deletions doc/release/v1.58.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[Full Changelog](https://github.com/c9s/bbgo/compare/v1.57.0...main)

- [#1593](https://github.com/c9s/bbgo/pull/1593): FIX: [xalign] add more complex test case for xalign strategy
- [#1594](https://github.com/c9s/bbgo/pull/1594): FIX: [dca2] fix order group id not set issue
- [#1589](https://github.com/c9s/bbgo/pull/1589): FEATURE: [dca2] add ttl for persistence and nextRoundPaused flag
- [#1592](https://github.com/c9s/bbgo/pull/1592): FIX: [xalign] correct the base/quote currency balance name when it's reversed
- [#1591](https://github.com/c9s/bbgo/pull/1591): FIX: [okx] update okx url
- [#1586](https://github.com/c9s/bbgo/pull/1586): IMPROVE: [dca2] new struct RoundCollector for testing and use flag to decide re…
- [#1587](https://github.com/c9s/bbgo/pull/1587): FIX: [xtri] remove repetitive words
- [#1582](https://github.com/c9s/bbgo/pull/1582): Fix: Restore parameters when update active order book
- [#1588](https://github.com/c9s/bbgo/pull/1588): FIX: [xalign] check if the quote balance will be used up and below the expected balance
- [#1585](https://github.com/c9s/bbgo/pull/1585): FIX: [xalign] fix reversed market
- [#1584](https://github.com/c9s/bbgo/pull/1584): MINOR: [dca2] use GeneralBackoff not GeneralLiteBackoff
- [#1583](https://github.com/c9s/bbgo/pull/1583): FEATURE: [okx] query recent trades
- [#1580](https://github.com/c9s/bbgo/pull/1580): FIX: [dca2] must calculate and emit profit at the end of the round
- [#1581](https://github.com/c9s/bbgo/pull/1581): MINOR: [okx][bitget] remove the query after place order
- [#1579](https://github.com/c9s/bbgo/pull/1579): CHORE: [xgap] subscribe to level 5 book
- [#1575](https://github.com/c9s/bbgo/pull/1575): FEATURE: [bbgo] add ExchangePublic
- [#1578](https://github.com/c9s/bbgo/pull/1578): FIX: [okx] remove the query after place order
- [#1577](https://github.com/c9s/bbgo/pull/1577): FIX: [bitget] fix post only order
- [#1576](https://github.com/c9s/bbgo/pull/1576): MINOR: [dca2] add more log and retry
- [#1574](https://github.com/c9s/bbgo/pull/1574): MINOR: [dca2] remove debug log
- [#1572](https://github.com/c9s/bbgo/pull/1572): TEST: [bitget] add test to query trades, cancel orders, closed orders
- [#1573](https://github.com/c9s/bbgo/pull/1573): CHORE: [max] adjust max order limiter
- [#1569](https://github.com/c9s/bbgo/pull/1569): FIX: fix some typos
- [#1571](https://github.com/c9s/bbgo/pull/1571): FIX: [rebalance] fix cannot lock fund
- [#1570](https://github.com/c9s/bbgo/pull/1570): MINOR: add log when there is error at calculating and emit profit
- [#1568](https://github.com/c9s/bbgo/pull/1568): FIX: [xfunding] add many fixes and improvements
- [#1563](https://github.com/c9s/bbgo/pull/1563): TEST: [bitget] add market/limit maker tests for place order
- [#1567](https://github.com/c9s/bbgo/pull/1567): REFACTOR: refactor profit fixer
- [#1565](https://github.com/c9s/bbgo/pull/1565): TEST: [bitget] add more tests for query open orders
- [#1566](https://github.com/c9s/bbgo/pull/1566): FIX: [xdepthmaker] fix crash
- [#1564](https://github.com/c9s/bbgo/pull/1564): FIX: [xdepthmaker] fix use of uninitialized vars
- [#1561](https://github.com/c9s/bbgo/pull/1561): FIX: [bitget] support market order on bitget unfilled order conversion
- [#1562](https://github.com/c9s/bbgo/pull/1562): FIX: [xdepthmaker] add disableHedge option and put profix fixer before Initialize()
- [#1560](https://github.com/c9s/bbgo/pull/1560): TEST: [bitget] add tests for query account, place order
- [#1559](https://github.com/c9s/bbgo/pull/1559): FEATURE: [xdepthmaker] add profit fixer
- [#1558](https://github.com/c9s/bbgo/pull/1558): TEST: [bitget] add test for kline and ticker
- [#1556](https://github.com/c9s/bbgo/pull/1556): TEST: [bitget] add tests for query markets
- [#1540](https://github.com/c9s/bbgo/pull/1540): MINOR: [dca2] add metrics for dca2
- [#1555](https://github.com/c9s/bbgo/pull/1555): FIX: [bbgo] use origin order if error occurred
- [#1554](https://github.com/c9s/bbgo/pull/1554): MINOR: [bbgo] add more logs
- [#1549](https://github.com/c9s/bbgo/pull/1549): FIX: [exit] Use configuration instead of kine fixed interval
- [#1550](https://github.com/c9s/bbgo/pull/1550): FEATURE: [rebalance] add balance type
- [#1552](https://github.com/c9s/bbgo/pull/1552): FIX: [dca2] all the profit will use in the first order of the next round
- [#1553](https://github.com/c9s/bbgo/pull/1553): FEAT: Add SMMA indicator
- [#1551](https://github.com/c9s/bbgo/pull/1551): DELETE: [okx] rm redundant codes
- [#1545](https://github.com/c9s/bbgo/pull/1545): FEATURE: add universal cancel all orders api helper
4 changes: 2 additions & 2 deletions pkg/version/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

package version

const Version = "v1.57.0-e3ae3574-dev"
const Version = "v1.58.0-d58461d1-dev"

const VersionGitRef = "e3ae3574"
const VersionGitRef = "d58461d1"
4 changes: 2 additions & 2 deletions pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

package version

const Version = "v1.57.0-e3ae3574"
const Version = "v1.58.0-d58461d1"

const VersionGitRef = "e3ae3574"
const VersionGitRef = "d58461d1"

0 comments on commit 693b641

Please sign in to comment.