-
Notifications
You must be signed in to change notification settings - Fork 0
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
Endpoint for historical market holidays / status #14
Comments
I currently use Alpaca's calendar endpoint for this data. |
@spazmodius, that's a good suggestion for users who also have an Alpaca account, thank you. Would love to still see an endpoint from polygon though as it'd be nice to not have to rely on one specific broker for this data |
Looking for this as well. Ideally whether you're querying history or the current market status, it returns the timestamp of market close as well. This is particularly important for short market days, where intra-day positions need to be closed before market close. Thanks! |
I'm going to use Tradier for now to query the historical market holidays/status https://documentation.tradier.com/brokerage-api/markets/get-calendar |
Is there an ETA for the feature? Thanks! |
A good alternative would be to introduce new Aggregates (Bars) API accepting |
Still no updates to this RFP? |
Is your feature request related to a problem? Please describe.
I sometimes want to find what was the last trading day before the current day. Normally, one can just look-up the previous business-day, but market holidays can complicate things.
Describe the solution you'd like
I would love to see another endpoint similar to
v1/marketstatus/now
andv1/marketstatus/upcoming
that allows for querying past dates. Perhapsv1/marketstatus/history
. The parameters for this endpoint would most likely bestart
(date) andend
(date), similar to theaggs
endpoint.Describe alternatives you've considered
The best alternative currently seems to be to call the previous-close endpoint and parse the date from the
t
field, but that requires specifying a specific ticker even though we want a market-wide valueThe text was updated successfully, but these errors were encountered: