Skip to content

Add support for Polygon open/close and Alpaca equity history endpoints

Compare
Choose a tag to compare
@ttt733 ttt733 released this 02 Mar 05:42
· 524 commits to master since this release

As it says in the title, support has been added for a couple new endpoints.

Polygon open/close: https://polygon.io/docs/#!/Stocks--Equities/get_v1_open_close_symbol_date
Documentation for Alpaca portfolio history is forthcoming, but is documented as such in the readme for the moment:

REST.get_portfolio_history(date_start=None, date_end=None, period=None, timeframe=None, extended_hours=None)
Calls GET /account/portfolio/history and returns a PortfolioHistory entity. PortfolioHistory.df can be used to get the results as a dataframe.