code: def requestPositionUpdates(self, subscribe=True):
          
          if self.subscribePositions != subscribe:
              self.subscribePositions = subscribe
              if subscribe == True:
                  self.ibConn.reqPositions()
              else:
                  self.ibConn.cancelPositions()
docs: Request/cancel request real-time position data for all accounts.