Skip to content

doc: add the explanation on how to read/write strategy fields #5814

doc: add the explanation on how to read/write strategy fields

doc: add the explanation on how to read/write strategy fields #5814

Triggered via pull request September 15, 2024 18:01
Status Success
Total duration 10m 29s
Artifacts

go.yml

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

Annotations

11 warnings
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/datatype/bools/slice.go#L1
should have a package comment
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/slack/slackstyle/style.go#L1
should have a package comment
build (6.2, 1.21): pkg/dynamic/call.go#L44
this block is empty, you can remove it
build (6.2, 1.21): pkg/style/colors.go#L1
should have a package comment
build (6.2, 1.21): pkg/style/pnl.go#L7
exported var LossEmoji should have comment or be unexported
build (6.2, 1.21): pkg/style/colors.go#L3
exported const GreenColor should have comment or be unexported
build (6.2, 1.21): pkg/strategy/supertrend/strategy.go#L296
if block ends with a return statement, so drop this else and outdent its block