def OBV(ds1, volumeDs, count):
 data1 = value_ds_to_numpy(ds1, count)
 if (data1 is None):
  return None
 data2 = value_ds_to_numpy(volumeDs, count)
 if (data2 is None):
  return None
 return talib.OBV(data1, data2)

def OBV ( ds1 , volumeDs , count ) : data1 = value_ds_to_numpy ( ds1 , count ) if ( data1 is None ) : return None data2 = value_ds_to_numpy ( volumeDs , count ) if ( data2 is None ) : return None return talib . OBV ( data1 , data2 )
on balance volume .