ta icon indicating copy to clipboard operation
ta copied to clipboard

VolumeWeightedAveragePrice returningobject type of <ta.volume.VolumeWeightedAveragePrice at 0x19ffb5afb50>

Open ArmaanSingla92 opened this issue 3 years ago • 1 comments

Hi ,

After calling VolumeWeightedAveragePrice function , it is returning below object type

<ta.volume.VolumeWeightedAveragePrice at 0x19ffb5afb50>

Could you please help on how to read values out of it

ArmaanSingla92 avatar Jun 30 '21 08:06 ArmaanSingla92

VolumeWeightedAveragePrice is a class, not a function. You have to call volume_weighted_average_price() like VolumeWeightedAveragePrice(...).volume_weighted_average_price()

yarimiz avatar Jul 23 '21 08:07 yarimiz