Skip to content

Commit 1514b9e

Browse files
committed
Merge branch 'feature_industry' into 'dev'
Feature industry See merge request !52
2 parents d380f96 + 73ae960 commit 1514b9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tigeropen/examples/quote_client_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ def get_fundamental():
110110

111111
# 行业数据
112112
# 获取行业列表
113-
industries = quote_client.get_industry_list(IndustryLevel.GGROUP)
113+
industries = openapi_client.get_industry_list(IndustryLevel.GGROUP)
114114
print(industries)
115115
# 获取某行业下公司列表
116-
industry_stocks = quote_client.get_industry_stocks(50101020)
116+
industry_stocks = openapi_client.get_industry_stocks(50101020)
117117
print(industry_stocks)
118118
# 获取某股票的行业
119-
stock_industry = quote_client.get_stock_industry('AAPL', Market.US)
119+
stock_industry = openapi_client.get_stock_industry('AAPL', Market.US)
120120
print(stock_industry)
121121

122122

0 commit comments

Comments
 (0)