mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 05:55:11 +08:00
BUG: fix cell magic
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user