Does anyone know how to adjust trading volume
based on stock splits?
Here is an example of ANA (9202.T) on 2017-09-27.
A stock split happened with factor 1:10.
DateTime Open High Low Close TradedVolume
2017-09-26 15:00:00 423.0 423.0 423.0 423.0 3787000
DateTime Open High Low Close TradedVolume
2017-09-27 09:00:00 4206.0 4209.0 4201.0 4208.0 829700
Do I just need to divide TradedVolume
by a factor of 10 and multiply the prices by 10, before the split?
In this case I would get the adjusted values to be:
DateTime Open High Low Close TradedVolume
2017-09-26 15:00:00 4230.0 4230.0 4230.0 4230.0 378700
DateTime Open High Low Close TradedVolume
2017-09-27 09:00:00 4206.0 4209.0 4201.0 4208.0 829700
This seems the most natural to me as we keep the total value (price*volume) constant.
Looking forward to hearing your thoughts.