Marigold / universal-portfolios

Collection of algorithms for online portfolio selection
Other
779 stars 214 forks source link

Data information #17

Closed swishderzy closed 6 years ago

swishderzy commented 6 years ago

Hi, It would be great to know about the granularity and time frame of the data, and the transformations done to these stocks prices.

Thank you.

Marigold commented 6 years ago

What data are you referring to?

swishderzy commented 6 years ago

The .pkl data in: universal/data/

Marigold commented 6 years ago

It's daily. Just be aware that it's more than 5 years old.

On Tue, Dec 4, 2018 at 1:14 PM Khaled Denfir notifications@github.com wrote:

The .pkl data in: universal/data/

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Marigold/universal-portfolios/issues/17#issuecomment-444079578, or mute the thread https://github.com/notifications/unsubscribe-auth/ABeqKBiLXyltDV4oHGz-UU6btJHMjM-2ks5u1mcbgaJpZM4ZAc4P .

swishderzy commented 6 years ago
Marigold commented 6 years ago

I don't remember to be honest. You can do

import pickle
with open('universal/data/djia.pkl', 'r') as f:
    df = pickle.load(f)
df.head()

and check for yourself.