alpaca-trade-api-js icon indicating copy to clipboard operation
alpaca-trade-api-js copied to clipboard

[Question]: What replaced Alpaca.getAggregates()?

Open Archigan1 opened this issue 3 years ago • 1 comments
trafficstars

Question form pre-submit checklist.

  • [X] I have searched the existing issues to ensure there isn't already an issue about this question.
  • [X] My question has to do with the JS SDK and isn't a general question about the API. (If it is please open your issue here)
  • [x] My question isn't about how to do a specific algorithm or asking for trade advice (answers to these are outside the scope of this repo).

Question

I was following the "How to Build a Simple Stock Screener Using Node.js" in the blog. The blog was written in August of 2020, and I'm certain the API has changed since. So, when I go to run my project after following the tutorial, I get an error of "Property getAggregates() does not exist on type Alpaca."

Now I can't find any documentation that ever existed in the API on this method, and none of the current ones look like they are close enough to what this was. My question is: Is there a replacement property for .getAggregates()?

Archigan1 avatar Nov 18 '22 14:11 Archigan1

+1.

I was looking for this same thing. What happens to it? I was going to switch from Polygon to this. Now, I might need to change it back.

RandyBooth avatar Sep 15 '23 21:09 RandyBooth