# watch()

Watches a symbol according to the specified directives.

  • Interface
class MidaMarketWatcher {
    watch (symbol: string, directives: MidaMarketWatcherDirectives): Promise<void>;
}
  • Interface
export type MidaMarketWatcherDirectives = {
    watchTicks?: boolean;
    watchPeriods?: boolean;
    timeframes?: number[];
};