Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with PVT indicator #622

Closed
jupiterMJM opened this issue Nov 12, 2023 · 2 comments
Closed

problem with PVT indicator #622

jupiterMJM opened this issue Nov 12, 2023 · 2 comments

Comments

@jupiterMJM
Copy link

According to the readme, there should be a PVT indicator proposed in talib. However, i can't find it anywhere in this module....

@mrjbq7
Copy link
Collaborator

mrjbq7 commented Nov 13, 2023

I don't think we have PVT implemented, where does it say we do?

@mrjbq7
Copy link
Collaborator

mrjbq7 commented Nov 13, 2023

You can build it pretty easy, something like:

def PVT(c, v):
    return np.cumsum(v[1:] * np.diff(c) / c[:-1])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants