Skip to content

Feature/sub pairs #1061

Feature/sub pairs

Feature/sub pairs #1061

Triggered via pull request February 28, 2024 07:21
@gbjkgbjk
synchronize #4
feature/sub_pairs
Status Failure
Total duration 1m 40s
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
cannot use *c (variable of type subscription.Subscription) as subscription.List value in argument to b.Websocket.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#L1719
cannot use channels (variable of type []subscription.Subscription) as subscription.List value in argument to b.ParallelChanOp
lint: exchanges/bitfinex/bitfinex_websocket.go#L1719
cannot use b.subscribeToChan (value of type func(chans []subscription.Subscription) error) as func(subscription.List) error value in argument to b.ParallelChanOp
lint: exchanges/bitfinex/bitfinex_websocket.go#L1724
cannot use channels (variable of type []subscription.Subscription) as subscription.List value in argument to b.ParallelChanOp