{"description":"实验创建于2019/1/21","graph":{"edges":[{"to_node_id":"-228:input_data","from_node_id":"-106:data"},{"to_node_id":"-204:features","from_node_id":"-131:data"},{"to_node_id":"-266:columns_ds","from_node_id":"-131:data"},{"to_node_id":"-106:features","from_node_id":"-150:data"},{"to_node_id":"-242:columns_ds","from_node_id":"-150:data"},{"to_node_id":"-204:instruments","from_node_id":"-154:data"},{"to_node_id":"-106:instruments","from_node_id":"-184:data"},{"to_node_id":"-528:input_data","from_node_id":"-197:data"},{"to_node_id":"-248:input_data","from_node_id":"-204:data"},{"to_node_id":"-242:input_ds","from_node_id":"-228:data"},{"to_node_id":"-197:data1","from_node_id":"-242:data"},{"to_node_id":"-266:input_ds","from_node_id":"-248:data"},{"to_node_id":"-248:features","from_node_id":"-256:data"},{"to_node_id":"-197:data2","from_node_id":"-266:data"},{"to_node_id":"-228:features","from_node_id":"-271:data"},{"to_node_id":"-528:features","from_node_id":"-546:data"}],"nodes":[{"node_id":"-106","module_id":"BigQuantSpace.use_datasource.use_datasource-v1","parameters":[{"name":"datasource_id","value":"bar1d_index_CN_STOCK_A","type":"Literal","bound_global_parameter":null},{"name":"start_date","value":"2015-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2018-01-01","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"instruments","node_id":"-106"},{"name":"features","node_id":"-106"}],"output_ports":[{"name":"data","node_id":"-106"}],"cacheable":false,"seq_num":1,"comment":"bar1d_index_CN_STOCK_A表中抽取指数close数据","comment_collapsed":false},{"node_id":"-131","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"\n# #号开始的表示注释,注释需单独一行\n# 多个特征,每行一个,可以包含基础特征和衍生特征,特征须为本平台特征\nclose\nopen\nlow\nhigh\nadjust_factor","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-131"}],"output_ports":[{"name":"data","node_id":"-131"}],"cacheable":true,"seq_num":5,"comment":"","comment_collapsed":true},{"node_id":"-150","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"\n# #号开始的表示注释,注释需单独一行\n# 多个特征,每行一个,可以包含基础特征和衍生特征,特征须为本平台特征\nclose\ninstrument\n\n","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-150"}],"output_ports":[{"name":"data","node_id":"-150"}],"cacheable":true,"seq_num":3,"comment":"","comment_collapsed":true},{"node_id":"-154","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2015-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2018-01-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":"-154"}],"output_ports":[{"name":"data","node_id":"-154"}],"cacheable":true,"seq_num":6,"comment":"","comment_collapsed":true},{"node_id":"-184","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2015-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2018-01-01","type":"Literal","bound_global_parameter":null},{"name":"market","value":"CN_STOCK_A","type":"Literal","bound_global_parameter":null},{"name":"instrument_list","value":"000300.HIX","type":"Literal","bound_global_parameter":null},{"name":"max_count","value":0,"type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"rolling_conf","node_id":"-184"}],"output_ports":[{"name":"data","node_id":"-184"}],"cacheable":true,"seq_num":2,"comment":"","comment_collapsed":true},{"node_id":"-197","module_id":"BigQuantSpace.join.join-v3","parameters":[{"name":"on","value":"date","type":"Literal","bound_global_parameter":null},{"name":"how","value":"inner","type":"Literal","bound_global_parameter":null},{"name":"sort","value":"False","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"data1","node_id":"-197"},{"name":"data2","node_id":"-197"}],"output_ports":[{"name":"data","node_id":"-197"}],"cacheable":true,"seq_num":8,"comment":"合并股票真实价格和大盘5日收益率","comment_collapsed":false},{"node_id":"-204","module_id":"BigQuantSpace.use_datasource.use_datasource-v1","parameters":[{"name":"datasource_id","value":"bar1d_CN_STOCK_A","type":"Literal","bound_global_parameter":null},{"name":"start_date","value":"","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"instruments","node_id":"-204"},{"name":"features","node_id":"-204"}],"output_ports":[{"name":"data","node_id":"-204"}],"cacheable":true,"seq_num":4,"comment":"bar1d_CN_STOCK_A表中抽取全市场股票的基础行情数据","comment_collapsed":false},{"node_id":"-228","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":"-228"},{"name":"features","node_id":"-228"}],"output_ports":[{"name":"data","node_id":"-228"}],"cacheable":true,"seq_num":7,"comment":"计算指数5日收益率","comment_collapsed":false},{"node_id":"-242","module_id":"BigQuantSpace.select_columns.select_columns-v3","parameters":[{"name":"columns","value":"instrument,close","type":"Literal","bound_global_parameter":null},{"name":"reverse_select","value":"True","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"input_ds","node_id":"-242"},{"name":"columns_ds","node_id":"-242"}],"output_ports":[{"name":"data","node_id":"-242"}],"cacheable":true,"seq_num":9,"comment":"过滤指定的列","comment_collapsed":false},{"node_id":"-248","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":"-248"},{"name":"features","node_id":"-248"}],"output_ports":[{"name":"data","node_id":"-248"}],"cacheable":true,"seq_num":11,"comment":"抽取真实价格","comment_collapsed":false},{"node_id":"-256","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"\n# #号开始的表示注释,注释需单独一行\n# 多个特征,每行一个,可以包含基础特征和衍生特征,特征须为本平台特征\nstockret=close/shift(close,5)-1","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-256"}],"output_ports":[{"name":"data","node_id":"-256"}],"cacheable":true,"seq_num":12,"comment":"表达式引擎计算个股过去5日收益率","comment_collapsed":false},{"node_id":"-266","module_id":"BigQuantSpace.select_columns.select_columns-v3","parameters":[{"name":"columns","value":"","type":"Literal","bound_global_parameter":null},{"name":"reverse_select","value":"True","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"input_ds","node_id":"-266"},{"name":"columns_ds","node_id":"-266"}],"output_ports":[{"name":"data","node_id":"-266"}],"cacheable":true,"seq_num":14,"comment":"过滤指定的列","comment_collapsed":false},{"node_id":"-271","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"\n# #号开始的表示注释,注释需单独一行\n# 多个特征,每行一个,可以包含基础特征和衍生特征,特征须为本平台特征\nbmret=close/shift(close,5)-1\n","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-271"}],"output_ports":[{"name":"data","node_id":"-271"}],"cacheable":true,"seq_num":15,"comment":"表达式引擎因子计算5日收益率","comment_collapsed":false},{"node_id":"-528","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":"-528"},{"name":"features","node_id":"-528"}],"output_ports":[{"name":"data","node_id":"-528"}],"cacheable":true,"seq_num":17,"comment":"抽取相对收益率","comment_collapsed":false},{"node_id":"-546","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"\n# #号开始的表示注释,注释需单独一行\n# 多个特征,每行一个,可以包含基础特征和衍生特征,特征须为本平台特征\nrelative_ret=stockret-bmret","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-546"}],"output_ports":[{"name":"data","node_id":"-546"}],"cacheable":true,"seq_num":18,"comment":"","comment_collapsed":true}],"node_layout":"<node_postions><node_position Node='-106' Position='-750,91,200,200'/><node_position Node='-131' Position='96,-6,200,200'/><node_position Node='-150' Position='-558,-17,200,200'/><node_position Node='-154' Position='-248,-14,200,200'/><node_position Node='-184' Position='-900,-15,200,200'/><node_position Node='-197' Position='-180,467,200,200'/><node_position Node='-204' Position='-99,110,200,200'/><node_position Node='-228' Position='-579.5868225097656,243.1961669921875,200,200'/><node_position Node='-242' Position='-492.19964599609375,350.19793701171875,200,200'/><node_position Node='-248' Position='38,227,200,200'/><node_position Node='-256' Position='202,109,200,200'/><node_position Node='-266' Position='187,339,200,200'/><node_position Node='-271' Position='-426,130,200,200'/><node_position Node='-528' Position='-38,589,200,200'/><node_position Node='-546' Position='131,505,200,200'/></node_postions>"},"nodes_readonly":false,"studio_version":"v2"}
[2021-11-25 18:46:33.677934] INFO: moduleinvoker: input_features.v1 开始运行..
[2021-11-25 18:46:33.693524] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:33.696499] INFO: moduleinvoker: input_features.v1 运行完成[0.018628s].
[2021-11-25 18:46:33.704076] INFO: moduleinvoker: input_features.v1 开始运行..
[2021-11-25 18:46:33.714662] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:33.717050] INFO: moduleinvoker: input_features.v1 运行完成[0.013001s].
[2021-11-25 18:46:33.723686] INFO: moduleinvoker: instruments.v2 开始运行..
[2021-11-25 18:46:33.730666] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:33.732720] INFO: moduleinvoker: instruments.v2 运行完成[0.009022s].
[2021-11-25 18:46:33.739711] INFO: moduleinvoker: use_datasource.v1 开始运行..
[2021-11-25 18:46:33.753617] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:33.757001] INFO: moduleinvoker: use_datasource.v1 运行完成[0.017287s].
[2021-11-25 18:46:33.767783] INFO: moduleinvoker: instruments.v2 开始运行..
[2021-11-25 18:46:33.786486] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:33.789918] INFO: moduleinvoker: instruments.v2 运行完成[0.022124s].
[2021-11-25 18:46:33.797769] INFO: moduleinvoker: use_datasource.v1 开始运行..
[2021-11-25 18:46:34.111979] INFO: moduleinvoker: use_datasource.v1 运行完成[0.314222s].
[2021-11-25 18:46:34.119626] INFO: moduleinvoker: input_features.v1 开始运行..
[2021-11-25 18:46:34.126652] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:34.141030] INFO: moduleinvoker: input_features.v1 运行完成[0.021388s].
[2021-11-25 18:46:34.183340] INFO: moduleinvoker: derived_feature_extractor.v3 开始运行..
[2021-11-25 18:46:34.202397] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:34.204883] INFO: moduleinvoker: derived_feature_extractor.v3 运行完成[0.021544s].
[2021-11-25 18:46:34.220439] INFO: moduleinvoker: select_columns.v3 开始运行..
[2021-11-25 18:46:34.228562] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:34.230467] INFO: moduleinvoker: select_columns.v3 运行完成[0.010042s].
[2021-11-25 18:46:34.236021] INFO: moduleinvoker: input_features.v1 开始运行..
[2021-11-25 18:46:34.248462] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:34.250463] INFO: moduleinvoker: input_features.v1 运行完成[0.014465s].
[2021-11-25 18:46:34.263481] INFO: moduleinvoker: derived_feature_extractor.v3 开始运行..
[2021-11-25 18:46:34.366004] INFO: derived_feature_extractor: 提取完成 bmret=close/shift(close,5)-1, 0.005s
[2021-11-25 18:46:34.464324] INFO: derived_feature_extractor: /data, 732
[2021-11-25 18:46:34.555130] INFO: moduleinvoker: derived_feature_extractor.v3 运行完成[0.291637s].
[2021-11-25 18:46:34.586130] INFO: moduleinvoker: select_columns.v3 开始运行..
[2021-11-25 18:46:34.775770] INFO: moduleinvoker: select_columns.v3 运行完成[0.189641s].
[2021-11-25 18:46:34.809169] INFO: moduleinvoker: join.v3 开始运行..
[2021-11-25 18:46:42.268237] INFO: join: /data, 行数=2169374/2169374, 耗时=7.347688s
[2021-11-25 18:46:42.362513] INFO: join: 最终行数: 2169374
[2021-11-25 18:46:42.376741] INFO: moduleinvoker: join.v3 运行完成[7.567565s].
[2021-11-25 18:46:42.389417] INFO: moduleinvoker: input_features.v1 开始运行..
[2021-11-25 18:46:42.401646] INFO: moduleinvoker: 命中缓存
[2021-11-25 18:46:42.404571] INFO: moduleinvoker: input_features.v1 运行完成[0.015173s].
[2021-11-25 18:46:42.418038] INFO: moduleinvoker: derived_feature_extractor.v3 开始运行..
[2021-11-25 18:46:49.442317] INFO: derived_feature_extractor: 提取完成 relative_ret=stockret-bmret, 0.011s
[2021-11-25 18:46:55.796149] INFO: derived_feature_extractor: /data, 2169374
[2021-11-25 18:46:56.556881] INFO: moduleinvoker: derived_feature_extractor.v3 运行完成[14.138824s].
列: ['instrument', 'close', 'close', 'instrument']
/data: 732