@sudowealth/schwab-api
Version:
TypeScript client for Charles Schwab API with OAuth support, market data, trading functionality, and complete type safety
12 lines (11 loc) • 473 B
JavaScript
import { MARKET_DATA } from '../../constants';
import { ErrorResponseSchema } from '../../errors';
import { GetPriceHistoryQueryParams, GetPriceHistoryResponse } from './schema';
export const getPriceHistoryMeta = {
method: 'GET',
path: MARKET_DATA.PRICE_HISTORY.GET_PRICE_HISTORY,
querySchema: GetPriceHistoryQueryParams,
responseSchema: GetPriceHistoryResponse,
errorSchema: ErrorResponseSchema,
description: 'Get price history for a symbol.',
};