nse-market-holidays
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

nse-market-holidays

Get national stock exchange(india) market timing and holidays

API

export declare function isTradingDay(d: String): Promise<boolean>;
export declare function getPreviousTradingDay(date: String): Promise<string>;
export declare function getNextTradingDay(date: String): Promise<string>;
export declare function isMarketOpen(): Promise<boolean>;
export declare function subscribeNotifyMarketOpen(callback: any): any;
export declare function subscribeNotifyMarketClose(callback: any): any;
export declare function unSubscribeNotifyMarketClose(subscriberId: any): any;
export declare function unSubscribeNotifyMarketOpen(subscriberId: any): any;
export declare function timeToOpen(): Promise<string>;

Readme

Keywords

none

Package Sidebar

Install

npm i nse-market-holidays

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • anandaravindan