docs: def cancelHistoricalData(self, bars: BarDataList):
          """
          Cancel the update subscription for the historical bars.
  
          Args:
              bars: The bar list that was obtained from ``reqHistoricalData``
                  with a keepUpToDate subscription.
  
          """
          self.client.cancelHistoricalData(bars.reqId)
          self.wrapper.endSubscription(bars)