Skip to content

FEATURE: add csvsource backtesting support (rebase pull request #1389) #3653

FEATURE: add csvsource backtesting support (rebase pull request #1389)

FEATURE: add csvsource backtesting support (rebase pull request #1389) #3653

Triggered via pull request July 9, 2024 07:36
Status Success
Total duration 38s
Artifacts

golang-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/strategy/audacitymaker/strategy.go#L92
s.Status undefined (type *Strategy has no field or method Status) (typecheck)
lint: pkg/strategy/audacitymaker/strategy.go#L94
s.OnSuspend undefined (type *Strategy has no field or method OnSuspend) (typecheck)
lint: pkg/strategy/audacitymaker/strategy.go#L99
s.OnEmergencyStop undefined (type *Strategy has no field or method OnEmergencyStop) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L10
could not import github.com/c9s/bbgo/pkg/indicator/v2 (-: # github.com/c9s/bbgo/pkg/indicator/v2
lint: pkg/indicator/v2/volume_profile.go#L167
type func(i VolumeLevel, j VolumeLevel) bool of func(i, j VolumeLevel) bool {…} does not match inferred type func(a VolumeLevel, b VolumeLevel) int for func(a E, b E) int) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L89
s.OrderExecutor undefined (type *Strategy has no field or method OrderExecutor) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L109
s.OrderExecutor undefined (type *Strategy has no field or method OrderExecutor) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L117
s.Session undefined (type *Strategy has no field or method Session) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L124
s.Session undefined (type *Strategy has no field or method Session) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L144
s.CalculateQuantity undefined (type *Strategy has no field or method CalculateQuantity) (typecheck)