UNPKG

underlying-exchange-tokens-india

Version:

Exchange tokens mapping for underlying instruments across different Indian brokers

21 lines (20 loc) 703 B
export * from "./types"; export * from "./constants"; /** * Get the exchange token for a given symbol and broker * @param symbol The underlying symbol (e.g., 'NIFTY') * @param broker The broker type (e.g., 'Zerodha') * @returns The exchange token or null if not found */ export declare function getExchangeToken(symbol: string, broker: string): string | null; /** * Get all available symbols * @returns Array of available symbols */ export declare function getAvailableSymbols(): string[]; /** * Check if a symbol is supported * @param symbol The symbol to check * @returns boolean indicating if the symbol is supported */ export declare function isSymbolSupported(symbol: string): boolean;