{"description":"实验创建于2023/3/1","graph":{"edges":[{"to_node_id":"-1060:instruments","from_node_id":"-1047:data"},{"to_node_id":"-1060:features","from_node_id":"-1055:data"},{"to_node_id":"-1067:features","from_node_id":"-1055:data"},{"to_node_id":"-1067:input_data","from_node_id":"-1060:data"}],"nodes":[{"node_id":"-1047","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2023-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2023-03-01","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":"-1047"}],"output_ports":[{"name":"data","node_id":"-1047"}],"cacheable":true,"seq_num":1,"comment":"","comment_collapsed":true},{"node_id":"-1055","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"amount_zf=amount_0/amount_1\n#是否异动,成交量翻倍,涨幅超过5%\nyidong=where((amount_zf>2)&(return_0>1.05),1,0)\n\n#获取最近10天内的出现异动是哪一天\nyidong_day=ts_argmax(yidong, 10)\n\n#获取异动那天的开盘价,取值方式一\nyidong_open=shift(open_0,yidong_day)\n#报错信息: cannot convert the series to <class 'int'>\n\n#获取异动那天的开盘价,取值方式二\nyidong_open_1=shift(open_0,floor(yidong_day))\n#报错信息:only size-1 arrays can be converted to Python scalars","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-1055"}],"output_ports":[{"name":"data","node_id":"-1055"}],"cacheable":true,"seq_num":2,"comment":"","comment_collapsed":true},{"node_id":"-1060","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":"-1060"},{"name":"features","node_id":"-1060"}],"output_ports":[{"name":"data","node_id":"-1060"}],"cacheable":true,"seq_num":3,"comment":"","comment_collapsed":true},{"node_id":"-1067","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":"-1067"},{"name":"features","node_id":"-1067"}],"output_ports":[{"name":"data","node_id":"-1067"}],"cacheable":true,"seq_num":4,"comment":"","comment_collapsed":true}],"node_layout":"<node_postions><node_position Node='-1047' Position='52,136,200,200'/><node_position Node='-1055' Position='375,284.5856018066406,200,200'/><node_position Node='-1060' Position='213,254,200,200'/><node_position Node='-1067' Position='224,377,200,200'/></node_postions>"},"nodes_readonly":false,"studio_version":"v2"}
[2023-03-01 09:57:39.195361] INFO: moduleinvoker: instruments.v2 开始运行..
[2023-03-01 09:57:39.273323] INFO: moduleinvoker: instruments.v2 运行完成[0.077958s].
[2023-03-01 09:57:39.280705] INFO: moduleinvoker: input_features.v1 开始运行..
[2023-03-01 09:57:39.309567] INFO: moduleinvoker: input_features.v1 运行完成[0.028861s].
[2023-03-01 09:57:39.328550] INFO: moduleinvoker: general_feature_extractor.v7 开始运行..
[2023-03-01 09:57:40.207463] INFO: 基础特征抽取: 年份 2022, 特征行数=299536
[2023-03-01 09:57:40.525070] INFO: 基础特征抽取: 年份 2023, 特征行数=182613
[2023-03-01 09:57:40.593417] INFO: 基础特征抽取: 总行数: 482149
[2023-03-01 09:57:40.599512] INFO: moduleinvoker: general_feature_extractor.v7 运行完成[1.270973s].
[2023-03-01 09:57:40.616382] INFO: moduleinvoker: derived_feature_extractor.v3 开始运行..
[2023-03-01 09:57:41.781912] INFO: derived_feature_extractor: 提取完成 amount_zf=amount_0/amount_1, 0.004s
[2023-03-01 09:57:41.789530] INFO: derived_feature_extractor: 提取完成 yidong=where((amount_zf>2)&(return_0>1.05),1,0), 0.006s
[2023-03-01 09:57:44.085127] INFO: derived_feature_extractor: 提取完成 yidong_day=ts_argmax(yidong, 10), 2.294s
[2023-03-01 09:57:44.139508] INFO: derived_feature_extractor: 提取失败 yidong_open=shift(open_0,yidong_day): cannot convert the series to
[2023-03-01 09:57:44.187739] INFO: derived_feature_extractor: 提取失败 yidong_open_1=shift(open_0,floor(yidong_day)): only size-1 arrays can be converted to Python scalars
[2023-03-01 09:57:44.888886] INFO: derived_feature_extractor: /y_2022, 299536
[2023-03-01 09:57:45.327590] INFO: derived_feature_extractor: /y_2023, 182613
[2023-03-01 09:57:45.507618] INFO: moduleinvoker: derived_feature_extractor.v3 运行完成[4.891227s].