Giter Site home page Giter Site logo

(FunctionClauseError) no function clause matching in Tai.VenueAdapters.Bitmex.Stream.RouteOrderBooks.handle_cast/2 about tai HOT 5 CLOSED

fremantle-industries avatar fremantle-industries commented on May 29, 2024
(FunctionClauseError) no function clause matching in Tai.VenueAdapters.Bitmex.Stream.RouteOrderBooks.handle_cast/2

from tai.

Comments (5)

ihorkatkov avatar ihorkatkov commented on May 29, 2024 1

It is from Sentry. Will take a look a the logs and debug it.

from tai.

rupurt avatar rupurt commented on May 29, 2024

Hi @ihorkatkov,

Can you post your config?

from tai.

ihorkatkov avatar ihorkatkov commented on May 29, 2024
config :tai,
  venues: %{
    bitmex: [
      enabled: true,
      adapter: Tai.VenueAdapters.Bitmex,
      products: "xbtusd xbtz19",
      quote_depth: 100,
      accounts: %{
        main: %{
          api_key: {:system, "BITMEX_API_KEY"},
          api_secret: {:system, "BITMEX_API_SECRET"}
        }
      }
    ],
    okex: [
      enabled: true,
      adapter: Tai.VenueAdapters.OkEx,
      products: "btc_usd_swap btc_usd_191227",
      quote_depth: 100,
      accounts: %{
        main: %{
          api_key: {:system, "OKEX_API_KEY"},
          api_secret: {:system, "OKEX_API_SECRET"},
          api_passphrase: {:system, "OKEX_API_PASSPHRASE"}
        }
      }
    ],
    binance: [
      enabled: true,
      adapter: Tai.VenueAdapters.Binance,
      products: "btc_usdt",
      quote_depth: 100,
      accounts: %{
        main: %{
          api_key: {:system, "BINANCE_API_KEY"},
          secret_key: {:system, "BINANCE_API_SECRET"}
        }
      }
    ]

from tai.

rupurt avatar rupurt commented on May 29, 2024

It looks like there is a message on the BitMEX connection that isn't handled. You're using a quote_depth > 25 so you're using a new feature added in https://github.com/fremantle-capital/tai/pull/73/files.

Any thoughts @yurikoval?

arg 0 & arg 1 are cut off at the end. Were you logging to file by any chance? I believe it should have the full arguments there.

from tai.

rupurt avatar rupurt commented on May 29, 2024

Closing due to inactivity

from tai.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.