GetBars - adjustment

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 ). 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 ?

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

1 Like