wrap some helper functions to talib