Versions in this module Expand all Collapse all v0 v0.0.3 Jul 17, 2026 Changes in this version + const DefaultBaseURL + type AdjustmentFactorData struct + DividendPerShare float64 + ExDateMs int64 + PerShareBonus float64 + Ticker string + type AdjustmentFactorsRequest struct + From string + THSCode string + To string + func (r *AdjustmentFactorsRequest) URLQuery() (values url.Values, err error) + type AdjustmentFactorsResponse struct + Item []AdjustmentFactorData + THSCode string + Ticker string + type AnomalyAnalysisData struct + AnalysisContent string + KeywordList []string + StockName string + THSCode string + TagName string + type AnomalyAnalysisListRequest struct + TagCodes []string + func (r *AnomalyAnalysisListRequest) URLQuery() (values url.Values, err error) + type AnomalyAnalysisResponse struct + Item []AnomalyAnalysisData + Timestamp int64 + type AnomalyAnalysisStockRequest struct + THSCodes []string + func (r *AnomalyAnalysisStockRequest) URLQuery() (values url.Values, err error) + type ApiResponse struct + Code int64 + Data T + Message string + RequestId string + type BalanceSheetData struct + AccountsReceivable *float64 + AssetsTotal *float64 + Cash *float64 + HolderEquityTotal *float64 + NonCurrentNetsTotal *float64 + TotalCurrentAssets *float64 + TotalDebt *float64 + type BalanceSheetsResponse struct + Item []BalanceSheetData + Timestamp int64 + type CalendarTradingDaysData struct + Date string + DateMs int64 + type CalendarTradingDaysResponse struct + Item []CalendarTradingDaysData + Timestamp int64 + type CashFlowStatementData struct + ActCashFlowNet *float64 + CashEquivalentsNetAddition *float64 + FinancingCashFlowNet *float64 + InvestCashFlowNet *float64 + PayDividendsProfitsInterestCash *float64 + PayFixedAssetsEtcCash *float64 + type CashFlowStatementsResponse struct + Item []CashFlowStatementData + Timestamp int64 + type DragonTigerConceptData struct + Name string + type DragonTigerHotMoney struct + Buying float64 + Name string + Rows []DragonTigerStockData + type DragonTigerListRequest struct + BoardType string + Date string + func (r *DragonTigerListRequest) URLQuery() (values url.Values, err error) + type DragonTigerListResponse struct + BoardType string + Count int64 + HotMoneyItems []DragonTigerHotMoney + StockCount int64 + StockItems []DragonTigerStockData + Timestamp int64 + TradeDate string + type DragonTigerStockData struct + Amount *float64 + BuyValue float64 + Change float64 + ConceptList []DragonTigerConceptData + HotMoneyItemNetRate *float64 + HotMoneyItemNetValue *float64 + HotMoneyNetRate *float64 + HotMoneyNetValue *float64 + HotRank int64 + LimitReason string + Name string + NetRate float64 + NetValue float64 + OrgBuyNum *int64 + OrgNetRate *float64 + OrgNetValue *float64 + OrgSellNum *int64 + RangeDays int64 + SellValue float64 + THSCode string + Ticker string + type FinancialIndicatorAbility struct + Ability string + Indicators []FinancialIndicatorData + type FinancialIndicatorData struct + IndexID string + Value *string + type FinancialIndicatorsRequest struct + Report string + THSCode string + func (r *FinancialIndicatorsRequest) URLQuery() (values url.Values, err error) + type FinancialIndicatorsResponse struct + Abilities []FinancialIndicatorAbility + Report string + THSCode string + type FinancialStatementData struct + Currency string + FiscalPeriod string + FiscalYear int64 + Period string + PeriodEndMs int64 + ReportDateMs int64 + THSCode string + Ticker string + type FinancialStatementsRequest struct + End int64 + Limit int + Period string + Start int64 + THSCode string + func (r *FinancialStatementsRequest) URLQuery() (values url.Values, err error) + type HiThinkFinancialClient struct + func NewClient(apiKey string) (*HiThinkFinancialClient, error) + func (c *HiThinkFinancialClient) CalendarTradingDays(ctx context.Context) (*CalendarTradingDaysResponse, error) + func (c *HiThinkFinancialClient) GetAShareAdjustmentFactors(ctx context.Context, req *AdjustmentFactorsRequest) (*AdjustmentFactorsResponse, error) + func (c *HiThinkFinancialClient) GetAShareAnomalyAnalysisList(ctx context.Context, req *AnomalyAnalysisListRequest) (*AnomalyAnalysisResponse, error) + func (c *HiThinkFinancialClient) GetAShareAnomalyAnalysisStock(ctx context.Context, req *AnomalyAnalysisStockRequest) (*AnomalyAnalysisResponse, error) + func (c *HiThinkFinancialClient) GetAShareBalanceSheets(ctx context.Context, req *FinancialStatementsRequest) (*BalanceSheetsResponse, error) + func (c *HiThinkFinancialClient) GetAShareCashFlowStatements(ctx context.Context, req *FinancialStatementsRequest) (*CashFlowStatementsResponse, error) + func (c *HiThinkFinancialClient) GetAShareDragonTigerList(ctx context.Context, req *DragonTigerListRequest) (*DragonTigerListResponse, error) + func (c *HiThinkFinancialClient) GetAShareFinancialIndicators(ctx context.Context, req *FinancialIndicatorsRequest) (*FinancialIndicatorsResponse, error) + func (c *HiThinkFinancialClient) GetAShareHotStockList(ctx context.Context, req *HotListRequest) (*HotListResponse, error) + func (c *HiThinkFinancialClient) GetAShareHotStockListHistory(ctx context.Context, req *HotStockListHistoryRequest) (*HotStockListHistoryResponse, error) + func (c *HiThinkFinancialClient) GetAShareHotStockRankTrend(ctx context.Context, req *HotStockRankTrendRequest) (*HotStockRankTrendResponse, error) + func (c *HiThinkFinancialClient) GetAShareIncomeStatements(ctx context.Context, req *FinancialStatementsRequest) (*IncomeStatementsResponse, error) + func (c *HiThinkFinancialClient) GetAShareIndexPricesHistorical(ctx context.Context, req *IndexPricesHistoricalRequest) (*IndexPricesHistoricalResponse, error) + func (c *HiThinkFinancialClient) GetAShareIndexPricesSnapshot(ctx context.Context, req *IndexPricesSnapshotRequest) (*SnapshotDataResponse, error) + func (c *HiThinkFinancialClient) GetAShareLimitUpLadder(ctx context.Context) (*LimitUpLadderResponse, error) + func (c *HiThinkFinancialClient) GetAShareLimitUpPool(ctx context.Context, req *LimitUpPoolRequest) (*LimitUpPoolResponse, error) + func (c *HiThinkFinancialClient) GetASharePricesHistorical(ctx context.Context, req *HistoricalPricesRequest) (*HistoricalPricesResponse, error) + func (c *HiThinkFinancialClient) GetASharePricesSnapshot(ctx context.Context, req *SnapshotDataRequest) (*SnapshotDataResponse, error) + func (c *HiThinkFinancialClient) GetAShareSkyrocketList(ctx context.Context, req *HotListRequest) (*HotListResponse, error) + func (c *HiThinkFinancialClient) GetMarketDumpAdjustmentFactorsDownloadURL(ctx context.Context) (*MarketDumpDownloadURLResponse, error) + func (c *HiThinkFinancialClient) GetMarketDumpDailyK10DDownloadURL(ctx context.Context) (*MarketDumpDownloadURLResponse, error) + func (c *HiThinkFinancialClient) GetMarketDumpDailyKDownloadURL(ctx context.Context) (*MarketDumpDownloadURLResponse, error) + func (c *HiThinkFinancialClient) GetTHSIndexConstituents(ctx context.Context, req *THSIndexConstituentsRequest) (*THSIndexConstituentsResponse, error) + func (c *HiThinkFinancialClient) GetTHSIndexList(ctx context.Context, req *THSIndexListRequest) (*THSIndexListResponse, error) + func (c *HiThinkFinancialClient) Query(ctx context.Context, path string, params QueryEncoder, result any) (err error) + func (c *HiThinkFinancialClient) TickerSearch(ctx context.Context, req *TickerSearchRequest) (*TickerSearchResponse, error) + func (c *HiThinkFinancialClient) TickersList(ctx context.Context, req *TickerListRequest) (*TickerListResponse, error) + type HistoricalPricesRequest struct + Adjust string + End int64 + Interval string + Offset int + Start int64 + THSCode string + func (r *HistoricalPricesRequest) URLQuery() (values url.Values, err error) + type HistoricalPricesResponse struct + Item []PriceBarData + Timestamp int64 + type HotListData struct + Heat string + Name string + Rank int64 + RankChange *int64 + RankTrend string + THSCode string + Ticker string + type HotListRequest struct + Period string + func (r *HotListRequest) URLQuery() (values url.Values, err error) + type HotListResponse struct + Item []HotListData + Timestamp int64 + type HotStockListHistoryData struct + Name string + Rank int64 + THSCode string + Ticker string + type HotStockListHistoryRequest struct + Date string + func (r *HotStockListHistoryRequest) URLQuery() (values url.Values, err error) + type HotStockListHistoryResponse struct + Date string + DateMs int64 + Item []HotStockListHistoryData + type HotStockRankTrendData struct + Date string + DateMs int64 + Rank int64 + THSCode string + Ticker string + type HotStockRankTrendRequest struct + EndDate string + StartDate string + THSCode string + func (r *HotStockRankTrendRequest) URLQuery() (values url.Values, err error) + type HotStockRankTrendResponse struct + Item []HotStockRankTrendData + Timestamp int64 + type IncomeStatementData struct + BasicEPS *float64 + IncomeTaxExpense *float64 + InterestExpenses *float64 + ManageFee *float64 + NetProfit *float64 + OperatingCosts *float64 + OperatingExpenses *float64 + OperatingIncome *float64 + OperatingProfit *float64 + ParentHolderNetProfit *float64 + ProfitTotal *float64 + ResearchAndDevelopmentExpenses *float64 + SalesFee *float64 + type IncomeStatementsResponse struct + Item []IncomeStatementData + Timestamp int64 + type IndexPricesHistoricalRequest struct + End int64 + Interval string + Start int64 + THSCode string + func (r *IndexPricesHistoricalRequest) URLQuery() (values url.Values, err error) + type IndexPricesHistoricalResponse struct + Adjust *string + Item []PriceBarData + Timestamp int64 + type IndexPricesSnapshotRequest struct + Limit int + Offset int64 + THSCodes []string + func (r *IndexPricesSnapshotRequest) URLQuery() (values url.Values, err error) + type LimitUpLadderBoardCaps struct + FiveBoard int64 + FourBoard int64 + SevenOver int64 + SixBoard int64 + ThreeBoard int64 + TwoBoard int64 + type LimitUpLadderBoards struct + FiveBoard []LimitUpLadderStockData + FourBoard []LimitUpLadderStockData + SevenOver []LimitUpLadderStockData + SixBoard []LimitUpLadderStockData + ThreeBoard []LimitUpLadderStockData + TwoBoard []LimitUpLadderStockData + type LimitUpLadderData struct + Boards LimitUpLadderBoards + Date string + type LimitUpLadderResponse struct + Item []LimitUpLadderData + Timestamp int64 + Window LimitUpLadderWindow + type LimitUpLadderStockData struct + BoardNum int64 + Name string + SealNextday *bool + SignLevel int64 + THSCode string + Ticker string + type LimitUpLadderWindow struct + BoardCaps LimitUpLadderBoardCaps + DateList []string + Length int64 + type LimitUpPoolData struct + ContinueDayCnt int64 + ContinueDayText string + IsNew bool + IsST bool + LastPrice float64 + LimitUpReason *string + LimitUpTime string + MaxSealMoney float64 + Name string + PriceChangeRatioPct float64 + SealMoney float64 + THSCode string + Ticker string + type LimitUpPoolPagination struct + Page int64 + Pages int64 + Size int64 + Total int64 + type LimitUpPoolRequest struct + DateMs int64 + Page int + Size int + SortDir string + SortField string + func (r *LimitUpPoolRequest) URLQuery() (values url.Values, err error) + type LimitUpPoolResponse struct + Item []LimitUpPoolData + Pagination LimitUpPoolPagination + Timestamp int64 + type MarketDumpDownloadURLResponse struct + ExpiresInSeconds int64 + PresignedURL string + PresignedURLExpiresAt string + type PriceBarData struct + ClosePrice float64 + DateMs int64 + HighPrice float64 + LowPrice float64 + OpenPrice float64 + Turnover float64 + Volume float64 + type QueryEncoder interface + URLQuery func() (values url.Values, err error) + type SnapshotData struct + HighPrice float64 + LastPrice float64 + LowPrice float64 + OpenPrice float64 + PrevPrice float64 + PriceChange float64 + PriceChangeRatioPct float64 + THSCode string + Ticker string + Turnover float64 + Volume float64 + type SnapshotDataRequest struct + Limit int + Offset int64 + Thscodes []string + func (c *SnapshotDataRequest) URLQuery() (values url.Values, err error) + type SnapshotDataResponse struct + Item []SnapshotData + Timestamp *int64 + Total int64 + type THSIndexConstituentData struct + Name string + THSCode string + Ticker string + type THSIndexConstituentsRequest struct + THSCode string + func (r *THSIndexConstituentsRequest) URLQuery() (values url.Values, err error) + type THSIndexConstituentsResponse struct + Item []THSIndexConstituentData + Timestamp int64 + type THSIndexData struct + Name string + THSCode string + type THSIndexListRequest struct + Tag string + func (r *THSIndexListRequest) URLQuery() (values url.Values, err error) + type THSIndexListResponse struct + Item []THSIndexData + Timestamp int64 + type TickerListData struct + AssetType string + Currency string + Exchange *string + Name string + THSCode string + Ticker string + type TickerListRequest struct + AssetType string + Limit int + Offset int64 + func (p *TickerListRequest) URLQuery() (url.Values, error) + type TickerListResponse struct + Item []TickerListData + Timestamp int64 + type TickerSearchData struct + AssetType string + Currency string + Exchange *string + Name string + Thscode string + Ticker string + type TickerSearchRequest struct + AssetType string + Limit int + Q string + func (c *TickerSearchRequest) URLQuery() (values url.Values, err error) + type TickerSearchResponse struct + Item []TickerSearchData + Timestamp int64 v0.0.2 Jul 17, 2026