You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# /jaqs/data/dataapi/data_api.py
def _convert_quote_ind(self, quote_ind):
"""Convert original quote_ind to a map.
The original quote_ind contains field index instead of field name!
"""
if quote_ind['schema_id'] != self._schema_id:
return None
indicators = quote_ind['indicators']
values = quote_ind['values']
max_index = len(self._schema)
quote = {}
for i in range(len(indicators)):
if indicators[i] < max_index: # 此处应改为小于等于 <=
quote[self._schema_map[indicators[i]]['name']] = values[i]
else:
quote[str(indicators[i])] = values[i]
return quote
以下有几个问题,望关注,谢谢!
接上一个问题, 用quote接口也是获取不到vwap字段的。这个字段在dataserver中好像是被注释掉了,有什么特别的原因吗?(DataCore/dataserver/server/src/main/scala/org/quantos/jads/services/jsq/QueryActor.scala)
另外,行情中也没有包含基金的iopv字段(文档中有写),在dataserver中的行情查询和推送流程中也没有看到iopv。
The text was updated successfully, but these errors were encountered: