rungfolio

One lot per rung

grid.one-lot-per-rung

What it does

A rung holds at most one open lot at a time. A lot is one position: the shares one buy has bought, held until its sell fills. So every rung is in one of two states: empty, and able to carry a buy, or held, with a lot waiting for its sell.

How it works

While a rung's lot is open, the rung is held. It gets no second buy, and the armed window skips over it to the next empty rung.

When the lot's sell fills, the rung is empty again and can be re-armed.

A buy that is still working on a held rung is canceled. A working order is one that has been placed and hasn't filled yet.

An off-grid lot holds no rung. The starting price explains how a lot ends up off-grid.

Rungfolio won't plan from records that put two lots on one rung. It reports the problem instead of guessing which lot to keep.

Because each rung is at most one position, the ladder's size follows the number of rungs it holds.

Example

Rung 3 holds a lot, and a buy is still working on rung 3, as can happen after the starting price moves. The lot's sell is kept, and the leftover buy is canceled under this rule. Look, too, at how the window arms the rungs on either side of rung 3.

Worked example: tonight's orders at a close of 82.05, with 1 lot held, 1 working buy and 1 working sell
RungActionOrderRule
3CancelBuy 6 TNA @ 81.75 → sell @ 84.21 · GTC OTOgrid.one-lot-per-rung
2PlaceBuy 6 TNA @ 81.95 → sell @ 84.41 · GTC OTOgrid.armed-count
4PlaceBuy 6 TNA @ 81.54 → sell @ 83.99 · GTC OTOgrid.armed-count
5PlaceBuy 6 TNA @ 81.34 → sell @ 83.79 · GTC OTOgrid.armed-count
6PlaceBuy 6 TNA @ 81.14 → sell @ 83.58 · GTC OTOgrid.armed-count
7PlaceBuy 6 TNA @ 80.93 → sell @ 83.36 · GTC OTOgrid.armed-count
8PlaceBuy 6 TNA @ 80.73 → sell @ 83.16 · GTC OTOgrid.armed-count
9PlaceBuy 6 TNA @ 80.53 → sell @ 82.95 · GTC OTOgrid.armed-count
10PlaceBuy 6 TNA @ 80.33 → sell @ 82.74 · GTC OTOgrid.armed-count
11PlaceBuy 6 TNA @ 80.13 → sell @ 82.54 · GTC OTOgrid.armed-count
12PlaceBuy 6 TNA @ 79.93 → sell @ 82.33 · GTC OTOgrid.armed-count
3KeepSell 6 TNA @ 84.21 · GTCgrid.target

In the app

When Rungfolio cancels a buy because its rung is held, you'll see this rule in the buy's "why?". Its sentence says the rung already holds a lot, so it gets no second buy until that lot sells.

Educational software, not investment advice.