# Get\_bars TimeFrame.day volume

**URL:** https://forum.alpaca.markets/t/get-bars-timeframe-day-volume/5317
**Category:** Alpaca Integration Applications
**Created:** [April 5, 2021, 7:14pm UTC](https://forum.alpaca.markets/t/get-bars-timeframe-day-volume/5317 "2021-04-05T19:14:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nye](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/nye/32/2111_2.png) [@nye](https://forum.alpaca.markets/u/nye)
#### Post date: [April 5, 2021, 7:14pm UTC](https://forum.alpaca.markets/t/get-bars-timeframe-day-volume/5317/1 "2021-04-05T19:14:35Z")

</div>

The dataframes returned by get\_bars()

`return self.alpaca.get_bars(symbol, timeframe = TimeFrame.Day, start = start_date, end = end_date, adjustment = 'raw').df`

are displaying strange behavior on the volume. It seems to be summing for some length of time. The last volume is always really high.

Am I using the get\_bars() incorrectly

```
     date open high low close volume symbol

```

0 2021-04-01 10.02 10.05 9.92 9.99 **824671161616** AAC.U  
date open high low close volume symbol  
0 2021-03-31 10.60 10.69 10.60 10.66 4717 AACQU  
1 2021-04-01 10.63 10.79 10.71 10.77 **824658183912** AACQU  
date open high low close volume symbol  
0 2021-03-31 4.20 4.75 4.20 4.37 2152571 AACG  
1 2021-04-01 4.41 4.50 4.17 4.19 **824664882344** AACG  
date open high low close volume symbol  
0 2021-03-31 10.1 10.10 10.04 10.10 1230102 AACQ  
1 2021-04-01 10.1 10.36 10.10 10.32 **824648847320** AACQ  
date open high low close volume symbol  
0 2021-03-31 33.66 34.2900 32.11 32.49 7236579 AA  
1 2021-04-01 32.20 32.5799 31.49 32.23 **824659058368** AA  
date open high low close volume symbol  
0 2021-03-31 9.75 9.90 9.75 9.90 78556 AAC  
1 2021-04-01 9.98 9.98 9.74 9.77 **824655610192** AAC  
date open high low close volume symbol  
0 2021-03-31 125.95 128.475 125.950 127.14 1815532 A  
1 2021-04-01 128.00 128.300 127.005 127.69 **824658336048** A

---

<div class="post-metadata">

### Author: ![onesNzeros](https://avatars.discourse-cdn.com/v4/letter/o/ac91a4/32.png) [@onesNzeros](https://forum.alpaca.markets/u/onesNzeros)
#### Post date: [April 6, 2021, 8:12pm UTC](https://forum.alpaca.markets/t/get-bars-timeframe-day-volume/5317/2 "2021-04-06T20:12:51Z")

</div>

It’s not just you. I’m noticing this as well. This is unusable for me until they get this resolved.

---

<div class="post-metadata">

### Author: ![nye](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/nye/32/2111_2.png) [@nye](https://forum.alpaca.markets/u/nye)
#### Post date: [April 9, 2021, 5:50pm UTC](https://forum.alpaca.markets/t/get-bars-timeframe-day-volume/5317/3 "2021-04-09T17:50:59Z")

</div>

These large volumes are still an issue:

```
       date open high low close volume symbol

```

0 2019-03-01 57.68 58.99 56.190 56.65 3514824 DELL  
1 2019-03-04 57.07 57.14 54.500 55.34 2978420 DELL  
2 2019-03-05 55.25 55.84 54.460 55.12 2789067 DELL  
3 2019-03-06 54.82 54.82 52.850 53.73 2515284 DELL  
4 2019-03-07 53.62 54.41 52.820 53.13 1851117 DELL  
… … … … … … … …  
525 2021-04-01 88.28 89.33 88.090 89.08 **824661086920** DELL  
526 2021-04-05 89.36 89.82 88.950 89.36 **824655562832** DELL  
527 2021-04-06 89.35 89.97 89.000 89.48 **824663479352** DELL  
528 2021-04-07 89.48 92.41 89.620 91.51 **824659435432** DELL  
529 2021-04-08 92.30 92.88 90.585 92.58 **824666745568** DELL

---

<div class="post-metadata">

### Author: ![beastifier](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/beastifier/32/2445_2.png) [@beastifier](https://forum.alpaca.markets/u/beastifier)
#### Post date: [April 16, 2021, 3:06pm UTC](https://forum.alpaca.markets/t/get-bars-timeframe-day-volume/5317/4 "2021-04-16T15:06:45Z")

</div>

Heyy can you tell me where did you import the TimeFrame object from ?

---

<div class="post-metadata">

### Author: ![nye](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/nye/32/2111_2.png) [@nye](https://forum.alpaca.markets/u/nye)
#### Post date: [April 16, 2021, 4:31pm UTC](https://forum.alpaca.markets/t/get-bars-timeframe-day-volume/5317/5 "2021-04-16T16:31:57Z")

</div>

from alpaca\_trade\_api.rest import TimeFrame
