Class BitmexBaseService

    • Field Detail

      • signatureCreator

        protected final si.mazi.rescu.ParamsDigest signatureCreator
      • rateLimit

        protected static Integer rateLimit
      • rateLimitRemaining

        protected static Integer rateLimitRemaining
      • rateLimitReset

        protected static Long rateLimitReset
    • Constructor Detail

      • BitmexBaseService

        public BitmexBaseService​(BitmexExchange exchange)
        Constructor
        Parameters:
        exchange -
    • Method Detail

      • updateRateLimit

        protected <T extends si.mazi.rescu.HttpResponseAware> T updateRateLimit​(Supplier<T> httpResponseAwareSupplier)
        see https://www.bitmex.com/app/restAPI#Request-Rate-Limits
      • getRateLimit

        public int getRateLimit()
      • getRateLimitRemaining

        public int getRateLimitRemaining()
      • getRateLimitReset

        public long getRateLimitReset()