useMarketTrend
Stock Screening Platform - Frontend API v0.1.0
Stock Screening Platform - Frontend API / hooks/useMarketTrend / useMarketTrend
Function: useMarketTrend()
useMarketTrend(
options):UseQueryResult<MarketTrendResponse,Error>
Defined in: src/hooks/useMarketTrend.ts:37
Fetch historical market trend data
Parameters
options
Hook options
Returns
UseQueryResult<MarketTrendResponse, Error>
Query result with market trend data
Example
const { data, isLoading } = useMarketTrend({
timeframe: '3M',
indices: ['KOSPI', 'KOSDAQ']
})