Skip to content

Fix: [autobuy] fix error when bollinger settings is not set #5665

Fix: [autobuy] fix error when bollinger settings is not set

Fix: [autobuy] fix error when bollinger settings is not set #5665

Triggered via pull request August 21, 2024 05:39
Status Success
Total duration 8m 18s
Artifacts

go.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build (6.2, 1.21)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
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): cmd/bbgo/main.go#L1
should have a package comment
build (6.2, 1.21): pkg/accounting/pnl/report.go#L17
exported type AverageCostPnLReport should have comment or be unexported
build (6.2, 1.21): pkg/accounting/pnl/report.go#L40
exported method AverageCostPnLReport.JSON should have comment or be unexported
build (6.2, 1.21): pkg/accounting/pnl/avg_cost.go#L12
exported type AverageCostCalculator should have comment or be unexported
build (6.2, 1.21): pkg/accounting/pnl/report.go#L44
exported method AverageCostPnLReport.Print should have comment or be unexported
build (6.2, 1.21): pkg/accounting/pnl/avg_cost.go#L18
exported method AverageCostCalculator.Calculate should have comment or be unexported
build (6.2, 1.21): pkg/accounting/pnl/report.go#L73
exported method AverageCostPnLReport.SlackAttachment should have comment or be unexported
build (6.2, 1.21): pkg/strategy/kline/strategy.go#L20
exported type Strategy should have comment or be unexported
build (6.2, 1.21): pkg/strategy/kline/strategy.go#L12
exported const ID should have comment or be unexported