Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Is it possible to set continuous_future as benchmark in backtesting ?

Hi everyone,

I'm a college student who just started to learn coding, and Quantopian has been a very useful and friendly tool to me.

I'm now trying to back-test common TA strategies on the Crude Oil futures ('CL'). However, it seems only tradeable assets are accepted by the set_benchmark function. May I know if my understanding is correct and if yes, whether there are ways to display the spot contract price in backtesting ?

Many thanks in advance.