檔案:https://www.joinquant.com/help/api/help#api:API檔案
資料獲取介面
https://www.joinquant.com/help/api/help#api:獲取資料函式

篩選
# 選出所有的總市值大于1000億元, 市盈率小于10, 營業總收入大于200億元的股票
df = get_fundamentals(query(
valuation.code, valuation.market_cap, valuation.pe_ratio, income.total_operating_revenue
).filter(
valuation.market_cap > 100,
valuation.pe_ratio < 10,
income.total_operating_revenue > 2e10
).order_by(
# 按市值降序排列
valuation.market_cap.desc()
).limit(
# 最多回傳100個
100
), date='2021-06-10')
for i in df["code"]:
aa = get_security_info(i).display_name
print(aa)


可以在線撰寫代碼和查看策略回測
研究環境可以直接在jupyter notebook環境
策略串列可以寫策略然后進行回測查看效果


轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/287323.html
標籤:其他
下一篇:php反序列化學習筆記5
