BUG: fix cell magic

This commit is contained in:
Joe Jevnik
2016-05-24 02:04:43 -04:00
parent 3ca294d494
commit 533233fae4
+1 -1
View File
@@ -145,7 +145,7 @@ def _run(handle_data,
'before_trading_start': before_trading_start,
'analyze': analyze,
} if algotext is None else {
'algo_filename': algofile.name,
'algo_filename': getattr(algofile, 'name', '<algorithm>'),
'script': algotext,
}
).run(