Open SebRollen opened 3 years ago
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 from
and number of aggregate bars
instead of 'from' and 'to'
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 value