作业1
def get_avg_days_high(name,howlong):
w=attribute_history(security=name, count=howlong,unit='1d' , fields='high',)
print w
print get_avg_days_high('000977.XSHE',5)
作业2
r=query(valuation.code).order_by(valuation.circulating_market_cap.desc()).limit(5)
w=get_fundamentals(r)
print(list(w.code))
2019-01-07