No, it won't even start. If I run it with NEURAL instead of SIGNALS, the code exits before neural.init() is called.

So, what is the proper way to calculate the cross section median of the returns one bar ahead?