跳至主要内容

工具

共 28 個 @Tool,全部定義在 tool/TWStockTool.kt(類別名為 TWStock)。

所有工具都受 client 端過濾慣例 約束——TWSE 端點一律回傳全市場資料,代號過濾在程式內做。

公司資訊​

工具說明
getCompanyBasicInfo公司基本資料
getCompanyAnnouncements重大訊息公告
getCompanyDailyAnnouncements每日重大訊息
getCompanyMonthlyRevenue月營收
getCompanyDividendInfo股利分派
getCompanyFinancialData財務資料
getCompanyIncomeStatement損益表
getCompanyBalanceSheet銀行業資產負債表

ESG 資訊​

工具說明
getCompanyESGSustainabilityReport永續報告書
getCompanyESGFunctionalCommittee功能性委員會
getCompanyESGSupplyChain供應鏈管理
getCompanyESGRiskManagement風險管理
getCompanyESGOtherInfo其他 ESG 揭露

市場行情​

工具說明
getMarketIndices大盤指數
getIndices5MinHistory5 分鐘指數(歷史)
getIndices5MinRealtime5 分鐘指數(即時)
getStockDailyInfo個股每日成交資訊
getStockDailyAverage個股每日均價
getTop48StocksInfo熱門前 48 檔個股
getETFRankingETF 排行
getStockValuationRatios估值指標(本益比、殖利率等)

信用交易與外資​

工具說明
getMarginTradingBalance融資融券餘額
getMarginBuyingBalance融資買進餘額
getShortSellingBalance融券賣出餘額
getQFIICategories外資持股類別
getTop20InvestorHoldingsSummary外資前 20 大持股

市場動態​

工具說明
getNewsList新聞列表
getEventList市場事件列表