# Marketdata returns time that's outside of trading hour

**URL:** <https://forum.alpaca.markets/t/marketdata-returns-time-thats-outside-of-trading-hour/12304>\
**Category:** Alpaca Market Data\
**Created:** [April 30, 2023, 11:14am UTC](https://forum.alpaca.markets/t/marketdata-returns-time-thats-outside-of-trading-hour/12304 "2023-04-30T11:14:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stub](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stub](https://forum.alpaca.markets/u/stub)\
**Post date:** [April 30, 2023, 11:14am UTC](https://forum.alpaca.markets/t/marketdata-returns-time-thats-outside-of-trading-hour/12304/1 "2023-04-30T11:14:21Z")

</div>

I’d like to ask question why market data returns time that’s outside of normal trading hour, below is the capture of the response I got from GetBarsAsync which is “/v2/stocks//bars” what does 5:00 UTC represents? any one any idea? FYI, this is AAPL for 1day bar chart.

![Screenshot 2023-04-30 at 8.55.10 pm](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/b/b7602ce966a89031806823128d1afe523240a534.png)

---

<div class="post-metadata">

**Author:** ![EGYXee](https://avatars.discourse-cdn.com/v4/letter/e/cc9497/32.png) [@EGYXee](https://forum.alpaca.markets/u/EGYXee)\
**Post date:** [May 3, 2023, 1:29am UTC](https://forum.alpaca.markets/t/marketdata-returns-time-thats-outside-of-trading-hour/12304/2 "2023-05-03T01:29:10Z")

</div>

This is one of many issues I’ve been observing with Alpaca market data. You may find a workaround for the same question, which I asked before here:

> [@Why Alpaca API does not provide "useRTH=True/False" to either get Regular Market hours data?](https://forum.alpaca.markets/t/why-alpaca-api-does-not-provide-userth-true-false-to-either-get-regular-market-hours-data/12268):
>
> I have been trying to work with Regular Trading Hours (RTH) market data using the Alpaca API but never succeeded in getting data similar to what I get from other brokers. Interactive Brokers API provides something like a “useRTH =False” parameter to either work with Regular Trading Hours or not! Why can’t Alpaca Markets API have a similar thing to make our lives easier?

---

<div class="post-metadata">

**Author:** ![stub](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stub](https://forum.alpaca.markets/u/stub)\
**Post date:** [May 16, 2023, 6:22am UTC](https://forum.alpaca.markets/t/marketdata-returns-time-thats-outside-of-trading-hour/12304/4 "2023-05-16T06:22:45Z")

</div>

seems it’s just 12oclock EST is used for close time.
