QuantConnect / Lean

Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
https://lean.io
Apache License 2.0
9.92k stars 3.28k forks source link

Unable to compile lean on Ubuntu #2747

Closed SamoPP closed 5 years ago

SamoPP commented 5 years ago

Expected Behavior

Lean compiles without errors.

Actual Behavior

Lean compiles with the following errors:

` Errors:

/home/username/git/Lean/QuantConnect.Lean.sln (default targets) ->
(Build target) ->
/home/username/git/Lean/Brokerages/QuantConnect.Brokerages.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

Oanda/RestV20/Client/ApiClient.cs(135,51): error CS1503: Argument 2: cannot convert from 'System.Action<System.IO.Stream>' to 'byte[]'
Bitfinex/BitfinexBrokerage.cs(90,31): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(132,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(132,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(203,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(203,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(233,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(233,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.Utility.cs(277,31): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Fxcm/FxcmBrokerage.Util.cs(182,35): error CS0117: 'Instant' does not contain a definition for 'FromMillisecondsSinceUnixEpoch'

 12 Warning(s)
 10 Error(s)

`

Potential Solution

Revert to version from month ago when I was able to compile Lean.

Reproducing the Problem

I pulled the latest Lean from GitHub repo and run the following:

`

username@usernameVB:~$ cd git
username@usernameVB:~/git$ cd Lean
username@usernameVB:~/git/Lean$ nuget restore QuantConnect.Lean.sln
MSBuild auto-detection: using msbuild version '15.0' from '/usr/lib/mono/msbuild/15.0/bin'.
All packages listed in packages.config are already installed.
username@usernameVB:~/git/Lean$ xbuild QuantConnect.Lean.sln

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 5.16.0.220
Copyright (C) 2005-2013 Various Mono authors

Build started 12/11/2018 12:06:01 PM.
__________________________________________________
/home/username/git/Lean/Algorithm.Python/QuantConnect.Algorithm.PythonTools.pyproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/Python Tools/Microsoft.PythonTools.targets, to import. Ignoring.
/home/username/git/Lean/PythonToolbox/QuantConnect.PythonToolbox.pyproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/Python Tools/Microsoft.PythonTools.targets, to import. Ignoring.
Project "/home/username/git/Lean/QuantConnect.Lean.sln" (default target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Debug|Any CPU".
    Target Build:
        Project "/home/username/git/Lean/Logging/QuantConnect.Logging.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/username/git/Lean/Logging/QuantConnect.Logging.csproj".
        The project 'QuantConnect.Algorithm.PythonTools' is disabled for solution configuration 'Debug|Any CPU'.
        The project 'QuantConnect.PythonToolbox' is disabled for solution configuration 'Debug|Any CPU'.
        Project "/home/username/git/Lean/Configuration/QuantConnect.Configuration.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/username/git/Lean/Configuration/QuantConnect.Configuration.csproj".
        Project "/home/username/git/Lean/Common/QuantConnect.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Common/bin/Debug/nPython.exe'
        Done building project "/home/username/git/Lean/Common/QuantConnect.csproj".
        Project "/home/username/git/Lean/Indicators/QuantConnect.Indicators.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Indicators/bin/Debug/nPython.exe'
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Indicators/bin/Debug/nPython.exe'
        Done building project "/home/username/git/Lean/Indicators/QuantConnect.Indicators.csproj".
        Project "/home/username/git/Lean/Queues/QuantConnect.Queues.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Queues/bin/Debug/nPython.exe'
        Done building project "/home/username/git/Lean/Queues/QuantConnect.Queues.csproj".
        Project "/home/username/git/Lean/Messaging/QuantConnect.Messaging.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Messaging/bin/Debug/nPython.exe'
            Target _CopyAppConfigFile:
            Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
        Done building project "/home/username/git/Lean/Messaging/QuantConnect.Messaging.csproj".
        Project "/home/username/git/Lean/Compression/QuantConnect.Compression.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Compression/bin/Debug/nPython.exe'
        Done building project "/home/username/git/Lean/Compression/QuantConnect.Compression.csproj".
        Project "/home/username/git/Lean/Api/QuantConnect.Api.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Api/bin/Debug/nPython.exe'
        Done building project "/home/username/git/Lean/Api/QuantConnect.Api.csproj".
        Project "/home/username/git/Lean/Algorithm/QuantConnect.Algorithm.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Algorithm/bin/Debug/nPython.exe'
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Algorithm/bin/Debug/nPython.exe'
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Algorithm/bin/Debug/nPython.exe'
                Copying file from '/home/username/git/Lean/packages/QuantConnect.pythonnet.1.0.5.12/build/nPython.exe' to '/home/username/git/Lean/Algorithm/bin/Debug/nPython.exe'
        Done building project "/home/username/git/Lean/Algorithm/QuantConnect.Algorithm.csproj".
        Project "/home/username/git/Lean/Brokerages/QuantConnect.Brokerages.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target _GenerateTargetFrameworkMonikerAttribute:
            Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/csc.exe execution started with arguments: /noconfig /debug:full /debug:portable /optimize- /out:obj/Debug/QuantConnect.Brokerages.dll ../Common/Properties/SharedAssemblyInfo.cs Alpaca/AlpacaBrokerage.Utility.cs Alpaca/AlpacaBrokerage.DataQueueHandler.cs Alpaca/AlpacaBrokerage.cs Alpaca/AlpacaBrokerageFactory.cs Alpaca/Markets/Enums/AccountStatus.cs Alpaca/Markets/Enums/AggregationType.cs Alpaca/Markets/Enums/AssetClass.cs Alpaca/Markets/Enums/AssetStatus.cs Alpaca/Markets/Enums/AuthStatus.cs Alpaca/Markets/Enums/BarDuration.cs Alpaca/Markets/Enums/Exchange.cs Alpaca/Markets/Enums/ExchangeType.cs Alpaca/Markets/Enums/JsonAction.cs Alpaca/Markets/Enums/MarketDataType.cs Alpaca/Markets/Enums/OrderSide.cs Alpaca/Markets/Enums/OrderStatus.cs Alpaca/Markets/Enums/OrderStatusFilter.cs Alpaca/Markets/Enums/OrderType.cs Alpaca/Markets/Enums/PositionSide.cs Alpaca/Markets/Enums/TickType.cs Alpaca/Markets/Enums/TimeInForce.cs Alpaca/Markets/FakeThrottler.cs Alpaca/Markets/Helpers/CustomTimeZone.cs Alpaca/Markets/Helpers/DateConverter.cs Alpaca/Markets/Helpers/DateTimeHelper.cs Alpaca/Markets/Helpers/EnumExtensions.cs Alpaca/Markets/Helpers/QueryBuilder.cs Alpaca/Markets/Helpers/TimeConverter.cs Alpaca/Markets/Interfaces/IAccount.cs Alpaca/Markets/Interfaces/IAccountUpdate.cs Alpaca/Markets/Interfaces/IAggHistoricalItems.cs Alpaca/Markets/Interfaces/IAsset.cs Alpaca/Markets/Interfaces/IAssetBars.cs Alpaca/Markets/Interfaces/IBar.cs Alpaca/Markets/Interfaces/ICalendar.cs Alpaca/Markets/Interfaces/IClock.cs Alpaca/Markets/Interfaces/IDayHistoricalItems.cs Alpaca/Markets/Interfaces/IExchange.cs Alpaca/Markets/Interfaces/IFundamental.cs Alpaca/Markets/Interfaces/IHistoricalItems.cs Alpaca/Markets/Interfaces/IHistoricalQuote.cs Alpaca/Markets/Interfaces/IHistoricalTrade.cs Alpaca/Markets/Interfaces/ILastQuote.cs Alpaca/Markets/Interfaces/ILastTrade.cs Alpaca/Markets/Interfaces/IOrder.cs Alpaca/Markets/Interfaces/IPosition.cs Alpaca/Markets/Interfaces/IQuote.cs Alpaca/Markets/Interfaces/IStreamBar.cs Alpaca/Markets/Interfaces/IStreamQuote.cs Alpaca/Markets/Interfaces/IStreamTrade.cs Alpaca/Markets/Interfaces/ITradeUpdate.cs Alpaca/Markets/IThrottler.cs Alpaca/Markets/Messages/JsonAccount.cs Alpaca/Markets/Messages/JsonAccountUpdate.cs Alpaca/Markets/Messages/JsonAggHistoricalItems.cs Alpaca/Markets/Messages/JsonAsset.cs Alpaca/Markets/Messages/JsonAssetBars.cs Alpaca/Markets/Messages/JsonAuthRequest.cs Alpaca/Markets/Messages/JsonAuthResponse.cs Alpaca/Markets/Messages/JsonBar.cs Alpaca/Markets/Messages/JsonCalendar.cs Alpaca/Markets/Messages/JsonClock.cs Alpaca/Markets/Messages/JsonDayBar.cs Alpaca/Markets/Messages/JsonDayHistoricalItems.cs Alpaca/Markets/Messages/JsonError.cs Alpaca/Markets/Messages/JsonExchange.cs Alpaca/Markets/Messages/JsonFundamental.cs Alpaca/Markets/Messages/JsonHistoricalItems.cs Alpaca/Markets/Messages/JsonHistoricalQuote.cs Alpaca/Markets/Messages/JsonHistoricalTrade.cs Alpaca/Markets/Messages/JsonLastQuote.cs Alpaca/Markets/Messages/JsonLastTrade.cs Alpaca/Markets/Messages/JsonListenRequest.cs Alpaca/Markets/Messages/JsonMinuteBar.cs Alpaca/Markets/Messages/JsonNewOrder.cs Alpaca/Markets/Messages/JsonOrder.cs Alpaca/Markets/Messages/JsonPosition.cs Alpaca/Markets/Messages/JsonQuote.cs Alpaca/Markets/Messages/JsonStreamBar.cs Alpaca/Markets/Messages/JsonStreamQuote.cs Alpaca/Markets/Messages/JsonStreamTrade.cs Alpaca/Markets/Messages/JsonTradeUpdate.cs Alpaca/Markets/NatsClient.cs Alpaca/Markets/RateThrottler.cs Alpaca/Markets/RestClient.cs Alpaca/Markets/RestClient.General.cs Alpaca/Markets/RestClient.Market.cs Alpaca/Markets/RestClient.Polygon.cs Alpaca/Markets/RestClientErrorException.cs Alpaca/Markets/SockClient.cs Backtesting/BacktestingBrokerage.cs Backtesting/BacktestingBrokerageFactory.cs Backtesting/BasicOptionAssignmentSimulation.cs Backtesting/IBacktestingMarketSimulation.cs BaseWebsocketsBrokerage.cs Bitfinex/BestBidAskUpdatedEventArgs.cs Bitfinex/BitfinexBrokerage.Messaging.cs Bitfinex/BitfinexBrokerage.cs Bitfinex/BitfinexBrokerageFactory.cs Bitfinex/BitfinexBrokerage.Utility.cs Bitfinex/Messages.cs Bitfinex/BitfinexSymbolMapper.cs Bitfinex/OrderBook.cs Brokerage.cs BrokerageException.cs BrokerageFactory.cs Fxcm/FxcmBrokerage.cs Fxcm/FxcmBrokerage.DataQueueHandler.cs Fxcm/FxcmBrokerage.Messaging.cs Fxcm/FxcmBrokerage.Util.cs Fxcm/FxcmBrokerageFactory.cs Fxcm/FxcmSymbolMapper.cs GDAX/AuthenticationToken.cs GDAX/BestBidAskUpdatedEventArgs.cs GDAX/GDAXBrokerage.Utility.cs GDAX/GDAXBrokerage.cs GDAX/GDAXBrokerageFactory.cs GDAX/GDAXDataQueueHandler.cs GDAX/GDAXFill.cs GDAX/GDAXBrokerage.Messaging.cs GDAX/OrderBook.cs IWebSocket.cs GDAX/Messages.cs ApiPriceProvider.cs WebSocketError.cs WebSocketMessage.cs WebSocketWrapper.cs InteractiveBrokers/Client/AccountDownloadEndEventArgs.cs InteractiveBrokers/Client/AccountSummaryEventArgs.cs InteractiveBrokers/Client/ActionSide.cs InteractiveBrokers/Client/AgentDescription.cs InteractiveBrokers/Client/BarSize.cs InteractiveBrokers/Client/HistogramDataEventArgs.cs InteractiveBrokers/Client/HeadTimestampEventArgs.cs InteractiveBrokers/Client/PnlSingleEventArgs.cs InteractiveBrokers/Client/PnlEventArgs.cs InteractiveBrokers/Client/MarketRuleEventArgs.cs InteractiveBrokers/Client/RerouteMktDepthReqEventArgs.cs InteractiveBrokers/Client/RerouteMktDataReqEventArgs.cs InteractiveBrokers/Client/HistoricalNewsEndEventArgs.cs InteractiveBrokers/Client/NewsProvidersEventArgs.cs InteractiveBrokers/Client/NewsArticleEventArgs.cs InteractiveBrokers/Client/HistoricalNewsEventArgs.cs InteractiveBrokers/Client/TickReqParamsEventArgs.cs InteractiveBrokers/Client/SmartComponentsEventArgs.cs InteractiveBrokers/Client/TickNewsEventArgs.cs InteractiveBrokers/Client/MktDepthExchangesEventArgs.cs InteractiveBrokers/Client/SymbolSamplesEventArgs.cs InteractiveBrokers/Client/FamilyCodesEventArgs.cs InteractiveBrokers/Client/HistoricalDataUpdateEventArgs.cs InteractiveBrokers/Client/OrderStatus.cs InteractiveBrokers/Client/OrderType.cs InteractiveBrokers/Client/RightType.cs InteractiveBrokers/Client/SecurityType.cs InteractiveBrokers/Client/SoftDollarTiersEventArgs.cs InteractiveBrokers/Client/SecurityDefinitionOptionParameterEventArgs.cs InteractiveBrokers/Client/CommissionReportEventArgs.cs InteractiveBrokers/Client/ContractDetailsEventArgs.cs InteractiveBrokers/Client/CurrentTimeUtcEventArgs.cs InteractiveBrokers/Client/DeltaNeutralValidationEventArgs.cs InteractiveBrokers/Client/DisplayGroupUpdatedEventArgs.cs InteractiveBrokers/Client/ErrorEventArgs.cs InteractiveBrokers/Client/ExecutionDetailsEventArgs.cs InteractiveBrokers/Client/FundamentalDataEventArgs.cs InteractiveBrokers/Client/HistoricalDataEndEventArgs.cs InteractiveBrokers/Client/HistoricalDataEventArgs.cs InteractiveBrokers/Client/ManagedAccountsEventArgs.cs InteractiveBrokers/Client/MarketDataTypeEventArgs.cs InteractiveBrokers/Client/NextValidIdEventArgs.cs InteractiveBrokers/Client/OpenOrderEventArgs.cs InteractiveBrokers/Client/OrderStatusEventArgs.cs InteractiveBrokers/Client/PositionEventArgs.cs InteractiveBrokers/Client/AccountUpdateMultiEventArgs.cs InteractiveBrokers/Client/RealtimeBarEventArgs.cs InteractiveBrokers/Client/DisplayGroupListEventArgs.cs InteractiveBrokers/Client/PositionMultiEventArgs.cs InteractiveBrokers/Client/TimeInForce.cs InteractiveBrokers/Client/VerifyAndAuthCompletedEventArgs.cs InteractiveBrokers/Client/VerifyCompletedEventArgs.cs InteractiveBrokers/Client/VerifyAndAuthMessageApiEventArgs.cs InteractiveBrokers/Client/VerifyMessageApiEventArgs.cs InteractiveBrokers/Client/RequestEndEventArgs.cs InteractiveBrokers/Client/ReceiveFaEventArgs.cs InteractiveBrokers/Client/TickEfpEventArgs.cs InteractiveBrokers/Client/TickEventArgs.cs InteractiveBrokers/Client/TickGenericEventArgs.cs InteractiveBrokers/Client/TickOptionComputationEventArgs.cs InteractiveBrokers/Client/TickPriceEventArgs.cs InteractiveBrokers/Client/TickSizeEventArgs.cs InteractiveBrokers/Client/TickSnapshotEndEventArgs.cs InteractiveBrokers/Client/TickStringEventArgs.cs InteractiveBrokers/Client/UpdateAccountTimeEventArgs.cs InteractiveBrokers/Client/UpdateAccountValueEventArgs.cs InteractiveBrokers/Client/UpdateMarketDepthEventArgs.cs InteractiveBrokers/Client/UpdateMarketDepthLevel2EventArgs.cs InteractiveBrokers/Client/UpdateNewsBulletinEventArgs.cs InteractiveBrokers/Client/ScannerParametersEventArgs.cs InteractiveBrokers/Client/ScannerDataEventArgs.cs InteractiveBrokers/Client/UpdatePortfolioEventArgs.cs InteractiveBrokers/FinancialAdvisor/Allocation.cs InteractiveBrokers/FinancialAdvisor/AllocationProfile.cs InteractiveBrokers/FinancialAdvisor/Group.cs InteractiveBrokers/FinancialAdvisor/AccountAlias.cs InteractiveBrokers/FinancialAdvisor/FinancialAdvisorConfiguration.cs InteractiveBrokers/HistoricalDataType.cs InteractiveBrokers/InteractiveBrokersAccountData.cs InteractiveBrokers/InteractiveBrokersBrokerage.cs InteractiveBrokers/InteractiveBrokersBrokerageFactory.cs InteractiveBrokers/Client/InteractiveBrokersClient.cs InteractiveBrokers/InteractiveBrokersGatewayRunner.cs InteractiveBrokers/InteractiveBrokersSymbolMapper.cs ISymbolMapper.cs Oanda/OandaRestApiBase.cs Oanda/OandaRestApiV1.cs Oanda/OandaRestApiV20.cs Oanda/RestV1/DataType/Account.cs Oanda/RestV1/DataType/Candle.cs Oanda/RestV1/DataType/Communications/AccountResponse.cs Oanda/RestV1/DataType/Communications/AccountsResponse.cs Oanda/RestV1/DataType/Communications/CandlesResponse.cs Oanda/RestV1/DataType/Communications/InstrumentsResponse.cs Oanda/RestV1/DataType/Communications/OrdersResponse.cs Oanda/RestV1/DataType/Communications/PositionsResponse.cs Oanda/RestV1/DataType/Communications/PostOrderResponse.cs Oanda/RestV1/DataType/Communications/PricesResponse.cs Oanda/RestV1/DataType/Communications/Requests/CandlesRequest.cs Oanda/RestV1/DataType/Communications/Requests/Request.cs Oanda/RestV1/DataType/Communications/Response.cs Oanda/RestV1/DataType/Communications/TradesResponse.cs Oanda/RestV1/DataType/Event.cs Oanda/RestV1/DataType/Heartbeat.cs Oanda/RestV1/DataType/IHeartbeat.cs Oanda/RestV1/DataType/Instrument.cs Oanda/RestV1/DataType/Order.cs Oanda/RestV1/DataType/Position.cs Oanda/RestV1/DataType/Price.cs Oanda/RestV1/DataType/Communications/RateStreamResponse.cs Oanda/RestV1/DataType/TradeData.cs Oanda/RestV1/DataType/Transaction.cs Oanda/Environment.cs Oanda/RestV1/Framework/Common.cs Oanda/RestV1/Framework/EndpointResolver.cs Oanda/OandaBrokerage.cs Oanda/OandaBrokerageFactory.cs Oanda/OandaSymbolMapper.cs Oanda/RestV20/Api/DefaultApi.cs Oanda/RestV20/Client/ApiClient.cs Oanda/RestV20/Client/ApiException.cs Oanda/RestV20/Client/ApiResponse.cs Oanda/RestV20/Client/Configuration.cs Oanda/RestV20/Client/ExceptionFactory.cs Oanda/RestV20/Client/IApiAccessor.cs Oanda/RestV20/DefaultApiExtensions.cs Oanda/RestV20/Model/AcceptDatetimeFormat.cs Oanda/RestV20/Model/Account.cs Oanda/RestV20/Model/AccountChanges.cs Oanda/RestV20/Model/AccountChangesState.cs Oanda/RestV20/Model/AccountFinancingMode.cs Oanda/RestV20/Model/AccountID.cs Oanda/RestV20/Model/AccountProperties.cs Oanda/RestV20/Model/AccountSummary.cs Oanda/RestV20/Model/AccountUnits.cs Oanda/RestV20/Model/CalculatedPositionState.cs Oanda/RestV20/Model/CalculatedTradeState.cs Oanda/RestV20/Model/Candlestick.cs Oanda/RestV20/Model/CandlestickData.cs Oanda/RestV20/Model/CandlestickGranularity.cs Oanda/RestV20/Model/ClientComment.cs Oanda/RestV20/Model/ClientConfigureRejectTransaction.cs Oanda/RestV20/Model/ClientConfigureTransaction.cs Oanda/RestV20/Model/ClientExtensions.cs Oanda/RestV20/Model/ClientID.cs Oanda/RestV20/Model/ClientTag.cs Oanda/RestV20/Model/ClosePositionBody.cs Oanda/RestV20/Model/CloseTradeBody.cs Oanda/RestV20/Model/CloseTransaction.cs Oanda/RestV20/Model/ConfigureAccountBody.cs Oanda/RestV20/Model/CreateOrderBody.cs Oanda/RestV20/Model/CreateTransaction.cs Oanda/RestV20/Model/Currency.cs Oanda/RestV20/Model/DailyFinancingTransaction.cs Oanda/RestV20/Model/DateTime.cs Oanda/RestV20/Model/DecimalNumber.cs Oanda/RestV20/Model/DelayedTradeClosureTransaction.cs Oanda/RestV20/Model/DynamicOrderState.cs Oanda/RestV20/Model/FundingReason.cs Oanda/RestV20/Model/InlineResponse200.cs Oanda/RestV20/Model/InlineResponse2001.cs Oanda/RestV20/Model/InlineResponse20010.cs Oanda/RestV20/Model/InlineResponse20011.cs Oanda/RestV20/Model/InlineResponse20012.cs Oanda/RestV20/Model/InlineResponse20013.cs Oanda/RestV20/Model/InlineResponse20014.cs Oanda/RestV20/Model/InlineResponse20015.cs Oanda/RestV20/Model/InlineResponse20016.cs Oanda/RestV20/Model/InlineResponse20017.cs Oanda/RestV20/Model/InlineResponse20018.cs Oanda/RestV20/Model/InlineResponse20019.cs Oanda/RestV20/Model/InlineResponse2002.cs Oanda/RestV20/Model/InlineResponse20020.cs Oanda/RestV20/Model/InlineResponse20021.cs Oanda/RestV20/Model/InlineResponse20022.cs Oanda/RestV20/Model/InlineResponse20023.cs Oanda/RestV20/Model/InlineResponse20024.cs Oanda/RestV20/Model/InlineResponse20025.cs Oanda/RestV20/Model/InlineResponse20026.cs Oanda/RestV20/Model/InlineResponse20027.cs Oanda/RestV20/Model/InlineResponse20028.cs Oanda/RestV20/Model/InlineResponse20029.cs Oanda/RestV20/Model/InlineResponse2003.cs Oanda/RestV20/Model/InlineResponse2004.cs Oanda/RestV20/Model/InlineResponse2005.cs Oanda/RestV20/Model/InlineResponse2006.cs Oanda/RestV20/Model/InlineResponse2007.cs Oanda/RestV20/Model/InlineResponse2008.cs Oanda/RestV20/Model/InlineResponse2009.cs Oanda/RestV20/Model/InlineResponse201.cs Oanda/RestV20/Model/InlineResponse2011.cs Oanda/RestV20/Model/InlineResponse400.cs Oanda/RestV20/Model/InlineResponse4001.cs Oanda/RestV20/Model/InlineResponse4002.cs Oanda/RestV20/Model/InlineResponse4003.cs Oanda/RestV20/Model/InlineResponse4004.cs Oanda/RestV20/Model/InlineResponse4005.cs Oanda/RestV20/Model/InlineResponse4006.cs Oanda/RestV20/Model/InlineResponse4007.cs Oanda/RestV20/Model/InlineResponse401.cs Oanda/RestV20/Model/InlineResponse404.cs Oanda/RestV20/Model/InlineResponse4041.cs Oanda/RestV20/Model/InlineResponse4042.cs Oanda/RestV20/Model/InlineResponse4043.cs Oanda/RestV20/Model/InlineResponse4044.cs Oanda/RestV20/Model/InlineResponse4045.cs Oanda/RestV20/Model/InlineResponse4046.cs Oanda/RestV20/Model/Instrument.cs Oanda/RestV20/Model/InstrumentName.cs Oanda/RestV20/Model/InstrumentType.cs Oanda/RestV20/Model/LimitOrder.cs Oanda/RestV20/Model/LimitOrderReason.cs Oanda/RestV20/Model/LimitOrderRejectTransaction.cs Oanda/RestV20/Model/LimitOrderRequest.cs Oanda/RestV20/Model/LimitOrderTransaction.cs Oanda/RestV20/Model/LiquidityRegenerationSchedule.cs Oanda/RestV20/Model/LiquidityRegenerationScheduleStep.cs Oanda/RestV20/Model/MarginCallEnterTransaction.cs Oanda/RestV20/Model/MarginCallExitTransaction.cs Oanda/RestV20/Model/MarginCallExtendTransaction.cs Oanda/RestV20/Model/MarketIfTouchedOrder.cs Oanda/RestV20/Model/MarketIfTouchedOrderReason.cs Oanda/RestV20/Model/MarketIfTouchedOrderRejectTransaction.cs Oanda/RestV20/Model/MarketIfTouchedOrderRequest.cs Oanda/RestV20/Model/MarketIfTouchedOrderTransaction.cs Oanda/RestV20/Model/MarketOrder.cs Oanda/RestV20/Model/MarketOrderDelayedTradeClose.cs Oanda/RestV20/Model/MarketOrderMarginCloseout.cs Oanda/RestV20/Model/MarketOrderMarginCloseoutReason.cs Oanda/RestV20/Model/MarketOrderPositionCloseout.cs Oanda/RestV20/Model/MarketOrderReason.cs Oanda/RestV20/Model/MarketOrderRejectTransaction.cs Oanda/RestV20/Model/MarketOrderRequest.cs Oanda/RestV20/Model/MarketOrderTradeClose.cs Oanda/RestV20/Model/MarketOrderTransaction.cs Oanda/RestV20/Model/OpenTradeFinancing.cs Oanda/RestV20/Model/Order.cs Oanda/RestV20/Model/OrderCancelReason.cs Oanda/RestV20/Model/OrderCancelRejectTransaction.cs Oanda/RestV20/Model/OrderCancelTransaction.cs Oanda/RestV20/Model/OrderClientExtensionsModifyRejectTransaction.cs Oanda/RestV20/Model/OrderClientExtensionsModifyTransaction.cs Oanda/RestV20/Model/OrderFillReason.cs Oanda/RestV20/Model/OrderFillTransaction.cs Oanda/RestV20/Model/OrderID.cs Oanda/RestV20/Model/OrderIdentifier.cs Oanda/RestV20/Model/OrderPositionFill.cs Oanda/RestV20/Model/OrderRequest.cs Oanda/RestV20/Model/OrderSpecifier.cs Oanda/RestV20/Model/OrderState.cs Oanda/RestV20/Model/OrderTriggerCondition.cs Oanda/RestV20/Model/OrderType.cs Oanda/RestV20/Model/Position.cs Oanda/RestV20/Model/PositionAggregationMode.cs Oanda/RestV20/Model/PositionFinancing.cs Oanda/RestV20/Model/PositionSide.cs Oanda/RestV20/Model/Price.cs Oanda/RestV20/Model/PriceBucket.cs Oanda/RestV20/Model/PriceStatus.cs Oanda/RestV20/Model/PriceValue.cs Oanda/RestV20/Model/PricingHeartbeat.cs Oanda/RestV20/Model/QuoteHomeConversionFactors.cs Oanda/RestV20/Model/ReopenTransaction.cs Oanda/RestV20/Model/ReplaceOrderBody.cs Oanda/RestV20/Model/RequestID.cs Oanda/RestV20/Model/ResetResettablePLTransaction.cs Oanda/RestV20/Model/SetOrderClientExtensionsBody.cs Oanda/RestV20/Model/SetTradeClientExtensionsBody.cs Oanda/RestV20/Model/SetTradeDependentOrdersBody.cs Oanda/RestV20/Model/StopLossDetails.cs Oanda/RestV20/Model/StopLossOrder.cs Oanda/RestV20/Model/StopLossOrderReason.cs Oanda/RestV20/Model/StopLossOrderRejectTransaction.cs Oanda/RestV20/Model/StopLossOrderRequest.cs Oanda/RestV20/Model/StopLossOrderTransaction.cs Oanda/RestV20/Model/StopOrder.cs Oanda/RestV20/Model/StopOrderReason.cs Oanda/RestV20/Model/StopOrderRejectTransaction.cs Oanda/RestV20/Model/StopOrderRequest.cs Oanda/RestV20/Model/StopOrderTransaction.cs Oanda/RestV20/Model/TakeProfitDetails.cs Oanda/RestV20/Model/TakeProfitOrder.cs Oanda/RestV20/Model/TakeProfitOrderReason.cs Oanda/RestV20/Model/TakeProfitOrderRejectTransaction.cs Oanda/RestV20/Model/TakeProfitOrderRequest.cs Oanda/RestV20/Model/TakeProfitOrderTransaction.cs Oanda/RestV20/Model/TimeInForce.cs Oanda/RestV20/Model/Trade.cs Oanda/RestV20/Model/TradeClientExtensionsModifyRejectTransaction.cs Oanda/RestV20/Model/TradeClientExtensionsModifyTransaction.cs Oanda/RestV20/Model/TradeID.cs Oanda/RestV20/Model/TradeOpen.cs Oanda/RestV20/Model/TradeReduce.cs Oanda/RestV20/Model/TradeSpecifier.cs Oanda/RestV20/Model/TradeState.cs Oanda/RestV20/Model/TradeSummary.cs Oanda/RestV20/Model/TrailingStopLossDetails.cs Oanda/RestV20/Model/TrailingStopLossOrder.cs Oanda/RestV20/Model/TrailingStopLossOrderReason.cs Oanda/RestV20/Model/TrailingStopLossOrderRejectTransaction.cs Oanda/RestV20/Model/TrailingStopLossOrderRequest.cs Oanda/RestV20/Model/TrailingStopLossOrderTransaction.cs Oanda/RestV20/Model/Transaction.cs Oanda/RestV20/Model/TransactionFilter.cs Oanda/RestV20/Model/TransactionHeartbeat.cs Oanda/RestV20/Model/TransactionID.cs Oanda/RestV20/Model/TransactionRejectReason.cs Oanda/RestV20/Model/TransactionType.cs Oanda/RestV20/Model/TransferFundsRejectTransaction.cs Oanda/RestV20/Model/TransferFundsTransaction.cs Oanda/RestV20/Model/UnitsAvailable.cs Oanda/RestV20/Model/UnitsAvailableDetails.cs Oanda/RestV20/Model/UserInfo.cs Oanda/RestV20/Model/UserInfoExternal.cs Oanda/RestV20/Model/UserSpecifier.cs Oanda/RestV20/Model/VWAPReceipt.cs Oanda/RestV20/Model/WeeklyAlignment.cs Oanda/RestV20/Session/PricingStreamSession.cs Oanda/RestV20/Session/StreamSession.cs Oanda/RestV20/Session/TransactionStreamSession.cs Oanda/Server.cs Oanda/RestV1/Session/EventsSession.cs Oanda/RestV1/Session/RatesSession.cs Oanda/RestV1/Session/StreamSession.cs Paper/PaperBrokerage.cs Paper/PaperBrokerageFactory.cs Properties/AssemblyInfo.cs Tradier/TradierBrokerage.HistoryProvider.cs Tradier/TradierBrokerage.DataQueueHandler.cs Tradier/TradierBrokerage.cs Tradier/Balances.cs Tradier/Common.cs Tradier/Data.cs Tradier/Fault.cs Tradier/GainLoss.cs Tradier/History.cs Tradier/Orders.cs Tradier/Positions.cs Tradier/Tokens.cs Tradier/TradierBrokerageFactory.cs Tradier/UserProfile.cs obj/Debug/.NETFramework,Version=v4.5.2.AssemblyAttribute.cs /target:library /define:"DEBUG;TRACE" /doc:bin/Debug/QuantConnect.Brokerages.xml /langversion:6 /nostdlib /platform:AnyCPU /reference:InteractiveBrokers/CSharpAPI.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Beans.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Charsets.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Corba.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Core.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Jdbc.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Management.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Media.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Misc.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Naming.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Remoting.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Security.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.SwingAWT.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Text.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Tools.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.Util.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.XML.API.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.XML.Bind.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.XML.Crypto.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.XML.Parse.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.XML.Transform.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.XML.WebServices.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.OpenJDK.XML.XPath.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.Reflection.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.Runtime.dll /reference:../packages/IKVM-WithExes.7.3.4830.1/tools/IKVM.Runtime.JNI.dll /reference:../packages/NATS.Client.0.8.1/lib/net45/NATS.Client.dll /reference:Fxcm/QuantConnect.Fxcm.dll /reference:/usr/lib/mono/4.5.2-api/System.dll /reference:/usr/lib/mono/4.5.2-api/System.ComponentModel.Composition.dll /reference:/usr/lib/mono/4.5.2-api/System.ComponentModel.DataAnnotations.dll /reference:/usr/lib/mono/4.5.2-api/System.Net.Http.dll /reference:/usr/lib/mono/4.5.2-api/System.Runtime.Serialization.dll /reference:/usr/lib/mono/4.5.2-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5.2-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5.2-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5.2-api/System.Data.dll /reference:/usr/lib/mono/4.5.2-api/System.Xml.dll /reference:../packages/WebSocketSharpFork.1.0.4.0/lib/net35/websocket-sharp.dll /reference:../packages/Newtonsoft.Json.12.0.1/lib/net45/Newtonsoft.Json.dll /reference:../packages/NodaTime.2.4.2/lib/net45/NodaTime.dll /reference:/usr/lib/mono/4.5.2-api/System.Numerics.dll /reference:../packages/RestSharp.106.5.4/lib/net452/RestSharp.dll /reference:/usr/lib/mono/4.5.2-api/System.Web.dll /reference:/usr/lib/mono/4.5.2-api/System.Core.dll /reference:/home/username/git/Lean/Api/bin/Debug//QuantConnect.Api.dll /reference:/home/username/git/Lean/Common/bin/Debug//QuantConnect.Common.dll /reference:/home/username/git/Lean/Compression/bin/Debug//QuantConnect.Compression.dll /reference:/home/username/git/Lean/Configuration/bin/Debug//QuantConnect.Configuration.dll /reference:/home/username/git/Lean/Logging/bin/Debug//QuantConnect.Logging.dll /reference:/usr/lib/mono/4.5.2-api//mscorlib.dll /warn:4
                Microsoft (R) Visual C# Compiler version 2.8.2.62916 (2ad4aabc)
                Copyright (C) Microsoft Corporation. All rights reserved.
Oanda/RestV20/Client/ApiClient.cs(135,51): error CS1503: Argument 2: cannot convert from 'System.Action<System.IO.Stream>' to 'byte[]'
Bitfinex/BitfinexBrokerage.cs(90,31): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(132,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(132,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(203,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(203,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(233,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.cs(233,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Bitfinex/BitfinexBrokerage.Utility.cs(277,31): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
Fxcm/FxcmBrokerage.Util.cs(182,35): error CS0117: 'Instant' does not contain a definition for 'FromMillisecondsSinceUnixEpoch'
Tradier/TradierBrokerage.cs(1890,27): warning CS0649: Field 'TradierBrokerage.TradierPlaceOrderRequest.OptionSymbol' is never assigned to, and will always have its default value null
Tradier/Data.cs(192,22): warning CS0414: The field 'TradierQuote.Options_OpenInterest' is assigned but its value is never used
Tradier/Data.cs(204,21): warning CS0414: The field 'TradierQuote.Options_ContractSize' is assigned but its value is never used
Tradier/Data.cs(172,22): warning CS0414: The field 'TradierQuote.BidDateUnix' is assigned but its value is never used
Tradier/Data.cs(188,22): warning CS0414: The field 'TradierQuote.AskDateUnix' is assigned but its value is never used
Tradier/Data.cs(200,25): warning CS0414: The field 'TradierQuote.Options_Strike' is assigned but its value is never used
Tradier/Data.cs(216,35): warning CS0414: The field 'TradierQuote.Options_OptionType' is assigned but its value is never used
Tradier/Data.cs(212,45): warning CS0414: The field 'TradierQuote.Options_ExpirationType' is assigned but its value is never used
Tradier/Data.cs(196,24): warning CS0414: The field 'TradierQuote.Options_UnderlyingAsset' is assigned but its value is never used
Tradier/Data.cs(208,22): warning CS0414: The field 'TradierQuote.Options_ExpirationDate' is assigned but its value is never used
            Task "Csc" execution -- FAILED
            Done building target "CoreCompile" in project "/home/username/git/Lean/Brokerages/QuantConnect.Brokerages.csproj".-- FAILED
        Done building project "/home/username/git/Lean/Brokerages/QuantConnect.Brokerages.csproj".-- FAILED
    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/home/username/git/Lean/QuantConnect.Lean.sln".-- FAILED
Done building project "/home/username/git/Lean/QuantConnect.Lean.sln".-- FAILED

Build FAILED.

Warnings:

/home/username/git/Lean/Algorithm.Python/QuantConnect.Algorithm.PythonTools.pyproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/Python Tools/Microsoft.PythonTools.targets, to import. Ignoring.
/home/username/git/Lean/PythonToolbox/QuantConnect.PythonToolbox.pyproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/VisualStudio/v/Python Tools/Microsoft.PythonTools.targets, to import. Ignoring.

/home/username/git/Lean/QuantConnect.Lean.sln (default targets) ->
(Build target) ->
/home/username/git/Lean/Brokerages/QuantConnect.Brokerages.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    Tradier/TradierBrokerage.cs(1890,27): warning CS0649: Field 'TradierBrokerage.TradierPlaceOrderRequest.OptionSymbol' is never assigned to, and will always have its default value null
    Tradier/Data.cs(192,22): warning CS0414: The field 'TradierQuote.Options_OpenInterest' is assigned but its value is never used
    Tradier/Data.cs(204,21): warning CS0414: The field 'TradierQuote.Options_ContractSize' is assigned but its value is never used
    Tradier/Data.cs(172,22): warning CS0414: The field 'TradierQuote.BidDateUnix' is assigned but its value is never used
    Tradier/Data.cs(188,22): warning CS0414: The field 'TradierQuote.AskDateUnix' is assigned but its value is never used
    Tradier/Data.cs(200,25): warning CS0414: The field 'TradierQuote.Options_Strike' is assigned but its value is never used
    Tradier/Data.cs(216,35): warning CS0414: The field 'TradierQuote.Options_OptionType' is assigned but its value is never used
    Tradier/Data.cs(212,45): warning CS0414: The field 'TradierQuote.Options_ExpirationType' is assigned but its value is never used
    Tradier/Data.cs(196,24): warning CS0414: The field 'TradierQuote.Options_UnderlyingAsset' is assigned but its value is never used
    Tradier/Data.cs(208,22): warning CS0414: The field 'TradierQuote.Options_ExpirationDate' is assigned but its value is never used

Errors:

/home/username/git/Lean/QuantConnect.Lean.sln (default targets) ->
(Build target) ->
/home/username/git/Lean/Brokerages/QuantConnect.Brokerages.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    Oanda/RestV20/Client/ApiClient.cs(135,51): error CS1503: Argument 2: cannot convert from 'System.Action<System.IO.Stream>' to 'byte[]'
    Bitfinex/BitfinexBrokerage.cs(90,31): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Bitfinex/BitfinexBrokerage.cs(132,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Bitfinex/BitfinexBrokerage.cs(132,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Bitfinex/BitfinexBrokerage.cs(203,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Bitfinex/BitfinexBrokerage.cs(203,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Bitfinex/BitfinexBrokerage.cs(233,13): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Bitfinex/BitfinexBrokerage.cs(233,38): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Bitfinex/BitfinexBrokerage.Utility.cs(277,31): error CS0246: The type or namespace name 'JsonObject' could not be found (are you missing a using directive or an assembly reference?)
    Fxcm/FxcmBrokerage.Util.cs(182,35): error CS0117: 'Instant' does not contain a definition for 'FromMillisecondsSinceUnixEpoch'

     12 Warning(s)
     10 Error(s)

Time Elapsed 00:00:06.4229430
username@usernameVB:~/git/Lean$ 

`

System Information

`

username@usernameVB:~/git/Lean$ mono --version
Mono JIT compiler version 5.16.0.220 (tarball Mon Nov 26 17:17:59 UTC 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug 
Interpreter:   yes
LLVM:          yes(3.6.0svn-mono-/)
GC:            sgen (concurrent by default)

username@usernameVB:~/git/Lean$ command lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

`

There is also a question (with no answer/solution) about this here: https://www.quantconnect.com/forum/discussion/4981/compile-lean-on-ubuntu-using-monodevelp-fails/p1

Checklist

Martin-Molinero commented 5 years ago

Hi! I see you are using mono 5.16, that might be the issue. Please test using 5.8.0.108:

Martin-Molinero commented 5 years ago

Two weeks past and no reply from reporting user, so closing this issue.