trying to run Live Alpaca paper trading on LEAN locally, i changed the foloowing below

 

Start: 10/2/2020 8:20:20 PM. End: 12/31/2050 12:00:00 AM 20201002 15:20:21.788 Trace:: Config.GetValue(): show-missing-data-logs - Using default value: False 20201002 15:20:21.956 Trace:: BaseSetupHandler.SetupCurrencyConversions(): Symbol Quantity Conversion = Value in USD USD: $ 100000.00 @ 1.00 = $100000.0 ------------------------------------------------- CashBook Total Value: $100000.0 20201002 15:20:21.972 Trace:: JOB HANDLERS: 20201002 15:20:21.973 Trace:: DataFeed: QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed 20201002 15:20:21.973 Trace:: Setup: QuantConnect.Lean.Engine.Setup.BrokerageSetupHandler 20201002 15:20:21.973 Trace:: RealTime: QuantConnect.Lean.Engine.RealTime.LiveTradingRealTimeHandler 20201002 15:20:21.974 Trace:: Results: QuantConnect.Lean.Engine.Results.LiveTradingResultHandler 20201002 15:20:21.974 Trace:: Transactions: QuantConnect.Lean.Engine.TransactionHandlers.BacktestingTransactionHandler 20201002 15:20:21.975 Trace:: Alpha: QuantConnect.Lean.Engine.Alphas.DefaultAlphaHandler 20201002 15:20:21.975 Trace:: ObjectStore: QuantConnect.Lean.Engine.Storage.LocalObjectStore 20201002 15:20:21.975 Trace:: History Provider: QuantConnect.Lean.Engine.HistoricalData.SubscriptionDataReaderHistoryProvider 20201002 15:20:21.976 Trace:: Brokerage: QuantConnect.Brokerages.Alpaca.AlpacaBrokerage 20201002 15:20:22.032 ERROR:: Engine.Run(): Error running algorithm System.ArgumentException: Brokerage must be of type BacktestingBrokerage for use wth the BacktestingTransactionHandler at QuantConnect.Lean.Engine.TransactionHandlers.BacktestingTransactionHandler.Initialize(IAlgorithm algorithm, IBrokerage brokerage, IResultHandler resultHandler) in D:\Home\CodeBack\Lean\Engine\TransactionHandlers\BacktestingTransactionHandler.cs:line 47 at QuantConnect.Lean.Engine.Engine.Run(AlgorithmNodePacket job, AlgorithmManager manager, String assemblyPath, WorkerThread workerThread) in D:\Home\CodeBack\Lean\Engine\Engine.cs:line 291 20201002 15:20:22.065 Trace:: StopSafely(): waiting for 'Result Thread' thread to stop... 20201002 15:20:22.608 Trace:: LiveTradingResultHandler.Run(): Ending Thread... 20201002 15:20:22.618 Trace:: LiveTradingResultHandler.SendFinalResult(): Starting... 20201002 15:20:24.062 Trace:: LiveTradingResultHandler.SendFinalResult(): Finished storing results. Start sending... 20201002 15:20:24.063 Trace:: LiveTradingResultHandler.SendFinalResult(): Ended 20201002 15:20:24.064 Trace:: LiveTradingDataFeed.Exit(): Start. Setting cancellation token... 20201002 15:20:24.064 Trace:: BaseDataExchange(CustomDataExchange) Stopping... 20201002 15:20:24.064 Trace:: LiveTradingDataFeed.Exit(): Exit Finished. Engine.Main(): Analysis Complete. Press any key to continue. 20201002 15:20:24.073 Trace:: BaseDataExchange(CustomDataExchange).ConsumeQueue(): Cancellation requested. Exiting...

 


       115945_1601669914.jpg