{"description":"实验创建于2021/10/23","graph":{"edges":[{"to_node_id":"-306:instruments","from_node_id":"-293:data"},{"to_node_id":"-270:instruments","from_node_id":"-293:data"},{"to_node_id":"-306:features","from_node_id":"-301:data"},{"to_node_id":"-313:features","from_node_id":"-301:data"},{"to_node_id":"-313:input_data","from_node_id":"-306:data"},{"to_node_id":"-270:feature_datas","from_node_id":"-313:data"}],"nodes":[{"node_id":"-270","module_id":"BigQuantSpace.genetic_algorithm.genetic_algorithm-v1","parameters":[{"name":"all_start_date","value":"","type":"Literal","bound_global_parameter":null},{"name":"all_end_date","value":"","type":"Literal","bound_global_parameter":null},{"name":"short_date_range_ratio","value":"0.7","type":"Literal","bound_global_parameter":null},{"name":"return_field","value":"wap_3_vwap_buy","type":"Literal","bound_global_parameter":null},{"name":"rebalance_period","value":1,"type":"Literal","bound_global_parameter":null},{"name":"train_test_ratio","value":0.75,"type":"Literal","bound_global_parameter":null},{"name":"train_validate_ratio","value":0.75,"type":"Literal","bound_global_parameter":null},{"name":"mtime","value":"2","type":"Literal","bound_global_parameter":null},{"name":"init_ind_num","value":"10","type":"Literal","bound_global_parameter":null},{"name":"ngen","value":"3","type":"Literal","bound_global_parameter":null},{"name":"fitness_func","value":"long_return","type":"Literal","bound_global_parameter":null},{"name":"train_fitness","value":"0.16","type":"Literal","bound_global_parameter":null},{"name":"test_fitness","value":"0.1","type":"Literal","bound_global_parameter":null},{"name":"ir_type","value":"ir","type":"Literal","bound_global_parameter":null},{"name":"cxpb","value":0.5,"type":"Literal","bound_global_parameter":null},{"name":"mutpb","value":0.3,"type":"Literal","bound_global_parameter":null},{"name":"mutspb","value":0.3,"type":"Literal","bound_global_parameter":null},{"name":"mutnrpb","value":0.3,"type":"Literal","bound_global_parameter":null},{"name":"constant","value":"1,11","type":"Literal","bound_global_parameter":null},{"name":"pool_processes_limit","value":"5","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"instruments","node_id":"-270"},{"name":"feature_datas","node_id":"-270"},{"name":"base_features","node_id":"-270"}],"output_ports":[{"name":"factors","node_id":"-270"}],"cacheable":false,"seq_num":1,"comment":"","comment_collapsed":true},{"node_id":"-293","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2016-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2022-07-22","type":"Literal","bound_global_parameter":null},{"name":"market","value":"CN_STOCK_A","type":"Literal","bound_global_parameter":null},{"name":"instrument_list","value":"","type":"Literal","bound_global_parameter":null},{"name":"max_count","value":0,"type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"rolling_conf","node_id":"-293"}],"output_ports":[{"name":"data","node_id":"-293"}],"cacheable":true,"seq_num":2,"comment":"","comment_collapsed":true},{"node_id":"-301","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"amount_0\nturn_0 \nmf_net_amount_0\nswing_volatility_60_0\nmf_net_amount_xl_0\nprice_limit_status_20","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-301"}],"output_ports":[{"name":"data","node_id":"-301"}],"cacheable":true,"seq_num":3,"comment":"","comment_collapsed":true},{"node_id":"-306","module_id":"BigQuantSpace.general_feature_extractor.general_feature_extractor-v7","parameters":[{"name":"start_date","value":"","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"","type":"Literal","bound_global_parameter":null},{"name":"before_start_days","value":90,"type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"instruments","node_id":"-306"},{"name":"features","node_id":"-306"}],"output_ports":[{"name":"data","node_id":"-306"}],"cacheable":true,"seq_num":4,"comment":"","comment_collapsed":true},{"node_id":"-313","module_id":"BigQuantSpace.derived_feature_extractor.derived_feature_extractor-v3","parameters":[{"name":"date_col","value":"date","type":"Literal","bound_global_parameter":null},{"name":"instrument_col","value":"instrument","type":"Literal","bound_global_parameter":null},{"name":"drop_na","value":"False","type":"Literal","bound_global_parameter":null},{"name":"remove_extra_columns","value":"False","type":"Literal","bound_global_parameter":null},{"name":"user_functions","value":"{}","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"input_data","node_id":"-313"},{"name":"features","node_id":"-313"}],"output_ports":[{"name":"data","node_id":"-313"}],"cacheable":true,"seq_num":5,"comment":"","comment_collapsed":true}],"node_layout":"<node_postions><node_position Node='-270' Position='-125.36787223815918,164,200,200'/><node_position Node='-293' Position='-132,-132,200,200'/><node_position Node='-301' Position='156,-106,200,200'/><node_position Node='-306' Position='62,-3,200,200'/><node_position Node='-313' Position='47,77,200,200'/></node_postions>"},"nodes_readonly":false,"studio_version":"v2"}
[2022-07-24 18:23:15.728328] INFO: moduleinvoker: instruments.v2 开始运行..
[2022-07-24 18:23:15.742380] INFO: moduleinvoker: 命中缓存
[2022-07-24 18:23:15.746116] INFO: moduleinvoker: instruments.v2 运行完成[0.017781s].
[2022-07-24 18:23:15.755860] INFO: moduleinvoker: input_features.v1 开始运行..
[2022-07-24 18:23:15.787391] INFO: moduleinvoker: 命中缓存
[2022-07-24 18:23:15.790261] INFO: moduleinvoker: input_features.v1 运行完成[0.034425s].
[2022-07-24 18:23:15.847246] INFO: moduleinvoker: general_feature_extractor.v7 开始运行..
[2022-07-24 18:23:15.865052] INFO: moduleinvoker: 命中缓存
[2022-07-24 18:23:15.867786] INFO: moduleinvoker: general_feature_extractor.v7 运行完成[0.020562s].
[2022-07-24 18:23:15.891220] INFO: moduleinvoker: derived_feature_extractor.v3 开始运行..
[2022-07-24 18:23:15.907785] INFO: moduleinvoker: 命中缓存
[2022-07-24 18:23:15.912000] INFO: moduleinvoker: derived_feature_extractor.v3 运行完成[0.020746s].
[2022-07-24 18:23:15.934287] INFO: moduleinvoker: genetic_algorithm.v1 开始运行..
[2022-07-24 18:23:20.260994] INFO: 遗传规划: loading data from 2016-01-01 to 2020-08-03...
[2022-07-24 18:24:29.560107] INFO: 遗传规划: loaded data from 2016-01-01 to 2020-08-03 successfully
[2022-07-24 18:24:30.073701] INFO: 遗传规划: loading data from 2016-01-01 to 2022-07-22...
[2022-07-24 18:26:32.995486] INFO: 遗传规划: loaded data from 2016-01-01 to 2022-07-22 successfully
[2022-07-24 18:26:33.145824] INFO: 遗传规划: 初始化toolbox ...
[2022-07-24 18:26:33.150985] INFO: 遗传规划: == 开始第「1」次因子挖掘 ==
[2022-07-24 18:26:33.154685] INFO: 遗传规划: -- 开始第「1」次循环第「1」代挖掘 --
[2022-07-24 18:26:33.157271] INFO: 遗传规划: -- 开始使用训练数据计算表达式适应度··· --
[2022-07-24 18:26:33.162115] INFO: AI: 开始并行运算, remote_run=False, workers=5 ..
[2022-07-24 18:26:33.257420] INFO: AI: [ParallelEx(n_jobs=5)]: Using backend LokyBackend with 5 concurrent workers.
[2022-07-24 18:26:59.467696] INFO: AI: [ParallelEx(n_jobs=5)]: Done 1 tasks | elapsed: 26.2s
[2022-07-24 18:26:59.470913] INFO: AI: [ParallelEx(n_jobs=5)]: Done 2 out of 10 | elapsed: 26.2s remaining: 1.7min
[2022-07-24 18:26:59.473244] INFO: AI: [ParallelEx(n_jobs=5)]: Done 3 out of 10 | elapsed: 26.2s remaining: 1.0min
[2022-07-24 18:26:59.475307] INFO: AI: [ParallelEx(n_jobs=5)]: Done 4 out of 10 | elapsed: 26.2s remaining: 39.3s
[2022-07-24 18:26:59.477363] INFO: AI: [ParallelEx(n_jobs=5)]: Done 5 out of 10 | elapsed: 26.2s remaining: 26.2s
[2022-07-24 18:26:59.480052] INFO: AI: [ParallelEx(n_jobs=5)]: Done 6 out of 10 | elapsed: 26.2s remaining: 17.5s
[2022-07-24 18:26:59.482027] INFO: AI: [ParallelEx(n_jobs=5)]: Done 7 out of 10 | elapsed: 26.2s remaining: 11.2s
[2022-07-24 18:26:59.483931] INFO: AI: [ParallelEx(n_jobs=5)]: Done 8 out of 10 | elapsed: 26.2s remaining: 6.6s
[2022-07-24 18:26:59.485876] INFO: AI: [ParallelEx(n_jobs=5)]: Done 10 out of 10 | elapsed: 26.2s remaining: 0.0s
[2022-07-24 18:26:59.876399] ERROR: moduleinvoker: module name: genetic_algorithm, module version: v1, trackeback: joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.
The exit codes of the workers are {SIGKILL(-9)}
---------------------------------------------------------------------------
TerminatedWorkerError Traceback (most recent call last)
<ipython-input-2-840b41fe4f1e> in <module>
38 )
39
---> 40 m1 = M.genetic_algorithm.v1(
41 instruments=m2.data,
42 feature_datas=m5.data,
TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.
The exit codes of the workers are {SIGKILL(-9)}