Skip to content

Commit

Permalink
Update component.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean authored Jul 18, 2023
1 parent 72bb29a commit 36c563b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absbox/local/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ def readPricingResult(x, locale) -> dict:
return None
h = None

tag = query(x, [S.MVALS, S.ALL, "tag"])[0]
tag = list(x.values())[0]["tag"]
if tag == "PriceResult":
h = {"cn": ["估值", "票面估值", "WAL", "久期", "凸性", "应计利息"],
"en": ["pricing", "face", "WAL", "duration", "convexity", "accure interest"]}
Expand Down

0 comments on commit 36c563b

Please sign in to comment.