使用 Bloomberg API for Python,您如何获得基金代码的历史资产管理规模?

Using the Bloomberg API for Python, how do you get the historical AUM for a fund's ticker?

我目前在我的机器上安装了用于 C++ 的 Bloomberg API 和 Python。我已经编写了使用以下代码获取股票历史收盘价的代码:

import tia.bbg.datamgr as dm
import pandas as pd

mgr = dm.BbgDataManager()
sids = mgr['GOOG']
df = sids.get_historical('PX_LAST', '12/1/2005', datetime.today())

谁能告诉我如何获取给定代码的历史资产管理规模?

您可以将字段 FUND_TOTAL_ASSETS 与您所需的资金一起使用,例如MABAX US Equity。它的工作原理与 PX_LAST 对股权证券的作用相同。