txpoloniex/queue.py
def _nextDelay(self):
        """
        Returns the amount of time to delay the next call
        """

        length = len(self._times)

        limit = self.maxPerSecond

        remainder = length % limit

        difference = 0

        base = length // self.maxPerSecond

        if not limit or not length or not base:
            return 0.0

        last = self._times[-1]

        i = length - limit

        difference = last - self._times[i]

        return 1.0 - difference

        Returns the amount of time to delay the next call
        
Returns the amount of time to delay the next call
Returns the amount of time to delay the next call
def _nextDelay(self):
        length = len(self._times)
        limit = self.maxPerSecond
        remainder = length % limit
        difference = 0
        base = length // self.maxPerSecond
        if not limit or not length or not base:
            return 0.0
        last = self._times[-1]
        i = length - limit
        difference = last - self._times[i]
        return 1.0 - difference
def _nextDelay ( self ) : length = len ( self . _times ) limit = self . maxPerSecond remainder = length % limit difference = 0 base = length // self . maxPerSecond if not limit or not length or not base : return 0.0 last = self . _times [ - 1 ] i = length - limit difference = last - self . _times [ i ] return 1.0 - difference
Returns the amount of time to delay the next call
Returns the amount of time to delay the next call
"""
        Returns the amount of time to delay the next call
        """
self