REFACTOR: Extract and move FeeBudget from xgap #5492
Annotations
13 warnings
build (6.2, 1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions/setup-go@v4, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (6.2, 1.21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (6.2, 1.21)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
build (6.2, 1.21)
Unexpected input(s) 'reporter', 'fail_on_error', valid inputs are ['entryPoint', 'args', 'config', 'exclude', 'path']
|
build (6.2, 1.21):
pkg/strategy/dca2/recover.go#L125
if block ends with a return statement, so drop this else and outdent its block
|
build (6.2, 1.21):
pkg/strategy/dca2/recover.go#L80
if block ends with a return statement, so drop this else and outdent its block
|
build (6.2, 1.21):
pkg/cmd/strategy/builtin.go#L5
a blank import should be only in a main or test package, or have a comment justifying it
|
build (6.2, 1.21):
pkg/strategy/fmaker/strategy.go#L289
should replace cnt += 1 with cnt++
|
build (6.2, 1.21):
pkg/backtest/dumper.go#L37
exported method Filenames returns unexported type map[backtest.symbolInterval]string, which can be annoying to use
|
build (6.2, 1.21):
pkg/strategy/harmonic/strategy.go#L135
should replace r.accumulatedTrades += 1 with r.accumulatedTrades++
|
build (6.2, 1.21):
pkg/strategy/harmonic/strategy.go#L414
if block ends with a return statement, so drop this else and outdent its block
|
build (6.2, 1.21):
pkg/bbgo/scale_test.go#L146
should replace x += 1 with x++
|
build (6.2, 1.21):
pkg/strategy/random/strategy.go#L170
if block ends with a return statement, so drop this else and outdent its block
|