class_docstr: Control flow algo that only returns True if the price of the target crosses the threshold
  
  Args
      * threshold (float): The price threshold
      * is_greater (bool): Whether to do return True when price exceeds the threshold
code: def __init__(self, threshold, is_greater):
      self.threshold = threshold
      self.is_greater = is_greater
  
imports: from copy import deepcopy
  from future.utils import iteritems
  from datetime import date
  import pandas
  import numpy
  import bt
label_desc: Use image node_id 1 to create a new PriceCompare object from inherited base classes: bt with example: obj = PriceCompare(threshold, is_greater)