Skip to content

Commit

Permalink
Merge pull request #1701 from c9s/release/v1.60
Browse files Browse the repository at this point in the history
RELEASE: v1.60.0
  • Loading branch information
c9s authored Aug 21, 2024
2 parents 6f0cf8f + 48eeae0 commit d18adfc
Show file tree
Hide file tree
Showing 34 changed files with 116 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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-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 20-May-2024
###### Auto generated by spf13/cobra on 21-Aug-2024
62 changes: 62 additions & 0 deletions doc/release/v1.60.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[Full Changelog](https://github.com/c9s/bbgo/compare/v1.59.2...main)

- [#1683](https://github.com/c9s/bbgo/pull/1683): dep: bump codecov/codecov-action from 3 to 4
- [#1680](https://github.com/c9s/bbgo/pull/1680): dep: bump docker/setup-buildx-action from 1 to 3
- [#1684](https://github.com/c9s/bbgo/pull/1684): dep: bump docker/metadata-action from 3 to 5
- [#1681](https://github.com/c9s/bbgo/pull/1681): dep: bump actions/checkout from 2 to 4
- [#1689](https://github.com/c9s/bbgo/pull/1689): FIX: fix float64 series use mean or stdev function result is zero
- [#1697](https://github.com/c9s/bbgo/pull/1697): FEATURE: redesign and refactor twap order executor
- [#1698](https://github.com/c9s/bbgo/pull/1698): FEATURE: update get trades api
- [#1692](https://github.com/c9s/bbgo/pull/1692): DELETE: delete python
- [#1693](https://github.com/c9s/bbgo/pull/1693): FIX: fix binance exchange query futures order
- [#1696](https://github.com/c9s/bbgo/pull/1696): FIX: [core] setting.InitializeConverter could return a nil converter object
- [#1695](https://github.com/c9s/bbgo/pull/1695): FIX: [max] fix GetDepositHistoryRequest
- [#1694](https://github.com/c9s/bbgo/pull/1694): FIX: [max] fix max withdrawal api parameters
- [#1691](https://github.com/c9s/bbgo/pull/1691): FEATURE: [bitget] upgrade public websocket to v2
- [#1690](https://github.com/c9s/bbgo/pull/1690): FEATURE: improve trade/order converter
- [#1688](https://github.com/c9s/bbgo/pull/1688): FEATURE: [xdepthmaker] separate hedge symbol
- [#1685](https://github.com/c9s/bbgo/pull/1685): IMPROVE: [xalign] improve notification
- [#1679](https://github.com/c9s/bbgo/pull/1679): FIX: [xalign] fix max withdraw history api query
- [#1671](https://github.com/c9s/bbgo/pull/1671): dep: bump morphy2k/revive-action from 2.5.4 to 2.5.9
- [#1672](https://github.com/c9s/bbgo/pull/1672): dep: bump docker/login-action from 1 to 3
- [#1674](https://github.com/c9s/bbgo/pull/1674): dep: bump docker/setup-qemu-action from 1 to 3
- [#1676](https://github.com/c9s/bbgo/pull/1676): dep: bump docker/build-push-action from 2 to 6
- [#1677](https://github.com/c9s/bbgo/pull/1677): dep: bump golangci/golangci-lint-action from 4 to 6
- [#1678](https://github.com/c9s/bbgo/pull/1678): FEATURE: [xalign] add withdraw detection
- [#1673](https://github.com/c9s/bbgo/pull/1673): dep: bump actions/setup-go from 4 to 5
- [#1675](https://github.com/c9s/bbgo/pull/1675): dep: bump actions/cache from 2 to 4
- [#1670](https://github.com/c9s/bbgo/pull/1670): CI: Create .github/dependabot.yml
- [#1669](https://github.com/c9s/bbgo/pull/1669): FEATURE: [max] update max api url
- [#1668](https://github.com/c9s/bbgo/pull/1668): REFACTOR: support custom order by column
- [#1663](https://github.com/c9s/bbgo/pull/1663): FIX: [rebalance] round down quantity
- [#1667](https://github.com/c9s/bbgo/pull/1667): FIX: [common] fix profit fixer batch query
- [#1666](https://github.com/c9s/bbgo/pull/1666): FEATURE: [liqmaker] add profit fixer support
- [#1665](https://github.com/c9s/bbgo/pull/1665): IMPROVE: improve price volume slice parsing
- [#1664](https://github.com/c9s/bbgo/pull/1664): FEATURE: update max api to latest version
- [#1383](https://github.com/c9s/bbgo/pull/1383): FEATURE: merge recover logic and run periodically
- [#1656](https://github.com/c9s/bbgo/pull/1656): REFACTOR: [autobuy] replace threshold with minBaseBalance
- [#1644](https://github.com/c9s/bbgo/pull/1644): REFACTOR: Extract and move FeeBudget from xgap
- [#1662](https://github.com/c9s/bbgo/pull/1662): FIX: [atrpin] fix position quantity
- [#1661](https://github.com/c9s/bbgo/pull/1661): IMPROVE: [batch] improve trade batch query
- [#1648](https://github.com/c9s/bbgo/pull/1648): FEATURE: [atrpin] take profit by expected base balance
- [#1660](https://github.com/c9s/bbgo/pull/1660): FIX: fix trade insertion for inserted_at field
- [#1659](https://github.com/c9s/bbgo/pull/1659): FEATURE: [core] add syncBufferPeriod config and set default to -30 mins
- [#1657](https://github.com/c9s/bbgo/pull/1657): MINOR: compile and update migration package for trades.inserted_at
- [#1646](https://github.com/c9s/bbgo/pull/1646): MINOR: add inserted_at column to trades
- [#1655](https://github.com/c9s/bbgo/pull/1655): FEATURE: [xgap] add dailyTargetVolume option
- [#1645](https://github.com/c9s/bbgo/pull/1645): FEATURE: [dca2] make the take-profit order of round from order to orders
- [#1654](https://github.com/c9s/bbgo/pull/1654): FIX: [types] improve AdjustQuantityByMinNotional
- [#1653](https://github.com/c9s/bbgo/pull/1653): FIX: [xgap] make sourceBook optional
- [#1652](https://github.com/c9s/bbgo/pull/1652): FIX: [xgap] fix empty source book pricing issue
- [#1649](https://github.com/c9s/bbgo/pull/1649): FEATURE: add BasicCircuitBreaker
- [#1650](https://github.com/c9s/bbgo/pull/1650): FIX: [okex] fix order book subscription channels
- [#1651](https://github.com/c9s/bbgo/pull/1651): FEATURE: [okx] add conn info event
- [#1647](https://github.com/c9s/bbgo/pull/1647): FIX: [retry] add initialAttempts to the order trades query backoff
- [#1637](https://github.com/c9s/bbgo/pull/1637): CHORE: [atrpin] add symbol and window log fields
- [#1643](https://github.com/c9s/bbgo/pull/1643): FIX: [binance] implement query trade for binance margin trading
- [#1640](https://github.com/c9s/bbgo/pull/1640): FEATURE: [dca2] change state recovery logic
- [#1642](https://github.com/c9s/bbgo/pull/1642): Refactor: add average depth price method
- [#1641](https://github.com/c9s/bbgo/pull/1641): FEATURE: [dca2] new flag UniversalCancelAllOrdersWhenClose to decide …
- [#1638](https://github.com/c9s/bbgo/pull/1638): FEATURE: [dca2] store price quantity pairs of the open-position order…
- [#1639](https://github.com/c9s/bbgo/pull/1639): REFACTOR: move maker tools
- [#1625](https://github.com/c9s/bbgo/pull/1625): CHORE: fix function names in comment
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.59.2-2e52d3175-dev"
const Version = "v1.60.0-3a2e4dfd2-dev"

const VersionGitRef = "2e52d3175"
const VersionGitRef = "3a2e4dfd2"
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.59.2-2e52d3175"
const Version = "v1.60.0-3a2e4dfd2"

const VersionGitRef = "2e52d3175"
const VersionGitRef = "3a2e4dfd2"
9 changes: 9 additions & 0 deletions scripts/bump-minor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
git fetch origin --tags

tag=$(git tag -l --sort=-version:refname | head -n1 | awk -F. '{$2++; $3=0; print $1"."$2"."$3}')
git tag $tag
git push -f origin HEAD
echo "sleep 3 seconds for CI to detect tag pushing"
sleep 3
git push origin $tag
12 changes: 12 additions & 0 deletions scripts/bump-patch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
git fetch origin
git fetch origin --tags

tag=$(git tag -l --sort=-version:refname | head -n1 | awk -F . '{OFS="."; $NF+=1; print $0}')
git rebase origin/main
git tag $tag
git push -f origin HEAD
echo "sleep 3 seconds for CI to detect tag pushing"
sleep 3
git push origin $tag

0 comments on commit d18adfc

Please sign in to comment.