{"description":"实验创建于2017/8/26","graph":{"edges":[{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-15:instruments","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-8:data"},{"to_node_id":"-215:instruments","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-8:data"},{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-53:data1","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-15:data"},{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43:features","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24:data"},{"to_node_id":"-215:features","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24:data"},{"to_node_id":"-222:features","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24:data"},{"to_node_id":"-231:features","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24:data"},{"to_node_id":"-238:features","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24:data"},{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60:model","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43:model"},{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-84:input_data","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-53:data"},{"to_node_id":"-169:input_1","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60:predictions"},{"to_node_id":"-231:instruments","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-62:data"},{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43:training_ds","from_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-84:data"},{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60:data","from_node_id":"-86:data"},{"to_node_id":"-222:input_data","from_node_id":"-215:data"},{"to_node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-53:data2","from_node_id":"-222:data"},{"to_node_id":"-238:input_data","from_node_id":"-231:data"},{"to_node_id":"-86:input_data","from_node_id":"-238:data"},{"to_node_id":"-114:features","from_node_id":"-137:data"},{"to_node_id":"-114:user_factor_data","from_node_id":"-169:data_1"}],"nodes":[{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-8","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2010-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2015-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":"287d2cb0-f53c-4101-bdf8-104b137c8601-8"}],"output_ports":[{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-8"}],"cacheable":true,"seq_num":1,"comment":"","comment_collapsed":true},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-15","module_id":"BigQuantSpace.advanced_auto_labeler.advanced_auto_labeler-v2","parameters":[{"name":"label_expr","value":"# #号开始的表示注释\n# 0. 每行一个,顺序执行,从第二个开始,可以使用label字段\n# 1. 可用数据字段见 https://bigquant.com/docs/develop/datasource/deprecated/history_data.html\n# 添加benchmark_前缀,可使用对应的benchmark数据\n# 2. 可用操作符和函数见 `表达式引擎 <https://bigquant.com/docs/develop/bigexpr/usage.html>`_\n\n# 计算收益:5日收盘价(作为卖出价格)除以明日开盘价(作为买入价格)\nshift(close, -5) / shift(open, -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# 过滤掉一字涨停的情况 (设置label为NaN,在后续处理和训练中会忽略NaN的label)\nwhere(shift(high, -1) == shift(low, -1), NaN, label)\n","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},{"name":"benchmark","value":"000300.SHA","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":"user_functions","value":"","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"instruments","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-15"}],"output_ports":[{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-15"}],"cacheable":true,"seq_num":2,"comment":"","comment_collapsed":true},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"# #号开始的表示注释\n# 多个特征,每行一个,可以包含基础特征和衍生特征\nreturn_5\nreturn_10\nreturn_20\navg_amount_0/avg_amount_5\navg_amount_5/avg_amount_20\nrank_avg_amount_0/rank_avg_amount_5\nrank_avg_amount_5/rank_avg_amount_10\nrank_return_0\nrank_return_5\nrank_return_10\nrank_return_0/rank_return_5\nrank_return_5/rank_return_10\npe_ttm_0\n","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24"}],"output_ports":[{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-24"}],"cacheable":true,"seq_num":3,"comment":"","comment_collapsed":true},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43","module_id":"BigQuantSpace.stock_ranker_train.stock_ranker_train-v5","parameters":[{"name":"learning_algorithm","value":"排序","type":"Literal","bound_global_parameter":null},{"name":"number_of_leaves","value":30,"type":"Literal","bound_global_parameter":null},{"name":"minimum_docs_per_leaf","value":1000,"type":"Literal","bound_global_parameter":null},{"name":"number_of_trees","value":20,"type":"Literal","bound_global_parameter":null},{"name":"learning_rate","value":0.1,"type":"Literal","bound_global_parameter":null},{"name":"max_bins","value":1023,"type":"Literal","bound_global_parameter":null},{"name":"feature_fraction","value":1,"type":"Literal","bound_global_parameter":null},{"name":"m_lazy_run","value":"False","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"training_ds","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43"},{"name":"features","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43"},{"name":"test_ds","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43"},{"name":"base_model","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43"}],"output_ports":[{"name":"model","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43"},{"name":"feature_gains","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43"},{"name":"m_lazy_run","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-43"}],"cacheable":true,"seq_num":6,"comment":"","comment_collapsed":true},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-53","module_id":"BigQuantSpace.join.join-v3","parameters":[{"name":"on","value":"date,instrument","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":"287d2cb0-f53c-4101-bdf8-104b137c8601-53"},{"name":"data2","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-53"}],"output_ports":[{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-53"}],"cacheable":true,"seq_num":7,"comment":"","comment_collapsed":true},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60","module_id":"BigQuantSpace.stock_ranker_predict.stock_ranker_predict-v5","parameters":[{"name":"m_lazy_run","value":"False","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"model","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60"},{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60"}],"output_ports":[{"name":"predictions","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60"},{"name":"m_lazy_run","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-60"}],"cacheable":true,"seq_num":8,"comment":"","comment_collapsed":true},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-62","module_id":"BigQuantSpace.instruments.instruments-v2","parameters":[{"name":"start_date","value":"2015-01-01","type":"Literal","bound_global_parameter":"交易日期"},{"name":"end_date","value":"2017-01-01","type":"Literal","bound_global_parameter":"交易日期"},{"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":"287d2cb0-f53c-4101-bdf8-104b137c8601-62"}],"output_ports":[{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-62"}],"cacheable":true,"seq_num":9,"comment":"预测数据,用于回测和模拟","comment_collapsed":false},{"node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-84","module_id":"BigQuantSpace.dropnan.dropnan-v1","parameters":[],"input_ports":[{"name":"input_data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-84"}],"output_ports":[{"name":"data","node_id":"287d2cb0-f53c-4101-bdf8-104b137c8601-84"}],"cacheable":true,"seq_num":13,"comment":"","comment_collapsed":true},{"node_id":"-86","module_id":"BigQuantSpace.dropnan.dropnan-v1","parameters":[],"input_ports":[{"name":"input_data","node_id":"-86"}],"output_ports":[{"name":"data","node_id":"-86"}],"cacheable":true,"seq_num":14,"comment":"","comment_collapsed":true},{"node_id":"-215","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":"-215"},{"name":"features","node_id":"-215"}],"output_ports":[{"name":"data","node_id":"-215"}],"cacheable":true,"seq_num":15,"comment":"","comment_collapsed":true},{"node_id":"-222","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":"-222"},{"name":"features","node_id":"-222"}],"output_ports":[{"name":"data","node_id":"-222"}],"cacheable":true,"seq_num":16,"comment":"","comment_collapsed":true},{"node_id":"-231","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":"-231"},{"name":"features","node_id":"-231"}],"output_ports":[{"name":"data","node_id":"-231"}],"cacheable":true,"seq_num":17,"comment":"","comment_collapsed":true},{"node_id":"-238","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":"-238"},{"name":"features","node_id":"-238"}],"output_ports":[{"name":"data","node_id":"-238"}],"cacheable":true,"seq_num":18,"comment":"","comment_collapsed":true},{"node_id":"-114","module_id":"BigQuantSpace.factorlens.factorlens-v1","parameters":[{"name":"title","value":"因子分析: {factor_name}","type":"Literal","bound_global_parameter":null},{"name":"start_date","value":"2015-01-01","type":"Literal","bound_global_parameter":null},{"name":"end_date","value":"2017-01-01","type":"Literal","bound_global_parameter":null},{"name":"rebalance_period","value":"5","type":"Literal","bound_global_parameter":null},{"name":"delay_rebalance_days","value":0,"type":"Literal","bound_global_parameter":null},{"name":"rebalance_price","value":"close_0","type":"Literal","bound_global_parameter":null},{"name":"stock_pool","value":"全市场","type":"Literal","bound_global_parameter":null},{"name":"quantile_count","value":5,"type":"Literal","bound_global_parameter":null},{"name":"commission_rate","value":0.0016,"type":"Literal","bound_global_parameter":null},{"name":"returns_calculation_method","value":"累乘","type":"Literal","bound_global_parameter":null},{"name":"benchmark","value":"无","type":"Literal","bound_global_parameter":null},{"name":"drop_new_stocks","value":60,"type":"Literal","bound_global_parameter":null},{"name":"drop_price_limit_stocks","value":"False","type":"Literal","bound_global_parameter":null},{"name":"drop_st_stocks","value":"False","type":"Literal","bound_global_parameter":null},{"name":"drop_suspended_stocks","value":"False","type":"Literal","bound_global_parameter":null},{"name":"normalization","value":"False","type":"Literal","bound_global_parameter":null},{"name":"neutralization","value":"%7B%22enumItems%22%3A%5B%7B%22value%22%3A%22%E8%A1%8C%E4%B8%9A%22%2C%22displayValue%22%3A%22%E8%A1%8C%E4%B8%9A%22%2C%22selected%22%3Afalse%7D%2C%7B%22value%22%3A%22%E5%B8%82%E5%80%BC%22%2C%22displayValue%22%3A%22%E5%B8%82%E5%80%BC%22%2C%22selected%22%3Afalse%7D%5D%7D","type":"Literal","bound_global_parameter":null},{"name":"metrics","value":"%7B%22enumItems%22%3A%5B%7B%22value%22%3A%22%E5%9B%A0%E5%AD%90%E8%A1%A8%E7%8E%B0%E6%A6%82%E8%A7%88%22%2C%22displayValue%22%3A%22%E5%9B%A0%E5%AD%90%E8%A1%A8%E7%8E%B0%E6%A6%82%E8%A7%88%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E5%9B%A0%E5%AD%90%E5%88%86%E5%B8%83%22%2C%22displayValue%22%3A%22%E5%9B%A0%E5%AD%90%E5%88%86%E5%B8%83%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E5%9B%A0%E5%AD%90%E8%A1%8C%E4%B8%9A%E5%88%86%E5%B8%83%22%2C%22displayValue%22%3A%22%E5%9B%A0%E5%AD%90%E8%A1%8C%E4%B8%9A%E5%88%86%E5%B8%83%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E5%9B%A0%E5%AD%90%E5%B8%82%E5%80%BC%E5%88%86%E5%B8%83%22%2C%22displayValue%22%3A%22%E5%9B%A0%E5%AD%90%E5%B8%82%E5%80%BC%E5%88%86%E5%B8%83%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22IC%E5%88%86%E6%9E%90%22%2C%22displayValue%22%3A%22IC%E5%88%86%E6%9E%90%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E4%B9%B0%E5%85%A5%E4%BF%A1%E5%8F%B7%E9%87%8D%E5%90%88%E5%88%86%E6%9E%90%22%2C%22displayValue%22%3A%22%E4%B9%B0%E5%85%A5%E4%BF%A1%E5%8F%B7%E9%87%8D%E5%90%88%E5%88%86%E6%9E%90%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E5%9B%A0%E5%AD%90%E4%BC%B0%E5%80%BC%E5%88%86%E6%9E%90%22%2C%22displayValue%22%3A%22%E5%9B%A0%E5%AD%90%E4%BC%B0%E5%80%BC%E5%88%86%E6%9E%90%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E5%9B%A0%E5%AD%90%E6%8B%A5%E6%8C%A4%E5%BA%A6%E5%88%86%E6%9E%90%22%2C%22displayValue%22%3A%22%E5%9B%A0%E5%AD%90%E6%8B%A5%E6%8C%A4%E5%BA%A6%E5%88%86%E6%9E%90%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E5%9B%A0%E5%AD%90%E5%80%BC%E6%9C%80%E5%A4%A7%2F%E6%9C%80%E5%B0%8F%E8%82%A1%E7%A5%A8%22%2C%22displayValue%22%3A%22%E5%9B%A0%E5%AD%90%E5%80%BC%E6%9C%80%E5%A4%A7%2F%E6%9C%80%E5%B0%8F%E8%82%A1%E7%A5%A8%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%9B%A0%E5%AD%90%E5%80%BC%22%2C%22displayValue%22%3A%22%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%9B%A0%E5%AD%90%E5%80%BC%22%2C%22selected%22%3Atrue%7D%2C%7B%22value%22%3A%22%E5%A4%9A%E5%9B%A0%E5%AD%90%E7%9B%B8%E5%85%B3%E6%80%A7%E5%88%86%E6%9E%90%22%2C%22displayValue%22%3A%22%E5%A4%9A%E5%9B%A0%E5%AD%90%E7%9B%B8%E5%85%B3%E6%80%A7%E5%88%86%E6%9E%90%22%2C%22selected%22%3Atrue%7D%5D%7D","type":"Literal","bound_global_parameter":null},{"name":"factor_coverage","value":0.5,"type":"Literal","bound_global_parameter":null},{"name":"user_data_merge","value":"left","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features","node_id":"-114"},{"name":"user_factor_data","node_id":"-114"}],"output_ports":[{"name":"data","node_id":"-114"}],"cacheable":true,"seq_num":4,"comment":"","comment_collapsed":true},{"node_id":"-137","module_id":"BigQuantSpace.input_features.input_features-v1","parameters":[{"name":"features","value":"score","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"features_ds","node_id":"-137"}],"output_ports":[{"name":"data","node_id":"-137"}],"cacheable":true,"seq_num":5,"comment":"","comment_collapsed":true},{"node_id":"-169","module_id":"BigQuantSpace.cached.cached-v3","parameters":[{"name":"run","value":"# Python 代码入口函数,input_1/2/3 对应三个输入端,data_1/2/3 对应三个输出端\ndef bigquant_run(input_1, input_2, input_3):\n # 示例代码如下。在这里编写您的代码\n df = input_1.read() \n df['score'] = df['score'] * -1 \n data_1 = DataSource.write_df(df)\n return Outputs(data_1=data_1)","type":"Literal","bound_global_parameter":null},{"name":"post_run","value":"# 后处理函数,可选。输入是主函数的输出,可以在这里对数据做处理,或者返回更友好的outputs数据格式。此函数输出不会被缓存。\ndef bigquant_run(outputs):\n return outputs\n","type":"Literal","bound_global_parameter":null},{"name":"input_ports","value":"","type":"Literal","bound_global_parameter":null},{"name":"params","value":"{}","type":"Literal","bound_global_parameter":null},{"name":"output_ports","value":"","type":"Literal","bound_global_parameter":null}],"input_ports":[{"name":"input_1","node_id":"-169"},{"name":"input_2","node_id":"-169"},{"name":"input_3","node_id":"-169"}],"output_ports":[{"name":"data_1","node_id":"-169"},{"name":"data_2","node_id":"-169"},{"name":"data_3","node_id":"-169"}],"cacheable":true,"seq_num":10,"comment":"","comment_collapsed":true}],"node_layout":"<node_postions><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-8' Position='211,64,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-15' Position='70,183,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-24' Position='765,21,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-43' Position='623.2256469726562,495.3360595703125,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-53' Position='249,375,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-60' Position='763.1809692382812,574.7697143554688,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-62' Position='1074,127,200,200'/><node_position Node='287d2cb0-f53c-4101-bdf8-104b137c8601-84' Position='376,467,200,200'/><node_position Node='-86' Position='1078,418,200,200'/><node_position Node='-215' Position='381,188,200,200'/><node_position Node='-222' Position='385,280,200,200'/><node_position Node='-231' Position='1078,236,200,200'/><node_position Node='-238' Position='1081,327,200,200'/><node_position Node='-114' Position='703.1927490234375,767.6715087890625,200,200'/><node_position Node='-137' Position='427.0164794921875,613.9929428100586,200,200'/><node_position Node='-169' Position='916.6004638671875,637.9852905273438,200,200'/></node_postions>"},"nodes_readonly":false,"studio_version":"v2"}
[2021-08-18 20:37:31.731782] INFO: moduleinvoker: instruments.v2 开始运行..
[2021-08-18 20:37:31.738826] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.740156] INFO: moduleinvoker: instruments.v2 运行完成[0.008379s].
[2021-08-18 20:37:31.742823] INFO: moduleinvoker: advanced_auto_labeler.v2 开始运行..
[2021-08-18 20:37:31.748220] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.749385] INFO: moduleinvoker: advanced_auto_labeler.v2 运行完成[0.006564s].
[2021-08-18 20:37:31.751195] INFO: moduleinvoker: input_features.v1 开始运行..
[2021-08-18 20:37:31.756012] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.757138] INFO: moduleinvoker: input_features.v1 运行完成[0.005944s].
[2021-08-18 20:37:31.765185] INFO: moduleinvoker: general_feature_extractor.v7 开始运行..
[2021-08-18 20:37:31.769894] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.771084] INFO: moduleinvoker: general_feature_extractor.v7 运行完成[0.005903s].
[2021-08-18 20:37:31.773495] INFO: moduleinvoker: derived_feature_extractor.v3 开始运行..
[2021-08-18 20:37:31.778921] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.780128] INFO: moduleinvoker: derived_feature_extractor.v3 运行完成[0.006632s].
[2021-08-18 20:37:31.783157] INFO: moduleinvoker: join.v3 开始运行..
[2021-08-18 20:37:31.788208] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.789420] INFO: moduleinvoker: join.v3 运行完成[0.006264s].
[2021-08-18 20:37:31.791977] INFO: moduleinvoker: dropnan.v1 开始运行..
[2021-08-18 20:37:31.796513] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.797709] INFO: moduleinvoker: dropnan.v1 运行完成[0.005733s].
[2021-08-18 20:37:31.800273] INFO: moduleinvoker: stock_ranker_train.v5 开始运行..
[2021-08-18 20:37:31.806839] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.869973] INFO: moduleinvoker: stock_ranker_train.v5 运行完成[0.06969s].
[2021-08-18 20:37:31.872342] INFO: moduleinvoker: instruments.v2 开始运行..
[2021-08-18 20:37:31.878921] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.880093] INFO: moduleinvoker: instruments.v2 运行完成[0.007751s].
[2021-08-18 20:37:31.887176] INFO: moduleinvoker: general_feature_extractor.v7 开始运行..
[2021-08-18 20:37:31.894993] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.896155] INFO: moduleinvoker: general_feature_extractor.v7 运行完成[0.008983s].
[2021-08-18 20:37:31.898495] INFO: moduleinvoker: derived_feature_extractor.v3 开始运行..
[2021-08-18 20:37:31.905010] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.906152] INFO: moduleinvoker: derived_feature_extractor.v3 运行完成[0.007658s].
[2021-08-18 20:37:31.909053] INFO: moduleinvoker: dropnan.v1 开始运行..
[2021-08-18 20:37:31.918962] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.920219] INFO: moduleinvoker: dropnan.v1 运行完成[0.011168s].
[2021-08-18 20:37:31.929282] INFO: moduleinvoker: stock_ranker_predict.v5 开始运行..
[2021-08-18 20:37:31.937389] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:31.938731] INFO: moduleinvoker: stock_ranker_predict.v5 运行完成[0.009448s].
[2021-08-18 20:37:31.962493] INFO: moduleinvoker: cached.v3 开始运行..
[2021-08-18 20:37:33.184400] INFO: moduleinvoker: cached.v3 运行完成[1.221904s].
[2021-08-18 20:37:33.187226] INFO: moduleinvoker: input_features.v1 开始运行..
[2021-08-18 20:37:33.194484] INFO: moduleinvoker: 命中缓存
[2021-08-18 20:37:33.195760] INFO: moduleinvoker: input_features.v1 运行完成[0.008539s].
[2021-08-18 20:37:33.198740] INFO: moduleinvoker: factorlens.v1 开始运行..
[2021-08-18 20:37:33.598975] INFO: 因子分析: batch_process start
[2021-08-18 20:37:33.607241] INFO: 因子分析: load_instruments 2015-01-01, 2017-01-01
[2021-08-18 20:37:36.006671] INFO: 因子分析: load_instruments, 3042 rows.
[2021-08-18 20:37:36.008268] INFO: 因子分析: load_benchmark_data 2015-01-01, 2017-01-01
[2021-08-18 20:37:36.233168] INFO: 因子分析: load_benchmark_data, 1464 rows.
[2021-08-18 20:37:36.234722] INFO: 因子分析: StockPool.before_load_general_feature_data
[2021-08-18 20:37:36.235981] INFO: 因子分析: UserDataMerge.before_load_general_feature_data
[2021-08-18 20:37:36.237119] INFO: 因子分析: DropSTStocks.before_load_general_feature_data
[2021-08-18 20:37:36.238209] INFO: 因子分析: DropNewStocks.before_load_general_feature_data
[2021-08-18 20:37:36.239306] INFO: 因子分析: Neutralization.before_load_general_feature_data
[2021-08-18 20:37:36.240398] INFO: 因子分析: DelayRebalanceDays.before_load_general_feature_data
[2021-08-18 20:37:36.241508] INFO: 因子分析: RebalancePeriod.before_load_general_feature_data
[2021-08-18 20:37:36.242602] INFO: 因子分析: RebalancePrice.before_load_general_feature_data
[2021-08-18 20:37:36.243688] INFO: 因子分析: FactorCoverage.before_load_general_feature_data
[2021-08-18 20:37:36.244808] INFO: 因子分析: Industry.before_load_general_feature_data
[2021-08-18 20:37:36.245905] INFO: 因子分析: PBRatio.before_load_general_feature_data
[2021-08-18 20:37:36.247023] INFO: 因子分析: Turnover.before_load_general_feature_data
[2021-08-18 20:37:36.248119] INFO: 因子分析: MarketCap.before_load_general_feature_data
[2021-08-18 20:37:36.249250] INFO: 因子分析: load_general_feature_data, load data
[2021-08-18 20:38:01.938367] INFO: 因子分析: RebalancePeriod.after_load_general_feature_data
[2021-08-18 20:38:01.996508] INFO: 因子分析: RebalancePeriodsReturns.after_load_general_feature_data
[2021-08-18 20:38:19.827722] INFO: 因子分析: RebalancePrice.after_load_general_feature_data
[2021-08-18 20:38:19.829499] INFO: 因子分析: load_general_feature_data, 1781162 rows.
[2021-08-18 20:38:19.831435] INFO: 因子分析: load_derived_feature_data, 1781162 rows, 25 columns.
[2021-08-18 20:38:19.832583] INFO: 因子分析: process, score
[2021-08-18 20:38:19.833993] INFO: 因子分析: calculate_factor, score
[2021-08-18 20:38:20.181383] INFO: 因子分析: calculate_factor, done
[2021-08-18 20:38:20.352326] INFO: 因子分析: QuantileReturns.before_process
[2021-08-18 20:38:20.353775] INFO: 因子分析: IC.before_process
[2021-08-18 20:38:20.354907] INFO: 因子分析: BasicDescription.before_process
[2021-08-18 20:38:20.355952] INFO: 因子分析: Industry.before_process
[2021-08-18 20:38:20.356921] INFO: 因子分析: RebalanceOverlap.before_process
[2021-08-18 20:38:20.357871] INFO: 因子分析: PBRatio.before_process
[2021-08-18 20:38:20.358858] INFO: 因子分析: Turnover.before_process
[2021-08-18 20:38:20.359936] INFO: 因子分析: Stocks.before_process
[2021-08-18 20:38:20.360952] INFO: 因子分析: MarketCap.before_process
[2021-08-18 20:38:20.361905] INFO: 因子分析: FactorValue.before_process
[2021-08-18 20:38:20.362854] INFO: 因子分析: FactorPairwiseCorrelationMerged.before_process
[2021-08-18 20:38:20.378040] INFO: 因子分析: process metrics, start ..
[2021-08-18 20:38:20.669931] INFO: 因子分析: process, 1191671/1211244 rows ..
[2021-08-18 20:38:20.671505] INFO: 因子分析: BacktestInterval.process, 0.000s
[2021-08-18 20:38:20.672626] INFO: 因子分析: Benchmark.process, 0.000s
[2021-08-18 20:38:20.673604] INFO: 因子分析: StockPool.process, 0.000s
[2021-08-18 20:38:20.674565] INFO: 因子分析: UserDataMerge.process, 0.000s
[2021-08-18 20:38:20.675545] INFO: 因子分析: DropSTStocks.process, 0.000s
[2021-08-18 20:38:20.676518] INFO: 因子分析: DropPriceLimitStocks.process, 0.000s
[2021-08-18 20:38:20.677488] INFO: 因子分析: DropNewStocks.process, 0.000s
[2021-08-18 20:38:20.678435] INFO: 因子分析: DropSuspendedStocks.process, 0.000s
[2021-08-18 20:38:20.679441] INFO: 因子分析: QuantileCount.process, 0.000s
[2021-08-18 20:38:20.680497] INFO: 因子分析: CommissionRates.process, 0.000s
[2021-08-18 20:38:20.681452] INFO: 因子分析: Normalization.process, 0.000s
[2021-08-18 20:38:20.682431] INFO: 因子分析: Neutralization.process, 0.000s
[2021-08-18 20:38:20.683386] INFO: 因子分析: DelayRebalanceDays.process, 0.000s
[2021-08-18 20:38:43.025890] INFO: 因子分析: RebalancePeriod.process, 22.341s
[2021-08-18 20:38:43.027664] INFO: 因子分析: RebalancePeriodsReturns.process, 0.000s
[2021-08-18 20:38:43.028882] INFO: 因子分析: RebalancePrice.process, 0.000s
[2021-08-18 20:38:43.029960] INFO: 因子分析: ReturnsCalculationMethod.process, 0.000s
[2021-08-18 20:38:43.031029] INFO: 因子分析: FactorCoverage.process, 0.000s
[2021-08-18 20:38:43.102959] INFO: 因子分析: QuantileReturns.process, 0.071s
[2021-08-18 20:38:44.239167] INFO: 因子分析: IC.process, 1.135s
[2021-08-18 20:38:44.329934] INFO: 因子分析: BasicDescription.process, 0.089s
[2021-08-18 20:38:44.519505] INFO: 因子分析: Industry.process, 0.188s
[2021-08-18 20:38:44.754026] INFO: 因子分析: RebalanceOverlap.process, 0.233s
[2021-08-18 20:38:44.846966] INFO: 因子分析: PBRatio.process, 0.091s
[2021-08-18 20:38:44.902327] INFO: 因子分析: Turnover.process, 0.054s
[2021-08-18 20:38:44.920930] INFO: 因子分析: Stocks.process, 0.017s
[2021-08-18 20:38:45.093405] INFO: 因子分析: MarketCap.process, 0.171s
[2021-08-18 20:38:45.488294] INFO: 因子分析: FactorValue.process, 0.393s
[2021-08-18 20:38:45.561512] INFO: 因子分析: process metrics, 25.183s
[2021-08-18 20:38:45.601909] INFO: 因子分析: QuantileReturns.after_process
[2021-08-18 20:38:45.603375] INFO: 因子分析: IC.after_process
[2021-08-18 20:38:45.604662] INFO: 因子分析: BasicDescription.after_process
[2021-08-18 20:38:45.605655] INFO: 因子分析: Industry.after_process
[2021-08-18 20:38:45.606633] INFO: 因子分析: RebalanceOverlap.after_process
[2021-08-18 20:38:45.607624] INFO: 因子分析: PBRatio.after_process
[2021-08-18 20:38:45.608593] INFO: 因子分析: Turnover.after_process
[2021-08-18 20:38:45.609548] INFO: 因子分析: Stocks.after_process
[2021-08-18 20:38:45.610492] INFO: 因子分析: MarketCap.after_process
[2021-08-18 20:38:45.611436] INFO: 因子分析: FactorValue.after_process
[2021-08-18 20:38:45.612427] INFO: 因子分析: FactorPairwiseCorrelationMerged.after_process
[2021-08-18 20:38:45.613445] INFO: 因子分析: QuantileReturns.before_merged_process
[2021-08-18 20:38:45.614416] INFO: 因子分析: IC.before_merged_process
[2021-08-18 20:38:45.615367] INFO: 因子分析: BasicDescription.before_merged_process
[2021-08-18 20:38:45.616514] INFO: 因子分析: Industry.before_merged_process
[2021-08-18 20:38:45.617509] INFO: 因子分析: RebalanceOverlap.before_merged_process
[2021-08-18 20:38:45.618473] INFO: 因子分析: PBRatio.before_merged_process
[2021-08-18 20:38:45.619461] INFO: 因子分析: Turnover.before_merged_process
[2021-08-18 20:38:45.620439] INFO: 因子分析: Stocks.before_merged_process
[2021-08-18 20:38:45.621400] INFO: 因子分析: MarketCap.before_merged_process
[2021-08-18 20:38:45.622409] INFO: 因子分析: FactorValue.before_merged_process
[2021-08-18 20:38:45.623778] INFO: 因子分析: FactorPairwiseCorrelationMerged.before_merged_process
[2021-08-18 20:38:45.624811] INFO: 因子分析: QuantileReturns.after_merged_process
[2021-08-18 20:38:45.625790] INFO: 因子分析: IC.after_merged_process
[2021-08-18 20:38:45.626739] INFO: 因子分析: BasicDescription.after_merged_process
[2021-08-18 20:38:45.627695] INFO: 因子分析: Industry.after_merged_process
[2021-08-18 20:38:45.628666] INFO: 因子分析: RebalanceOverlap.after_merged_process
[2021-08-18 20:38:45.629620] INFO: 因子分析: PBRatio.after_merged_process
[2021-08-18 20:38:45.630732] INFO: 因子分析: Turnover.after_merged_process
[2021-08-18 20:38:45.631713] INFO: 因子分析: Stocks.after_merged_process
[2021-08-18 20:38:45.632658] INFO: 因子分析: MarketCap.after_merged_process
[2021-08-18 20:38:45.633599] INFO: 因子分析: FactorValue.after_merged_process
[2021-08-18 20:38:45.634557] INFO: 因子分析: FactorPairwiseCorrelationMerged.after_merged_process
[2021-08-18 20:38:45.640664] INFO: 因子分析: batch_process ended, 72.042s
[2021-08-18 20:38:46.616381] INFO: moduleinvoker: factorlens.v1 运行完成[73.417619s].
bigcharts-data-start/{"__type":"tabs","__id":"bigchart-7ec92696d783457989f76809a6d8c7cc"}/bigcharts-data-end
因子分析: score
{
"type": "factor-track",
"data": {
"exprs": ["score"],
"options": {"BacktestInterval": ["2015-01-01", "2017-01-01"], "Benchmark": "none", "StockPool": "all", "UserDataMerge": "left", "DropSTStocks": 0, "DropPriceLimitStocks": 0, "DropNewStocks": 60, "DropSuspendedStocks": 0, "QuantileCount": 5, "CommissionRates": 0.0016, "Normalization": 0, "Neutralization": "", "DelayRebalanceDays": 0, "RebalancePeriod": 5, "RebalancePeriodsReturns": 0, "RebalancePrice": "close_0", "ReturnsCalculationMethod": "cumprod", "FactorCoverage": 0.5, "_HASH": "3270205a6c3dafb775002de79fdd30a9"}
}
}
|
累计收益 |
近1年收益 |
近3月收益 |
近1月收益 |
近1周收益 |
昨日收益 |
最大回撤 |
盈亏比 |
胜率 |
夏普比率 |
收益波动率 |
最小分位 |
110.69% |
8.90% |
4.02% |
-4.65% |
-1.57% |
-0.55% |
56.56% |
0.77 |
0.61 |
0.95 |
50.04% |
最大分位 |
-19.38% |
-40.43% |
-7.62% |
-7.82% |
-1.55% |
-0.38% |
67.10% |
0.86 |
0.54 |
-0.09 |
45.90% |
多空组合 |
63.76% |
35.35% |
6.05% |
1.67% |
-0.01% |
-0.08% |
4.65% |
0.92 |
0.67 |
2.72 |
8.23% |
股票名称 |
股票代码 |
因子值 |
微光股份 |
002801.SZA |
-2.0411 |
今天国际 |
300532.SZA |
-1.9389 |
世名科技 |
300522.SZA |
-1.9127 |
科大国创 |
300520.SZA |
-1.8045 |
西藏城投 |
600773.SHA |
-1.7015 |
海虹控股 |
000503.SZA |
-1.6322 |
电光科技 |
002730.SZA |
-1.5762 |
和科达 |
002816.SZA |
-1.4915 |
巨龙管业 |
002619.SZA |
-1.3887 |
熊猫金控 |
600599.SHA |
-1.3643 |
昊志机电 |
300503.SZA |
-1.3521 |
川金诺 |
300505.SZA |
-1.3521 |
华源包装 |
002787.SZA |
-1.3351 |
华媒控股 |
000607.SZA |
-1.3291 |
鸿利智汇 |
300219.SZA |
-1.2995 |
新晨科技 |
300542.SZA |
-1.2842 |
天润曲轴 |
002283.SZA |
-1.2822 |
暴风集团 |
300431.SZA |
-1.2719 |
南山控股 |
002314.SZA |
-1.1047 |
ST慧球 |
600556.SHA |
-1.0780 |
股票名称 |
股票代码 |
因子值 |
蓝色光标 |
300058.SZA |
0.2567 |
建设机械 |
600984.SHA |
0.2607 |
广田集团 |
002482.SZA |
0.2670 |
小商品城 |
600415.SHA |
0.2738 |
中信重工 |
601608.SHA |
0.2839 |
元力股份 |
300174.SZA |
0.2852 |
四创电子 |
600990.SHA |
0.2935 |
冀凯股份 |
002691.SZA |
0.2947 |
巨力索具 |
002342.SZA |
0.2971 |
国投中鲁 |
600962.SHA |
0.3050 |
中钢天源 |
002057.SZA |
0.3050 |
中润资源 |
000506.SZA |
0.3510 |
英力特 |
000635.SZA |
0.3681 |
三钢闽光 |
002110.SZA |
0.3681 |
云南旅游 |
002059.SZA |
0.3784 |
*ST中发 |
600520.SHA |
0.3948 |
上峰水泥 |
000672.SZA |
0.4009 |
*ST舜船 |
002608.SZA |
0.4077 |
*ST黑豹 |
600760.SHA |
0.4231 |
柘中股份 |
002346.SZA |
0.4259 |