Can someone help me with the correct use of insights and the proper placement of EmitInsights?   I've attached a working algorithm, but I'm still learning Python and apparently the algo is not emitting insights properly.  Insights are listed in the Update() method and EmitInsights is called before placing trades (at least I thought it was).  Perhaps it's more of a fundamental issue with the structure of my algorithm(?).

I'm getting the following response as part of the reason my algorithms are getting rejected:

"Additionally, all Alpha submissions need to emit Insights prior to placing trades. Insights provide funds with valuable information about the predictive power of your model. You can find more information about Insights in our documentation sections."

I've scoured the documentation and posts, but am unable to resolve this.  If someone could post a properly-configured version of this algo it would be greatly appreciated.

Thanks,
Troy