UNPKG

@marketicons/markets

Version:

Market codes and names

6 lines (5 loc) 332 B
import { Exchange, MarketInfo } from "./types"; export declare const MarketData: Record<string, Record<Exchange, MarketInfo>>; export declare const getMarketInfo: (exchange: Exchange, code: string) => MarketInfo | undefined; export declare const getAllMarkets: (exchange: Exchange) => MarketInfo[]; export { MarketInfo, Exchange };