rungfolio

Trading sessions

sim.sessions

What it does

Simulated orders fill only in the sessions where the broker would accept them. The simulator, which practice mode uses, doesn't fill an order at a time when the real one couldn't have worked.

How it works

Rungfolio's GTC orders and OTO orders work in regular hours only, 9:30 am to 4:00 pm New York time, at any broker. A GTC order is good 'til canceled, and an OTO order pairs a buy with a sell that activates once the buy fills.

Brokers' premarket and after-hours sessions usually take only limit orders that are good for that session, not GTC orders. So the simulator ignores prices outside regular hours for Rungfolio's orders. A price reached before the open, or after the close, never fills a simulated order.

Each trading night, practice mode replays that day's session from 1-minute price bars. A bar counts only if it starts inside the session. On a full day, that's the bars from 9:30 am to 3:59 pm, the last of which ends at the close.

Each day's hours come from the trading calendar. A holiday has no session, so nothing fills, and an early close, such as 1:00 pm on the day after Thanksgiving, ends the session early.

At the open

The session's first bar is the first one that starts inside it, usually the 9:30 am bar. The simulator treats it as the opening auction, which matches the orders waiting from before the open at one price, the open. It's the only bar in which those orders can fill at a better price than their limits, as gap fills explains.

When the price floor is set to exit and the price closes below it, each lot gets an exit: a market sell for the next open. The simulator sells it at the open of the session's first regular-hours bar, before it tries any other order in that bar. An exit is a day order, good for that one session.

A re-armed rung whose buy limit is at or above the last close is a limit order like any other. If the first regular-hours bar opens below its limit, the buy fills at that open, as a gap fill. If the price opens at or above its limit, the buy waits for the price to trade through it.

Inside regular hours, when a limit order fills explains the fills.

In the app

An exit's "why?" names the open it sold at.

Educational software, not investment advice.