Skip to content

fixup! GateIO: Abstract multi-asset connections #2739

fixup! GateIO: Abstract multi-asset connections

fixup! GateIO: Abstract multi-asset connections #2739

Triggered via push January 29, 2025 02:38
Status Failure
Total duration 2m 38s
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_delivery_futures.go#L45
undefined: futuresPingChannel