Commit 7e33bbc2 authored by wenwen.tang's avatar wenwen.tang 😕

add tips

parent dfc774fb
......@@ -60,6 +60,7 @@ class MptPortfoliosBuilder(PortfoliosBuilder):
solver = self._factory.create_solver(risk, type)
navs_group = solver.reset_navs(day)
# todo 临时替换比重数据
if not solver.get_config("fixed-ratio"):
ratio_list = self.get_ratio(day)
solver.set_transfer_type(ratio_list)
for category, navs in navs_group.items():
......
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