Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Function calling in Research Notebooks

Hello all - brand new to Quantopian but with some basic Python experience. Beginner question incoming - How do you call functions in the notebook? I have just tried executing a simple function and call (attached) and receive an error message.

I had a quick look around but could find no obvious answer. I have already developed a script which calls a few custom functions in Python, and want to hook it up to Quantopian research environment for data / testing.

All the best
Blake

2 responses

You're doing it correctly. However, don't use reserved words for variable names. 'input' is a reserved word. Change 'input' to 'my_input' (or anything else) and it works as expected.

Good luck.

Thanks Dan ..