panifie / PingPong.jl

Cryptocurrency trading bot, and backtesting framework in julia
https://panifie.github.io/PingPong.jl/
GNU General Public License v3.0
36 stars 9 forks source link

Once again, missing keyword arguments in the function signature. #45

Closed janckerchen closed 2 weeks ago

janckerchen commented 2 weeks ago
julia> e = getexchange!(:okx)
Exchange: OKX | 1406 markets | 14 timeframes
julia> exs.check(e, type=:basic)
ERROR: MethodError: no method matching check(::ExchangeTypes.CcxtExchange{ExchangeID{:okx}}; type::Symbol)

Closest candidates are:
  check(::Exchange, ::Any) got unsupported keyword argument "type"
   @ Exchanges /opt/opensource/jl/PingPong.jl/Exchanges/src/constructors.jl:693
  check(::Exchange) got unsupported keyword argument "type"
   @ Exchanges /opt/opensource/jl/PingPong.jl/Exchanges/src/constructors.jl:693

Stacktrace:
 [1] top-level scope
   @ REPL[13]:1