# isMarketOpen()

Indicates if the symbol market is open.

  • Interface
class MidaSymbol {
    isMarketOpen (): Promise<boolean>;
}
  • Example
const xauUsd = await myAccount.getSymbol("XAUUSD");
const isXauMarketOpen = await xauUsd.isMarketOpen();