Petersoj / alpaca-java

A Java API for Alpaca, the commission free, algo friendly, stock trading broker. https://alpaca.markets
https://petersoj.github.io/alpaca-java/
MIT License
197 stars 82 forks source link

Fix bars timeframe for v2 #88

Closed balajikandavel closed 3 years ago

balajikandavel commented 3 years ago

https://alpaca.markets/docs/api-documentation/api-v2/market-data/alpaca-data-api-v2/historical/#bars There is a change in Timeframe for the aggregation. Available values are: 1Sec, 1Min, 1Hour, 1Day.

Petersoj commented 3 years ago

I'll update that this weekend. Thanks for reporting this.

balajikandavel commented 3 years ago

Thanks

Petersoj commented 3 years ago

@balajikandavel looks like available values are actually: 1Min, 1Hour, 1Day by the way.

balajikandavel commented 3 years ago

Right, looks like the document got updated now.

Petersoj commented 3 years ago

Fixed in 7.0