{"description":"实验创建于2017/8/26","graph":{"edges":[{"to_node_id":"-916:input_data","from_node_id":"-1218:data"},{"to_node_id":"-1218:instruments","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-8:data"}],"nodes":[{"node_id":"-916","module_id":"BigQuantSpace.auto_labeler_on_datasource.auto_labeler_on_datasource-v1","parameters":[{"name":"label_expr","value":"# #号开始的表示注释\n# 0. 每行一个,顺序执行,从第二个开始,可以使用label字段\n# 1. 可用数据字段见 https://bigquant.com/docs/develop/datasource/deprecated/history_data.html\n# 2. 可用操作符和函数见 `表达式引擎 <https://bigquant.com/docs/develop/bigexpr/usage.html>`_\n\n# 计算收益:5日收盘价(作为卖出价格)除以明日开盘价(作为买入价格)\nshift(nav, -5) / shift(nav, -1)\n\n# 极值处理:用1%和99%分位的值做clip\nclip(label, all_quantile(label, 0.01), all_quantile(label, 0.99))\n\n# 将分数映射到分类,这里使用20个分类\nall_wbins(label, 20)\n\n\n","type":"Literal","bound_global_parameter":null},{"name":"drop_na_label","value":"True","type":"Literal","bound_global_parameter":null},{"name":"cast_label_int","value":"True","type":"Literal","bound_global_parameter":null},{"name":"date_col","value":"date","type":"Literal","bound_global_parameter":null},{"name":"instrument_col","value":"instrument","type":"Literal","bound_global_parameter":null},{"name":"user_functions","value":"{}","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"input_data","node_id":"-916"}],"output_ports":[{"name":"data","node_id":"-916"}],"cacheable":true,"seq_num":2,"comment":"","comment_collapsed":true},{"node_id":"-1218","module_id":"BigQuantSpace.use_datasource.use_datasource-v2","parameters":[{"name":"datasource_id","value":"history_nav_CN_MUTFUND","type":"Literal","bound_global_parameter":null},{"name":"start_date","value":"2021-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2021-03-01","type":"Literal","bound_global_parameter":null},{"name":"before_start_days","value":"0","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"instruments","node_id":"-1218"},{"name":"features","node_id":"-1218"}],"output_ports":[{"name":"data","node_id":"-1218"}],"cacheable":true,"seq_num":1,"comment":"","comment_collapsed":true},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-8","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2021-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2021-03-01","type":"Literal","bound_global_parameter":null},{"name":"market","value":"CN_FUND","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":"287d2cb0-f53c-4101-bdf8-104b137c8601-8"}],"output_ports":[{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-8"}],"cacheable":true,"seq_num":3,"comment":"","comment_collapsed":true}],"node_layout":"<node_postions><node_position Node='-916' Position='841.0524291992188,99.78688049316406,200,200'/><node_position Node='-1218' Position='860,21,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-8' Position='886.43603515625,-59.96393585205078,200,200'/></node_postions>"},"nodes_readonly":false,"studio_version":"v2"}
[2022-09-09 18:15:41.400491] INFO: moduleinvoker: instruments.v2 开始运行..
[2022-09-09 18:15:41.406795] INFO: moduleinvoker: 命中缓存
[2022-09-09 18:15:41.408518] INFO: moduleinvoker: instruments.v2 运行完成[0.00802s].
[2022-09-09 18:15:41.413980] INFO: moduleinvoker: use_datasource.v2 开始运行..
[2022-09-09 18:15:41.419556] INFO: moduleinvoker: 命中缓存
[2022-09-09 18:15:41.421165] INFO: moduleinvoker: use_datasource.v2 运行完成[0.007187s].
[2022-09-09 18:15:41.428222] INFO: moduleinvoker: auto_labeler_on_datasource.v1 开始运行..
[2022-09-09 18:15:41.492490] INFO: 自动标注(任意数据源): 开始标注 ..
[2022-09-09 18:15:41.589921] INFO: moduleinvoker: auto_labeler_on_datasource.v1 运行完成[0.161659s].