Commit 8a727166 authored by 吕先亚's avatar 吕先亚

动态调整UARC

parent 7c7c9fc7
......@@ -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']
......
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