useMarketIndices
Stock Screening Platform - Frontend API v0.1.0
Stock Screening Platform - Frontend API / hooks/useMarketIndices / useMarketIndices
Function: useMarketIndices()
useMarketIndices(
options):UseQueryResult<MarketIndicesResponse,Error>
Defined in: src/hooks/useMarketIndices.ts:32
Fetch market indices data (KOSPI, KOSDAQ, KRX100)
Parameters
options
Hook options
Returns
UseQueryResult<MarketIndicesResponse, Error>
Query result with market indices data
Example
const { data, isLoading, error } = useMarketIndices({
refetchInterval: 30000 // Refetch every 30 seconds
})