rungfolio

Rounding to the tick

grid.rounding

What it does

Order prices have to sit on a tick, the smallest price step a broker accepts. Buys round down and sells round up, so rounding never eats into the target.

How it works

The tick is $0.01 for prices of $1.00 and above, and $0.0001 below $1.00.

The buy limit is the most a buy order will pay, and it's the price your broker sees. It's the rung's exact price rounded down to the tick, so a buy never pays more than its rung's price, and it's at most one tick below it.

The sell is worked out from the rounded buy, then rounded up to the tick of the resulting price. So the sell is always at least the buy plus the whole target. It starts from the rounded buy because that is the limit actually placed.

A buy below $1.00 can have a sell above $1.00. The sell then rounds up to a whole cent.

At low prices, neighboring rungs can round to the same buy limit. They stay separate rungs, each with its own order.

Examples

Compare the Rung price column, which shows each rung's exact price to a few decimals, with the Buy limit column, which is what goes to the broker. Each limit is the rung's price rounded down to a whole cent, so it's never above it. The Sell limit column then adds the target to that rounded buy and rounds up.

Worked example: rungs from a start of 82.37, showing rungs 0 to 5
RungRung priceBuy limitSell limitSharesCostRunning sharesRunning cost
082.3782.3784.856$494.226$494.22
182.164082.1684.636$492.9612$987.18
281.958681.9584.416$491.7018$1,478.88
381.753781.7584.216$490.5024$1,969.38
481.549381.5483.996$489.2430$2,458.62
581.345581.3483.796$488.0436$2,946.66

This ladder starts just above $1.00. Look for three things: several rungs share one buy limit, the limits switch to the smaller tick below $1.00, and every sell rounds up.

Worked example: rungs from a start of 1.01, showing rungs 0 to 7
RungRung priceBuy limitSell limitSharesCostRunning sharesRunning cost
01.011.011.05495$499.95495$499.95
11.00741.001.03500$500.00995$999.95
21.00491.001.03500$500.001,495$1,499.95
31.00241.001.03500$500.001,995$1,999.95
40.9999370.99991.03500$499.952,495$2,499.90
50.9974370.99741.03501$499.702,996$2,999.60
60.9949440.99491.03502$499.443,498$3,499.04
70.9924570.99241.03503$499.184,001$3,998.21

In the app

Each armed buy's "why?" shows the rung's price and its rounded buy. Rung prices come from the starting price and the gap.

Educational software, not investment advice.