Skip to content

GateIO: Abstract WSConnect for all assets #2741

GateIO: Abstract WSConnect for all assets

GateIO: Abstract WSConnect for all assets #2741

Triggered via push January 30, 2025 09:18
Status Failure
Total duration 3m 8s
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#L99
conn.MessageFilter undefined (type stream.Connection has no field or method MessageFilter)