The ladder budget
safety.budgetWhat it does
The ladder budget is an optional limit on how much capital one ladder can use. You set it as a share of the account's value.
How it works
This ladder's capital in use plus its planned buys may not go over the budget. Its capital in use is the cost of its own open lots (capital in use has the details). Its planned buys are the buys it will have working once Rungfolio has planned tonight's orders.
The budget works like the capital cap, but it counts only this ladder. The account's other ladders, their lots and their buys, don't count toward it, and it doesn't depend on the ladder's place in the priority order.
The plan adds rungs in the same order as it does for the cap, and it stops at the first rung that doesn't fit. Working buys at or past that point are canceled.
The cap and the budget both apply, and the tighter one stops the window. With no budget set, only the cap applies. The taper solver honors the budget too.
Examples
Here, the budget is 2% of the account. Look at the budget row: it shows the room left under the budget, before tonight's buys.
| Check | Setting | Result | Rule |
|---|---|---|---|
| Moving average | 150-day average of 75.00 | Clear | safety.moving-average |
| Floor | Not set | Not set | safety.floor |
| Capital cap | 50% of $50,000.00: $25,000.00 | $25,000.00 of room before tonight's buys | safety.capital-cap |
| Budget | 2% of $50,000.00: $1,000.00 | $1,000.00 of room before tonight's buys | safety.budget |
| Status | Buying on | safety.pause | |
Now the same budget, with last night's buys on rungs 2 to 4. The buys that fit are kept. At the first one that doesn't, the window stops, and the Rule column names the ladder budget as the reason that buy is canceled.
| Rung | Action | Order | Rule |
|---|---|---|---|
| 4 | Cancel | Buy 6 TNA @ 81.54 → sell @ 83.99 · GTC OTO | safety.budget |
| 2 | Keep | Buy 6 TNA @ 81.95 → sell @ 84.41 · GTC OTO | grid.armed-count |
| 3 | Keep | Buy 6 TNA @ 81.75 → sell @ 84.21 · GTC OTO | grid.armed-count |
Settings
The budget is off by default. When you set one, it can be from 1% to 100% of the account's value.
In the app
When a budget is set, the new-ladder preview's capital line shows it beside the cap.