Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adj_* data information required #33

Open
morfeo630 opened this issue Dec 30, 2022 · 1 comment
Open

adj_* data information required #33

morfeo630 opened this issue Dec 30, 2022 · 1 comment

Comments

@morfeo630
Copy link

Hello to all,
I have some questions regarding the adjusted data.

  1. I understand that the data can vary from broker to broker for a little bit but why nasdaq have in the same row the "regular" data (open, high, low, close) and the adjusted data (adj_open, adj_high, adj_low, adj_close)?
  2. Why the adj_* data exists in first place and how is calculated?
  3. Why for the date before and included 2022-11-08 the adj_* data is so different from the "regular" data?
  4. What data is best to use for further calculation and data manipulation?

Folowing is the data:

     ticker       date    open    high     low   close     volume  dividend  split    adj_open    adj_high     adj_low   adj_close  adj_volume
0       IBM 2022-11-14  142.63  146.08  142.18  144.20  5293453.0      0.00    1.0  142.630000  146.080000  142.180000  144.200000   5293453.0
1       IBM 2022-11-11  141.50  144.13  140.96  143.17  5869298.0      0.00    1.0  141.500000  144.130000  140.960000  143.170000   5869298.0
2       IBM 2022-11-10  140.26  141.37  138.29  141.23  5386540.0      0.00    1.0  140.260000  141.370000  138.290000  141.230000   5386540.0
3       IBM 2022-11-09  137.95  138.90  136.94  137.39  4718328.0      1.65    1.0  137.950000  138.900000  136.940000  137.390000   4718328.0
4       IBM 2022-11-08  139.00  140.93  138.72  140.04  5039458.0      0.00    1.0  137.350475  139.257571  137.073797  138.378133   5039458.0
5       IBM 2022-11-07  136.64  138.70  136.51  138.34  4042576.0      0.00    1.0  135.018481  137.054035  134.890024  136.698307   4042576.0
6       IBM 2022-11-04  135.65  137.73  134.94  136.96  4176645.0      0.00    1.0  134.040229  136.095546  133.338655  135.334684   4176645.0
7       IBM 2022-11-03  136.42  136.48  133.97  134.47  4441075.0      0.00    1.0  134.801092  134.860380  132.380166  132.874233   4441075.0
8       IBM 2022-11-02  137.75  140.17  136.80  136.83  5360222.0      0.00    1.0  136.115309  138.506590  135.176582  135.206226   5360222.0
9       IBM 2022-11-01  138.25  138.65  136.70  138.20  3574815.0      0.00    1.0  136.609375  137.004628  135.077769  136.559968   3574815.0

The upper data was received using:

    data = nasdaqdatalink.get_table('QUOTEMEDIA/PRICES', ticker='IBM',
                                    date={'gte': '2022-11-01', 'lte': '2022-11-14'}, paginate=True)
    print(data)

Thank you in advance for your time and answers and helping me understanding and getting a dipper knowledge of the market data.
Best regards,
Valter

@clientsuccessnasdaq
Copy link

clientsuccessnasdaq commented Dec 30, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants