예제 #1
0
파일: __init__.py 프로젝트: yushu9/rqalpha
def load_ipython_extension(ipython):
    """call by ipython"""
    from rqalpha.mod.utils import inject_mod_commands
    inject_mod_commands()

    ipython.register_magic_function(run_ipython_cell, 'line_cell', 'rqalpha')
예제 #2
0
def entry_point():
    from rqalpha.mod.utils import inject_mod_commands
    inject_mod_commands()
    from rqalpha.cmds import cli

    cli(obj={})