code: def compare(obtained, expected, decimals=2):
      obtained = round(obtained, decimals)
      expected = round(expected, decimals)
      return obtained == expected
  
imports: import datetime
  import talib
  from six.moves import xrange
  from .None import common
  from pyalgotrade.talibext import indicator
  from pyalgotrade import bar
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
label_desc: Use image node_id 1 for calling a global function with example usage: compare(obtained, expected, decimals) and returns: unknown