code: def percentage_distance(cls, highmark, current):
          
          highmark = int(highmark)
          current = int(current)
          if highmark > 0:
              return round(
                  (highmark - current) * 100.0 / highmark,
                  2,
              )
          else:
              return 0.0
docs: Percentage of distance the current offset is behind the highmark.