Upgrade LEAN Python to 3.6 from 2.7

- Adds log to display the python version the algorithm is using.
- Fixes python algorithms that were failing because of small subtleties
like leading zeroes.
- Updates pythonnet with a version compiled with python 3.6 flags

- Changes in DockerfileFoundation: we now use miniconda to manage the python
environment.
- Took the opportunity to add NTLK (#1349), Tensorforce (#1369) and
PyTorch/Pyro (#1385).
- Changes readme in Algorithm.Python to show steps to install miniconda
This commit is contained in:
Michael Handschuh
2018-02-23 15:05:31 -05:00
parent 2217bfaff6
commit 18a559943e
75 changed files with 240 additions and 245 deletions
@@ -59,7 +59,7 @@ class DropboxBaseDataUniverseSelectionAlgorithm(QCAlgorithm):
def OnData(self, slice):
if slice.Bars.Count == 0: return
if self._changes == SecurityChanges.None: return
if self._changes == None: return
# start fresh
self.Liquidate()
@@ -69,7 +69,7 @@ class DropboxBaseDataUniverseSelectionAlgorithm(QCAlgorithm):
self.SetHoldings(tradeBar.Symbol, percentage)
# reset changes
self._changes = SecurityChanges.None
self._changes = None
def OnSecuritiesChanged(self, changes):
self._changes = changes