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

Node.js Mean-Reversion Example not working #217

Open
cboydstun opened this issue May 4, 2022 · 2 comments
Open

Node.js Mean-Reversion Example not working #217

cboydstun opened this issue May 4, 2022 · 2 comments
Labels
bug Something isn't working Examples relates to examples in repo

Comments

@cboydstun
Copy link

Getting this "getBars is not a function" error when attempting to run this example.
image

@drew887 drew887 added bug Something isn't working Examples relates to examples in repo labels May 4, 2022
@drew887
Copy link
Contributor

drew887 commented May 4, 2022

Hey @cboydstun thank you for reporting this; this example needs to be upgraded to use the data v2 functions 😞

@cboydstun
Copy link
Author

Thanks! Yes I found the getBarsV2() function in 'marketdataV2.ts' example:
image

Started browsing directories and remembered, wait, I have a day job, too! 🤪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Examples relates to examples in repo
Projects
None yet
Development

No branches or pull requests

2 participants