Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
R
robo-dividend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenwen.tang
robo-dividend
Commits
8a727166
Commit
8a727166
authored
Oct 11, 2024
by
吕先亚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态调整UARC
parent
7c7c9fc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
solver.py
portfolios/solver.py
+2
-0
No files found.
portfolios/solver.py
View file @
8a727166
...
...
@@ -351,6 +351,8 @@ class ARCSolver(DefaultSolver):
@
property
def
UARC
(
self
):
if
not
self
.
_config
.
get
(
'uarc-index'
):
return
self
.
_config
[
'UARC'
]
ecos
=
self
.
_datum
.
get_datums
(
ticker
=
[
'CPI YOY Index'
,
'FDTR Index'
])
cpi_id
=
[
data
[
'id'
]
for
data
in
ecos
if
data
[
'bloombergTicker'
]
==
'CPI YOY Index'
]
fdtr_id
=
[
data
[
'id'
]
for
data
in
ecos
if
data
[
'bloombergTicker'
]
==
'FDTR Index'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment