ta
ta copied to clipboard
VolumeWeightedAveragePrice returningobject type of <ta.volume.VolumeWeightedAveragePrice at 0x19ffb5afb50>
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
VolumeWeightedAveragePrice is a class, not a function. You have to call volume_weighted_average_price() like
VolumeWeightedAveragePrice(...).volume_weighted_average_price()