I keep getting the error messages below when running this algorithm.   Can someone please advise regarding what I need to do to address this error?   I'm still learning Python so if someone could provide the actual code or a corrected algorithm it would be appreciated. Thanks,Troy   260 | 12:20:33: Backtest Handled Error: Order Error: id: 53, Insufficient buying power to complete order (Value:1112095.7532), Reason: Id: 53, Initial Margin: 1011014.9642465454545454545455, Free Margin: 103632.6538046989706545454545 261 | 12:20:33: Your algorithm messaging has been rate limited to prevent browser flooding

 

Author