UNPKG

@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) 483 B
import { MARKET_DATA } from '../../constants.js'; import { ErrorResponseSchema } from '../../errors.js'; import { GetPriceHistoryQueryParams, GetPriceHistoryResponse, } from './schema.js'; 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.', };