Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
Always required specify the path explicitly to avoid the error:
The type 'PyObject' is required here and is unavailable. You must add a reference to assembly 'Python.Runtime, Version=1.0.5.30, Culture=neutral, PublicKeyToken=null'.
namespace Test
open QuantConnect.Data.Market
open QuantConnect.Algorithm
type BasicTemplateAlgorithm() =
inherit QCAlgorithm()
override this.Initialize() = ()
member this.OnData(bar:TradeBars) = ()
Always required specify the path explicitly to avoid the error:
The type 'PyObject' is required here and is unavailable. You must add a reference to assembly 'Python.Runtime, Version=1.0.5.30, Culture=neutral, PublicKeyToken=null'.
<HintPath>$(NUGET_PACKAGES)\quantconnect.pythonnet\1.0.5.30\lib\win\Python.Runtime.dll</HintPath>
fsproj:
Main.fs