tardis-machine
Version:
Locally runnable server with built-in data caching, providing both tick-level historical and consolidated real-time cryptocurrency market data via HTTP and WebSocket APIs
16 lines • 411 B
TypeScript
export declare class TardisMachine {
private readonly options;
private readonly _httpServer;
private readonly _wsServer;
private _eventLoopTimerId;
constructor(options: Options);
start(port: number): Promise<void>;
stop(): Promise<void>;
}
type Options = {
apiKey?: string;
cacheDir: string;
clearCache?: boolean;
};
export {};
//# sourceMappingURL=tardismachine.d.ts.map