Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Pipeline - Custom Factor : random value

I'm trying to write a custom factor, which assigns a random number between 0 and 9

random.randint(0,9)  

to each stock in my pipeline.

Unfortunately I fail miserably at the implementation of my class RandomNumbers(CustomFactor) and therefore any support would be highly appreciated.

Many THX in advance & BR from Vienna
Peter