Skip to content

FIX: If futures order is Market order use avg price replace zero price #4288

FIX: If futures order is Market order use avg price replace zero price

FIX: If futures order is Market order use avg price replace zero price #4288

Triggered via pull request December 5, 2024 11:09
Status Success
Total duration 1m 39s
Artifacts

golang-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: pkg/exchange/factory.go#L8
could not import github.com/c9s/bbgo/pkg/exchange/binance (-: # github.com/c9s/bbgo/pkg/exchange/binance
lint: pkg/exchange/binance/convert_futures.go#L118
orderPrice.IsZero undefined (type string has no field or method IsZero)) (typecheck)
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/autoborrow/strategy.go#L13
could not import github.com/c9s/bbgo/pkg/exchange/binance (-: # github.com/c9s/bbgo/pkg/exchange/binance
lint: pkg/exchange/binance/convert_futures.go#L118
orderPrice.IsZero undefined (type string has no field or method IsZero)) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L121
s.OrderExecutor undefined (type *Strategy has no field or method OrderExecutor) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L141
s.OrderExecutor undefined (type *Strategy has no field or method OrderExecutor) (typecheck)
lint: pkg/strategy/autobuy/strategy.go#L149
s.Session undefined (type *Strategy has no field or method Session) (typecheck)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636