IsMarketOpen
Ask AI
IsMarketOpen reports whether a quorum of updaters say the stock market is open. While it is not, new perps are held to closedMaxLeverage and positions above it can be cut down to it (Delever). A limit above that leverage fills only on a price observed after the open, never on the last pre-open quote.
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1p8v5lkq5mqp7r8h8stcv4fgrwrx3zupvww9m85/lastcall/v4.IsMarketOpen()"
Result