# GetBars - adjustment

**URL:** <https://forum.alpaca.markets/t/getbars-adjustment/5056>\
**Category:** Alpaca Trading\
**Created:** [March 21, 2021, 3:53am UTC](https://forum.alpaca.markets/t/getbars-adjustment/5056 "2021-03-21T03:53:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xpolg](https://avatars.discourse-cdn.com/v4/letter/x/51bf81/32.png) [@Xpolg](https://forum.alpaca.markets/u/Xpolg)\
**Post date:** [March 21, 2021, 3:53am UTC](https://forum.alpaca.markets/t/getbars-adjustment/5056/1 "2021-03-21T03:53:34Z")

</div>

Hello.  
I’m experimenting with Alpaca API, and got stuck on one of the API calls - GetBars ( [alpaca-trade-api-go/rest.go at master · alpacahq/alpaca-trade-api-go · GitHub](https://github.com/alpacahq/alpaca-trade-api-go/blob/master/alpaca/rest.go#L535) ). One of the arguments is “Adjustment” and I can’t figure out what it is and what are the possible values. Could someone help me out ?

---

<div class="post-metadata">

**Author:** ![chuck\_az](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@chuck\_az](https://forum.alpaca.markets/u/chuck_az)\
**Post date:** [March 22, 2021, 2:10pm UTC](https://forum.alpaca.markets/t/getbars-adjustment/5056/2 "2021-03-22T14:10:17Z")

</div>

If you request adjusted aggregates you get numbers that have been adjusted for events like stock splits. You can see the different options in the code here: [alpaca-trade-api-go/entities.go at 1c30ca86398f01b91ea41b7adaab9f579845ea8b · alpacahq/alpaca-trade-api-go · GitHub](https://github.com/alpacahq/alpaca-trade-api-go/blob/1c30ca86398f01b91ea41b7adaab9f579845ea8b/v2/entities.go#L52)
