# 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();
Indicates if the symbol market is open.
class MidaSymbol {
isMarketOpen (): Promise<boolean>;
}
const xauUsd = await myAccount.getSymbol("XAUUSD");
const isXauMarketOpen = await xauUsd.isMarketOpen();