Modifies python example algorithms to show implicit convertion benefits

This commit is contained in:
AlexCatarino
2017-06-15 18:40:34 +01:00
parent 6ca9d7cf14
commit 6242706342
22 changed files with 189 additions and 212 deletions
@@ -907,6 +907,7 @@ namespace QuantConnect.AlgorithmFactory.Python.Wrappers
" def __init__(self, slice):\n" +
" for data in slice:\n" +
" self[data.Key] = Data(data.Value)\n" +
" self[data.Key.Value] = Data(data.Value)\n" +
// Python Data class: Converts custom data (PythonData) into a python object'''
"class Data(object):\n" +