Skip to content

GateIO: Abstract WS handler func routing #2745

GateIO: Abstract WS handler func routing

GateIO: Abstract WS handler func routing #2745

Triggered via push January 31, 2025 08:19
Status Failure
Total duration 2m 44s
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: backtester/eventhandlers/strategies/strategies_test.go#L75
cannot use new(customStrategy) (value of type *customStrategy) as Handler value in argument to AddStrategy: *customStrategy does not implement Handler (missing method CloseAllPositions) (typecheck)
lint: backtester/eventhandlers/strategies/strategies_test.go#L94
cannot use &customStrategy{} (value of type *customStrategy) as Handler value in argument to createNewStrategy: *customStrategy does not implement Handler (missing method CloseAllPositions) (typecheck)
lint: backtester/eventhandlers/strategies/binancecashandcarry/binancecashandcarry.go#L87
s.GetBaseData undefined (type *Strategy has no field or method GetBaseData) (typecheck)
lint: backtester/eventhandlers/strategies/binancecashandcarry/binancecashandcarry.go#L91
s.GetBaseData undefined (type *Strategy has no field or method GetBaseData) (typecheck)
lint: backtester/eventhandlers/strategies/dollarcostaverage/dollarcostaverage.go#L42
s.GetBaseData undefined (type *Strategy has no field or method GetBaseData) (typecheck)
lint: backtester/eventhandlers/strategies/rsi/rsi.go#L54
s.GetBaseData undefined (type *Strategy has no field or method GetBaseData) (typecheck)
lint: backtester/eventhandlers/strategies/top2bottom2/top2bottom2.go#L100
s.GetBaseData undefined (type *Strategy has no field or method GetBaseData) (typecheck)
lint: engine/helpers.go#L45
could not import github.com/thrasher-corp/gocryptotrader/exchanges/gateio (-: # github.com/thrasher-corp/gocryptotrader/exchanges/gateio
lint: exchanges/gateio/gateio_websocket.go#L179
declared and not used: assetHandlers