8000 Update tickers.ts (#206) · polygon-io/client-js@794d098 · GitHub
[go: up one dir, main page]

Skip to content

Commit 794d098

Browse files
Update tickers.ts (#206)
fix types to match api docs
1 parent ce7e849 commit 794d098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rest/reference/tickers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export type TickerTypes =
1616
| "INDEX"
1717
| "ETF"
1818
| "ETN";
19-
export type MarketType = "stocks" | "crypto" | "fx";
19+
export type MarketType = "stocks" | "crypto" | "fx" | "otc" | "indices";
2020
export type Order = "asc" | "desc";
2121

2222
export interface ITickersQuery extends IPolygonQuery {
@@ -42,7 +42,7 @@ export interface ITickersQuery extends IPolygonQuery {
4242
export interface ITickersResults {
4343
ticker: string;
4444
name: string;
45-
market: string;
45+
market: MarketType;
4646
locale: string;
4747
primary_exchange: string;
4848
type: string;

0 commit comments

Comments
 (0)
0