Hi, I am trying to deploy my first algo through QuantConnect. To keep things simple, I am just running the following code to add SPY and set cash. I’m running through Alpaca paper trading brokerage.

 

I receive the following error message when trying to deploy, any ideas?

 

During the algorithm initialization, the following exception has occurred: Error getting cash balance from brokerage: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

 

 

 

class BootCampTask(QCAlgorithm):

 

    def Initialize(self):

        self.AddEquity("SPY", Resolution.Daily)

        self.SetCash(25000)

        

    def OnData(self, data):

        pass

Author