Hello guys

I'm having trouble interpreting how to use Alpha as an output of alpha module. I'm currently emitting it as Up or Down for as long as I would like to hold the security; then I stop emitting it without issuing a Flat. Then however algo never exits position. What is the intended behavior here?

Also, is it fine to keep re-issuing Up/Down in the IEnumerable<Alpha> Update(QCAlgorithmFramework algorithm, Slice data) calls?

Also, I have a concern about when these calls are made. My algo generates the alpha as soon as the first minute bar s arrive. This means that if Update isn't called immediately on that, there will be a delay.

Of course I can find out these things experimentally on my own, but that will be a couple of lost hours, so if somebody knows I would appreciate an answer.