From fee2ac524dc537ff38a760d75621641caedd152b Mon Sep 17 00:00:00 2001 From: David O'Trakoun <113943464+dotrakoun-clearstreet@users.noreply.github.com> Date: Tue, 10 Dec 2024 20:17:16 -0500 Subject: [PATCH] Update tickers.ts fix types to match api docs --- src/rest/reference/tickers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rest/reference/tickers.ts b/src/rest/reference/tickers.ts index 6cc7f9f..7dbc926 100644 --- a/src/rest/reference/tickers.ts +++ b/src/rest/reference/tickers.ts @@ -16,7 +16,7 @@ export type TickerTypes = | "INDEX" | "ETF" | "ETN"; -export type MarketType = "stocks" | "crypto" | "fx"; +export type MarketType = "stocks" | "crypto" | "fx" | "otc" | "indices"; export type Order = "asc" | "desc"; export interface ITickersQuery extends IPolygonQuery { @@ -42,7 +42,7 @@ export interface ITickersQuery extends IPolygonQuery { export interface ITickersResults { ticker: string; name: string; - market: string; + market: MarketType; locale: string; primary_exchange: string; type: string;