mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-11 12:00:50 +08:00
ENH Add command line option for printing algo on stdout, default is false.
This commit is contained in:
committed by
Thomas Wiecki
parent
85d53dcce8
commit
65448cc8d1
@@ -100,12 +100,17 @@ def parse_args(argv, ipython_mode=False):
|
||||
parser.add_argument('--start', '-s')
|
||||
parser.add_argument('--end', '-e')
|
||||
parser.add_argument('--capital_base')
|
||||
parser.add_argument('--source', '-d')
|
||||
parser.add_argument('--source', '-d', choices=('yahoo',))
|
||||
parser.add_argument('--source_time_column', '-t')
|
||||
parser.add_argument('--symbols')
|
||||
parser.add_argument('--output', '-o')
|
||||
parser.add_argument('--metadata_path', '-m')
|
||||
parser.add_argument('--metadata_index', '-x')
|
||||
parser.add_argument('--print-algo', '-p', dest='print_algo',
|
||||
action='store_true')
|
||||
parser.add_argument('--no-print-algo', '-q', dest='print_algo',
|
||||
action='store_false')
|
||||
|
||||
if ipython_mode:
|
||||
parser.add_argument('--local_namespace', action='store_true')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user