class_docstr: Calculates the score (coint_t) and pvalue for a given ``period`` for the
  data feeds
  
  Uses ``pandas`` and ``statsmodels`` (for ``coint``)
class_docstr_tok: ["Calculates","the","score","(","coint_t",")","and","pvalue","for","a","given","``","period","``","for","the","data","feeds","Uses","``","pandas","``","and","``","statsmodels","``","(","for","``","coint","``",")"]
code: def next(self):
      x, y = (pd.Series(d.get(size=self.p.period)) for d in self.datas)
      score, pvalue, _ = coint(x, y, trend=self.p.trend)
      self.lines.score[0] = score
      self.lines.pvalue[0] = pvalue
  
file_path: backtrader/backtrader/indicators/ols.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import backtrader
  from .None import PeriodN
label_desc: Use image node_id 1 for calling the CointN obj's underlying member method code with example usage: obj.next() without return types