{"description":"实验创建于2020/2/14","graph":{"edges":[{"to_node_id":"-1283:features","from_node_id":"-117:data"},{"to_node_id":"-1283:factor_data","from_node_id":"-125:data"}],"nodes":[{"node_id":"-117","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2019-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2019-12-31","type":"Literal","bound_global_parameter":null},{"name":"market","value":"CN_STOCK_A","type":"Literal","bound_global_parameter":null},{"name":"instrument_list","value":"000725.SZA\n000100.SZA\n000063.SZA\n002465.SZA\n600031.SHA\n601766.SHA\n002456.SZA\n600703.SHA\n002023.SZA\n601989.SHA\n600522.SHA\n002463.SZA\n002236.SZA\n002384.SZA\n002129.SZA\n000977.SZA\n300274.SZA\n002475.SZA\n000425.SZA\n600104.SHA\n000338.SZA\n600435.SHA\n600487.SHA\n600499.SHA\n002415.SZA\n002202.SZA\n002340.SZA\n600118.SHA\n300014.SZA\n000157.SZA\n000625.SZA\n601012.SHA\n600879.SHA\n300433.SZA\n600438.SHA\n002185.SZA\n600183.SHA\n002008.SZA\n300266.SZA\n000988.SZA\n600406.SHA\n603185.SHA\n300123.SZA\n600089.SHA\n300408.SZA\n600316.SHA\n601138.SHA\n601058.SHA\n603712.SHA\n002531.SZA\n002600.SZA\n000066.SZA\n002544.SZA\n600884.SHA\n300316.SZA\n300171.SZA\n000547.SZA\n000050.SZA\n002594.SZA\n002179.SZA\n000768.SZA\n000901.SZA\n600584.SHA\n600875.SHA\n601877.SHA\n002025.SZA\n603019.SHA\n300390.SZA\n002414.SZA\n002241.SZA\n601633.SHA\n002056.SZA\n600660.SHA\n600460.SHA\n002074.SZA\n600741.SHA\n600150.SHA\n601100.SHA\n600482.SHA\n600418.SHA\n300008.SZA\n000519.SZA\n601727.SHA\n002353.SZA\n300382.SZA\n300124.SZA\n300450.SZA\n300207.SZA\n601179.SHA\n600372.SHA\n002850.SZA\n002625.SZA\n000887.SZA\n002938.SZA\n002152.SZA\n300114.SZA\n601231.SHA\n300001.SZA\n300073.SZA\n000818.SZA\n603678.SHA\n600893.SHA\n002138.SZA\n002935.SZA\n002049.SZA\n600765.SHA\n600760.SHA\n000800.SZA\n300750.SZA\n002371.SZA\n603986.SHA\n600745.SHA\n002444.SZA\n300024.SZA\n002430.SZA\n600862.SHA\n002459.SZA\n300593.SZA\n603596.SHA\n600038.SHA\n002156.SZA\n000738.SZA\n300726.SZA\n002268.SZA\n300308.SZA\n300034.SZA\n300376.SZA\n000733.SZA\n300373.SZA\n300724.SZA\n300118.SZA\n002916.SZA\n002028.SZA\n600732.SHA\n600456.SHA\n300568.SZA\n600562.SHA\n300037.SZA\n600885.SHA\n603026.SHA\n002487.SZA\n002389.SZA\n600517.SHA\n002189.SZA\n300395.SZA\n002747.SZA\n002097.SZA\n601238.SHA\n300455.SZA\n002709.SZA\n600699.SHA\n000682.SZA\n000821.SZA\n603160.SHA\n300065.SZA\n300358.SZA\n300438.SZA\n603501.SHA\n002920.SZA\n600563.SHA\n601966.SHA\n600184.SHA\n002829.SZA\n002698.SZA\n300423.SZA\n300223.SZA\n002851.SZA\n002180.SZA\n300699.SZA\n603659.SHA\n601799.SHA\n603338.SHA\n300628.SZA\n300397.SZA\n300581.SZA\n600764.SHA\n300604.SZA\n300751.SZA\n300276.SZA\n603806.SHA\n002812.SZA\n002906.SZA\n601689.SHA\n600990.SHA\n300474.SZA\n002841.SZA\n300696.SZA\n603218.SHA\n300661.SZA\n300516.SZA","type":"Literal","bound_global_parameter":null},{"name":"max_count","value":0,"type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"rolling_conf","node_id":"-117"}],"output_ports":[{"name":"data","node_id":"-117"}],"cacheable":true,"seq_num":4,"comment":"","comment_collapsed":true},{"node_id":"-125","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"\n# #号开始的表示注释,注释需单独一行\n# 多个特征,每行一个,可以包含基础特征和衍生特征,特征须为本平台特征\nmarket_cap_0\nreturn_6\nfs_roe_0\npe_ttm_0","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-125"}],"output_ports":[{"name":"data","node_id":"-125"}],"cacheable":true,"seq_num":5,"comment":"","comment_collapsed":true},{"node_id":"-1283","module_id":"BigQuantSpace.factorlens_custom.factorlens_custom-v3","parameters":[{"name":"start_date","value":"2019-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2019-12-31","type":"Literal","bound_global_parameter":null},{"name":"instrument_list","value":"000725.SZA\n000100.SZA\n000063.SZA\n002465.SZA\n600031.SHA\n601766.SHA\n002456.SZA\n600703.SHA\n002023.SZA\n601989.SHA\n600522.SHA\n002463.SZA\n002236.SZA\n002384.SZA\n002129.SZA\n000977.SZA\n300274.SZA\n002475.SZA\n000425.SZA\n600104.SHA\n000338.SZA\n600435.SHA\n600487.SHA\n600499.SHA\n002415.SZA\n002202.SZA\n002340.SZA\n600118.SHA\n300014.SZA\n000157.SZA\n000625.SZA\n601012.SHA\n600879.SHA\n300433.SZA\n600438.SHA\n002185.SZA\n600183.SHA\n002008.SZA\n300266.SZA\n000988.SZA\n600406.SHA\n603185.SHA\n300123.SZA\n600089.SHA\n300408.SZA\n600316.SHA\n601138.SHA\n601058.SHA\n603712.SHA\n002531.SZA\n002600.SZA\n000066.SZA\n002544.SZA\n600884.SHA\n300316.SZA\n300171.SZA\n000547.SZA\n000050.SZA\n002594.SZA\n002179.SZA\n000768.SZA\n000901.SZA\n600584.SHA\n600875.SHA\n601877.SHA\n002025.SZA\n603019.SHA\n300390.SZA\n002414.SZA\n002241.SZA\n601633.SHA\n002056.SZA\n600660.SHA\n600460.SHA\n002074.SZA\n600741.SHA\n600150.SHA\n601100.SHA\n600482.SHA\n600418.SHA\n300008.SZA\n000519.SZA\n601727.SHA\n002353.SZA\n300382.SZA\n300124.SZA\n300450.SZA\n300207.SZA\n601179.SHA\n600372.SHA\n002850.SZA\n002625.SZA\n000887.SZA\n002938.SZA\n002152.SZA\n300114.SZA\n601231.SHA\n300001.SZA\n300073.SZA\n000818.SZA\n603678.SHA\n600893.SHA\n002138.SZA\n002935.SZA\n002049.SZA\n600765.SHA\n600760.SHA\n000800.SZA\n300750.SZA\n002371.SZA\n603986.SHA\n600745.SHA\n002444.SZA\n300024.SZA\n002430.SZA\n600862.SHA\n002459.SZA\n300593.SZA\n603596.SHA\n600038.SHA\n002156.SZA\n000738.SZA\n300726.SZA\n002268.SZA\n300308.SZA\n300034.SZA\n300376.SZA\n000733.SZA\n300373.SZA\n300724.SZA\n300118.SZA\n002916.SZA\n002028.SZA\n600732.SHA\n600456.SHA\n300568.SZA\n600562.SHA\n300037.SZA\n600885.SHA\n603026.SHA\n002487.SZA\n002389.SZA\n600517.SHA\n002189.SZA\n300395.SZA\n002747.SZA\n002097.SZA\n601238.SHA\n300455.SZA\n002709.SZA\n600699.SHA\n000682.SZA\n000821.SZA\n603160.SHA\n300065.SZA\n300358.SZA\n300438.SZA\n603501.SHA\n002920.SZA\n600563.SHA\n601966.SHA\n600184.SHA\n002829.SZA\n002698.SZA\n300423.SZA\n300223.SZA\n002851.SZA\n002180.SZA\n300699.SZA\n603659.SHA\n601799.SHA\n603338.SHA\n300628.SZA\n300397.SZA\n300581.SZA\n600764.SHA\n300604.SZA\n300751.SZA\n300276.SZA\n603806.SHA\n002812.SZA\n002906.SZA\n601689.SHA\n600990.SHA\n300474.SZA\n002841.SZA\n300696.SZA\n603218.SHA\n300661.SZA\n300516.SZA","type":"Literal","bound_global_parameter":null},{"name":"market","value":"股票","type":"Literal","bound_global_parameter":null},{"name":"product_filter","value":"","type":"Literal","bound_global_parameter":null},{"name":"expr","value":"","type":"Literal","bound_global_parameter":null},{"name":"rebalance_period","value":22,"type":"Literal","bound_global_parameter":null},{"name":"quantile_num","value":5,"type":"Literal","bound_global_parameter":null},{"name":"buy_commission_rate","value":0.0005,"type":"Literal","bound_global_parameter":null},{"name":"sell_commission_rate","value":0.0005,"type":"Literal","bound_global_parameter":null},{"name":"ic_method","value":"Rank_IC","type":"Literal","bound_global_parameter":null},{"name":"is_winsorize","value":"True","type":"Literal","bound_global_parameter":null},{"name":"is_standardlize","value":"True","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features","node_id":"-1283"},{"name":"factor_data","node_id":"-1283"}],"output_ports":[{"name":"data_1","node_id":"-1283"},{"name":"data_2","node_id":"-1283"},{"name":"data_3","node_id":"-1283"}],"cacheable":true,"seq_num":2,"comment":"","comment_collapsed":true}],"node_layout":"<node_postions><node_position Node='-117' Position='18,29,200,200'/><node_position Node='-125' Position='338,26,200,200'/><node_position Node='-1283' Position='189,212,200,200'/></node_postions>"},"nodes_readonly":false,"studio_version":"v2"}
[2023-04-11 15:24:12.182640] INFO: moduleinvoker: instruments.v2 开始运行..
[2023-04-11 15:24:12.192424] INFO: moduleinvoker: 命中缓存
[2023-04-11 15:24:12.194463] INFO: moduleinvoker: instruments.v2 运行完成[0.011823s].
[2023-04-11 15:24:12.199254] INFO: moduleinvoker: input_features.v1 开始运行..
[2023-04-11 15:24:12.207702] INFO: moduleinvoker: 命中缓存
[2023-04-11 15:24:12.209886] INFO: moduleinvoker: input_features.v1 运行完成[0.010631s].
[2023-04-11 15:24:12.219897] INFO: moduleinvoker: factorlens_custom.v3 开始运行..
[2023-04-11 15:24:12.311944] ERROR: moduleinvoker: module name: factorlens_custom, module version: v3, trackeback: KeyError: 0
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-22-78e867e26dda> in <module>
210 )
211
--> 212 m2 = M.factorlens_custom.v3(
213 features=m4.data,
214 factor_data=m5.data,
KeyError: 0