Commit 771804b0 authored by Dr.李's avatar Dr.李

fixed type issue

parent df333762
......@@ -35,7 +35,7 @@ def cross_section_analysis(ref_date,
constraints = LinearConstraints(linear_bounds, total_risk_exp)
er = total_data[factor_name].values
er = total_data[factor_name].values.astype(float)
industry = total_data.industry_name.values
target_pos, _ = er_portfolio_analysis(er,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment