UNPKG

@copytrade/unified-broker

Version:

Unified broker interface library for Indian stock market brokers with plugin architecture

66 lines 1.86 kB
/** * @copytrade/unified-broker * Unified broker interface library for Indian stock market brokers */ export * from './interfaces/IBrokerService'; export * from './interfaces/UnifiedBrokerResponse'; export * from './factories/UnifiedBrokerFactory'; import { BrokerRegistry, BrokerPlugin } from './registry/BrokerRegistry'; export { BrokerRegistry, BrokerPlugin }; import { BrokerFactory } from './factories/BrokerFactory'; export { BrokerFactory }; export declare const VERSION = "1.1.0"; export declare const LIBRARY_INFO: { name: string; version: string; description: string; author: string; license: string; repository: string; }; /** * Initialize the unified broker library with explicit control */ export declare function initializeUnifiedBroker(): BrokerRegistry; /** * Get the current status of the unified broker system */ export declare function getBrokerSystemStatus(): { initialized: boolean; availableBrokers: string[]; totalBrokers: number; }; /** * Get library information including available brokers */ export declare function getLibraryInfo(): { availableBrokers: string[]; registeredPlugins: { name: string; version: string; description?: string; }[]; name: string; version: string; description: string; author: string; license: string; repository: string; }; /** * Health check for the library */ export declare function healthCheck(): { status: 'healthy' | 'warning' | 'error'; message: string; details: any; }; /** * Quick start helper - creates a broker instance */ export declare function createBroker(brokerName: string): import("./interfaces/IBrokerService").IBrokerService; /** * Get list of all supported brokers */ export declare function getSupportedBrokers(): string[]; //# sourceMappingURL=index.d.ts.map