Skip to content

Subscription: Test coverage #1018

Subscription: Test coverage

Subscription: Test coverage #1018

Triggered via push February 24, 2024 01:28
Status Failure
Total duration 1m 51s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: backtester/plugins/strategies/example/example-strategy.go#L62
s.GetBaseData undefined (type *CustomStrategy has no field or method GetBaseData) (typecheck)
lint: cmd/portfolio/portfolio.go#L12
could not import github.com/thrasher-corp/gocryptotrader/exchanges/bitfinex (-: # github.com/thrasher-corp/gocryptotrader/exchanges/bitfinex
lint: exchanges/bitfinex/bitfinex_websocket.go#L152
undefined: stream.ErrSubscriptionNotFound
lint: exchanges/bitfinex/bitfinex_websocket.go#L504
undefined: stream.ErrSubscriptionNotFound
lint: exchanges/bitfinex/bitfinex_websocket.go#L516
b.Websocket.AddSuccessfulSubscriptions undefined (type *stream.Websocket has no field or method AddSuccessfulSubscriptions)
lint: exchanges/bitfinex/bitfinex_websocket.go#L1698
cannot use enabledPairs[k] (variable of type currency.Pair) as currency.Pairs value in struct literal
lint: exchanges/bitfinex/bitfinex_websocket.go#L1749
cannot assign to c.State (neither addressable nor a map index expression)
lint: exchanges/bitfinex/bitfinex_websocket.go#L1756
cannot use c (variable of type subscription.Subscription) as subscription.List value in argument to b.Websocket.RemoveSubscriptions
lint: exchanges/bitfinex/bitfinex_websocket.go#L1775
not enough return values