rungfolio

The capital cap

safety.capital-cap

What it does

The capital cap limits how much of the account is tied up in shares. Capital in use plus planned buys never goes over a set share of the account's value, 50% by default. An account's ladders share one cap.

How it works

Capital in use is the cost of every open lot in the account, across all its ladders. An open lot is the shares a rung has bought and not yet sold (capital in use has the details).

Planned buys are the cost of every buy that will be working after tonight's plan, kept or new. A buy costs its shares times its buy limit. What's left under the cap after both is the room.

The plan adds buys in a fixed order:

  • First come re-arms, highest price first.
  • Then comes the armed window: the highest empty rungs below the last close, from the top.

It adds each rung while the total stays within the cap. It stops at the first rung that doesn't fit, and it never skips that rung to fit a cheaper one below it. Working buys at or past the stop are canceled, and each one's reason names the rung where buying stopped.

The cap only limits buys. It never cancels a sell or forces a sale. It counts cost, not market value: a lot counts at what you paid for it.

With a ladder budget set, both limits apply, and whichever is reached first stops the window. Each rung's size is a separate setting, such as a share of the account per rung.

Examples

Buying on150-day average 75.00close 82.05CAPITAL CAP$24,000.00 in use of $25,000.00
Worked example: the safety net at a close of 82.05. The shaded band is where buying pauses: below the average, and below a floor if one is set.

With $24,000 already in use elsewhere in the account, the capital cap's row shows the room left under the cap, before tonight's buys.

Worked example: the safety net at a close of 82.05, with $24,000 in use elsewhere
CheckSettingResultRule
Moving average150-day average of 75.00Clearsafety.moving-average
FloorNot setNot setsafety.floor
Capital cap50% of $50,000.00: $25,000.00$1,000.00 of room before tonight's buyssafety.capital-cap
BudgetNot setNot setsafety.budget
StatusBuying onsafety.pause

Now the same account, with last night's buys on rungs 2 to 4. The buys that still fit are kept. At the first one that doesn't, the window stops, and the Rule column shows that buy canceled under the capital cap.

Worked example: tonight's orders at a close of 82.05, with $24,000 in use elsewhere, with 3 working buys
RungActionOrderRule
4CancelBuy 6 TNA @ 81.54 → sell @ 83.99 · GTC OTOsafety.capital-cap
2KeepBuy 6 TNA @ 81.95 → sell @ 84.41 · GTC OTOgrid.armed-count
3KeepBuy 6 TNA @ 81.75 → sell @ 84.21 · GTC OTOgrid.armed-count

Shared by an account's ladders

An account's ladders share its cap, in the priority order you set (practice accounts). Each night, they plan from the top of the order down. Each ladder's check counts the capital in use across the whole account, plus the buys the ladders above it have already planned. What's left under the cap is that ladder's room. It adds rungs in the usual order, and stops at the first one that doesn't fit.

So when the cap runs short, the ladders at the bottom of the order stop first. A ladder the shared cap stops says so: its reason names the cap, the buys planned above it and the room they left. The first ladder, and any ladder with no buys planned above it, gives the same reason a ladder alone in its account would.

A ladder that plans no buys, because it's paused, waiting for a split's review, winding down or closing, leaves its share of the room to the ladders below it. Its open lots still count as capital in use. A ladder's statuses has the details.

Here, a $6,000 account runs two ladders under its 50% cap of $3,000. TNA comes first, and its three buys take $1,471.44. SOXL plans in the $1,528.56 left: three of its four buys fit, and the fourth doesn't, so the cap stops it. The Rule column shows what limited each ladder: TNA's armed count, and SOXL's share of the cap.

Worked example: tonight's buys for TNA, then SOXL, under one cap
PriorityLadderPlanned above itBuysTheir costRoom leftRule
1TNA$0.003 of 3$1,471.44$1,528.56grid.armed-count
2SOXL$1,471.443 of 4$1,470.00$58.56safety.capital-cap
The cap50% of $6,000.00 is $3,000.00: $2,941.44 of buys planned, $58.56 leftsafety.capital-cap

Move SOXL up, and the room goes the other way. All four of SOXL's buys fit, and TNA's third doesn't.

Worked example: tonight's buys for SOXL, then TNA, under one cap
PriorityLadderPlanned above itBuysTheir costRoom leftRule
1SOXL$0.004 of 4$1,950.20$1,049.80grid.armed-count
2TNA$1,950.202 of 3$982.20$67.60safety.capital-cap
The cap50% of $6,000.00 is $3,000.00: $2,932.40 of buys planned, $67.60 leftsafety.capital-cap

The cap decides which buys are planned. Which of them fill during the day depends on the cash, which the ladders share too: in each minute, every ladder's sales come first, and then the buys, in priority order (the cash guard).

Settings

The cap is an account setting, from 1% to 100% of the account's value, and 50% by default. You choose it when you add an account, in Settings → Accounts, and every ladder in the account shares it. The new-ladder preview starts the cap, the account value and the capital already in use at the account's, and you can type others to see what they would do. Applying settings to a ladder, on its Settings tab or through "Start practicing", makes the form's cap the account's.

In the app

Home shows the account's capital in use plus tonight's planned buys, across every ladder, against the cap. A ladder the shared cap stops says so in its "why?".

The new-ladder preview's capital line shows what would be in use if every armed buy filled, against the cap. When the cap stops the window short, the line says how many rungs fit, with a "why?" button.

Educational software, not investment advice.