Skip to content

Feature/sub pairs #1033

Feature/sub pairs

Feature/sub pairs #1033

Triggered via pull request February 25, 2024 09:39
@gbjkgbjk
synchronize #4
feature/sub_pairs
Status Failure
Total duration 2m 56s
Artifacts

linter.yml

on: pull_request
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