Appearance

Personalize your experience

Mode
Accent Color
Direction
Geometric Ratio

Geometric Ratio

Geometric

Explicit geometric ratio — same math as geometric martingale.

At a glance

Engine value
geometric_ratio
Size at level i
size(i) = base · rⁱ (r = 1.5)
Family
Geometric — Constant-ratio with a tunable aggression dial.
Risk band
High risk
Capital profile
Geometric series — total = base × (rⁿ⁺¹ − 1)/(r − 1).
Best for
Tunable-aggression averaging; ratio-based ladder design.
Orders per level
One entry order and one take-profit per level.
Ladder cost @ 10 levels
170× base lot
Versus a flat ladder
17.0× the capital
Deepest rung
57.7× base (38.4× the first rung)
Entry orders resting
10 at 10 levels
Break-even bounce
2.03% from the deepest fill (flat ladder: 5.00%)
Alias of
marti_grid_geometric
ℹ
Note:This is an alias of marti_grid_geometric. The engine computes identical sizes for both; the separate entry exists so and mandates can label the in their own vocabulary.

What this curve is for

Ratio-based presented under the rather than the martingale one. Behaviourally identical to : size is base × rⁱ with r as the single aggression dial. The separate is a labelling , not a behavioural one.

How the sizing rule works

Each rung is r times the previous one. Ladder cost is the geometric series base × (rⁿ⁺¹ − 1)/(r − 1), so cost is highly sensitive to r and moderately sensitive to depth.

LevelPer-order sizeOrdersLevel totalCumulativeEntry priceTake-profit
L11.50×11.50×1.50×99.0099.99
L22.25×12.25×3.75×98.0098.98
L33.38×13.38×7.13×97.0097.97
L45.06×15.06×12.2×96.0096.96
L57.59×17.59×19.8×95.0095.95
L611.4×111.4×31.2×94.0094.94
L717.1×117.1×48.3×93.0093.93
L825.6×125.6×73.9×92.0092.92
L938.4×138.4×112×91.0091.91
L1057.7×157.7×170×90.0090.90
Reference configuration: 10 levels, 1% apart, 1% target, base price 100, long. Sizes are in base-lot units.

The ladder, as the engine builds it

Below is the 's own ladder and the trading terminal's chart engine, both driven by buildLadderPlan for this . Change the level count, spread or target and the rung prices, sizes, and chart lines recompute exactly as they would in the .

base lot 100 USDT · long · no stop

Ladder shape — Geometric Ratio

LONG · base 100.00 (illustrative) · 10 levels stepping down · 1% apart

Base positionEntry rung (buy)Init target
Opening position & init targets200 USDT
T2
target 2 sell @ 102.00
+2 USDT
T1
target 1 sell @ 101.00
+1 USDT
L0
Market buy · 2 lots @ 100.00
200 USDT

Targets are stacked above the opening buy because a long grid exits higher than it enters.

Entry ladder

Limit buys below the base · L1 nearest, L10 deepest · every amount in USDT

Entry ladder: one row per rung, showing entry and exit price, size, order count, notional, margin, running capital and profit at exit.
LevelSize curveEntry buyUSDTExit sellUSDTFrom base%Sizebase lotsOrdersNotionalUSDTMarginUSDTCum. capitalUSDTProfit at exitUSDT
L13%99.0099.991.00%1.50×11501503501.5
L24%98.0098.982.00%2.25×12252255752.25
L36%97.0097.973.00%3.38×13383389133.38
L49%96.0096.964.00%5.06×15065061,4195.06
L513%95.0095.955.00%7.59×17597592,1787.59
L620%94.0094.946.00%11.4×11,1391,1393,31711.39
L730%93.0093.937.00%17.1×11,7091,7095,02617.09
L844%92.0092.928.00%25.6×12,5632,5637,58925.63
L967%91.0091.919.00%38.4×13,8443,84411,43338.44
L10100%90.0090.9010.00%57.7×15,7675,76717,20057.67
Levels 1–10 of 10
1 / 1
Ladder cost 170×Capital 17,200 USDTAvg entry 91.92Cycle profit 173
Loading the chart engine…

What depth costs

Geometric in depth. Re-read the capital after every change to r; nothing else in the configuration moves the worst case as much.

LevelsLadder costDeepest rungEntry ordersCost vs 5 levelsCoverage
5 levels19.8×7.59×51.00×5%
10 levels170×57.7×108.59×10%
20 levels9973×3325×20504×20%
40 levels33171994×11057332×401676941×40%
Ladder cost is Σ of every rung in base-lot units, excluding the opening L0 batch. At a grid size of 100 USDT, the 10-level ladder commits 17,000 USDT of notional at 1× leverage.

Read the cost vs 5 levels column as the escalation test. A flat ladder doubles when the depth doubles; anything materially above that is a whose coverage has to be bought rather than simply configured.

Capital budgetLevels affordableAdverse move covered
10× base3 levels3.0%
25× base5 levels5.0%
50× base7 levels7.0%
100× base8 levels8.0%
250× base10 levels10.0%
How far price can move against the grid before it runs out of rungs, per capital budget, at 1% spacing. This is the question a funding decision actually turns on.

Averaging and recovery

With every rung , the volume-weighted average entry is 91.82 against a base of 100 and a deepest rung of 90.00 — so the average sits 82% of the way down the covered range. Getting back to flat from the bottom therefore needs a 2.03% , against 5.00% for a flat ladder of the same depth — 2.97% less work.

ExcursionLevels filledDeployedAverage entryMarkUnrealisedBounce to flat
Shallow dipL1–L37.13×97.7497.00-0.05×0.76%
Half the ladder fillsL1–L519.8×96.2495.00-0.25×1.31%
Full ladderL1–L10170×91.8290.00-3.30×2.03%
Reference configuration: 10 levels, 1% apart, 1% target, base price 100, long. Sizes are in base-lot units. Deterministic arithmetic, not a simulation: no assumption is made about how price reached each depth.

Identical to — a constant ratio between rungs, with r as the aggression dial.

Where the exposure sits

Held by the shallowest quarter
4.2% of total size
Held by the deepest quarter
71.6% of total size
Unrealised loss at full fill
3.30× base (1.9% of deployed capital)
Profit if every rung books its target
1.70× base
One shallow cycle, against reserved capital
0.9 bps

The last row is the metric that separates modes. Profit for a full cycle is the target of deployed capital in every , so it cannot discriminate. What differs is how much capital has to sit reserved to earn one shallow cycle: this mode 170× base to collect 0.9 bps of it when the first rung completes.

Which market pays this curve

Mean-reverting instruments you have measured, where you want one parameter to express how hard the ladder leans into the move.

A category-explicit alias for ratio , provided so dashboards can group ratio strategies under "geometric". Behaves identically to .

The shape of the risk

The convex tail of any multiplicative , scaled by r. At r = 2 it is .

ℹ
Note:Alias of `marti_grid_geometric`. Choosing between them is a labelling , not a behavioural one.

Run it over real history

This is the product's grid backtester, not a summary of one. It fetches public candles for the you pick, rebuilds the ladder on the first candle of the , then applies the engine's own fill, take-profit, and stop-loss rules bar by bar. The caveat block inside the is part of the output — read it before trusting a number.

Instrument

BTCUSD

delta-india

Geometric Ratio · 10 levels @ 1% · target 1% · 100 USDT / level · 1× · long · no stop

What this does not model

  • Exact intrabar ticks. Bullish/doji candles use open → low → high → close; bearish candles use open → high → low → close. Finer timeframes reduce sensitivity to this deterministic assumption.
  • Queue position. Limit orders are assumed filled when touched, which flatters a maker grid in fast markets.
  • Margin rejection and liquidation. Deep rungs fill here even if the account could not fund them — check the capital requirement.
  • Slippage and funding. Only the fee you set above is charged; funding, borrow and slippage are absent.

Run the ladder over real history

The grid is rebuilt anchored on the first candle of the window, then the engine's own fill, exit, refill and stop-loss rules are applied bar by bar. You get the real fill sequence for this configuration on this instrument.

Measured against other modes

First the arithmetic, then the market. The below is computed from the size curves alone; the underneath replays every one of those ladders over the same real candle , with grid_mode as the only variable.

ModeLadder costDeepest rungBreak-even bounceEntry ordersShallow cycle
Geometric Ratio (this mode)170×57.7×2.03%100.9 bps
Fixed10.0×1.00×5.00%1010.0 bps
Capped Linear40.0×5.00×4.03%102.5 bps
Linear Martingale55.0×10.0×2.38%551.8 bps
Exponential Martingale2046×1024×1.10%100.1 bps
Reference configuration: 10 levels, 1% apart, 1% target, base price 100, long. Sizes are in base-lot units. Peers are chosen from this mode's own direction plus the flat baseline, so the comparison is meaningful rather than decorative.

Nothing is precomputed here. Press run and the backtester fetches one candle window and replays 5 ladders across it — identical settings, identical bars, grid_mode as the only difference.

When to use it

  • You want ratio-based ladder design grouped under the for reporting.
  • Your desk's vocabulary is ratios rather than martingale variants.

When to avoid it

  • Same cautions as any multiplicative growth — unfunded depth, unattended operation, r left near 2.

Tuning

  • See : r behaves identically here.
  • Prefer one of the two names consistently across a desk so monitors aggregate correctly.

This is parametric. The and the settings show only the dial(s) it actually uses, and changing one is a structural — the resting ladder is cancelled and re-placed at the new sizes.

Ratio (r)
Constant multiplier between consecutive levels. 1.2–1.8 is a controllable middle ground; 2 is full exponential. Default 1.5, range 1.05–3.
★
Pro tip:After changing a tunable, re-read the capital above and re-run the . A dial that looks cosmetic on a can be a change to the worst case.

Running it in production

  • Watch the deepest level, not the P&L. Depth is the leading indicator; P&L is the lagging one.
  • peak committed against the account, weekly. A growth that has never been deep has never been tested.
  • Treat every level increase as a capital : adding levels to a growth is not a linear cost.

How it fails

  1. 1
    Split reporting
    Running some strategies as `geometric_ratio` and others as `marti_grid_geometric` fragments dashboards for no behavioural benefit.
  2. 2
    Tail at r ≥ 2
    Identical to , including the funding wall.

Claims worth correcting

“Geometric ratio is a distinct, tamer .”

It is an alias of `marti_grid_geometric`. The taming comes from choosing a low r, not from the name.

Interaction with the rest of the configuration

  • Spread sets how fast the ladder consumes depth. Widening it buys coverage for the same level count at the cost of fewer .
  • Target sets what each cycle books. Below -trip fees plus slippage, a grid is a fee generator regardless of the .
  • The is the only bound on the tail. Without it, the 's worst case is whatever the market does, not what you planned.

Questions this mode raises

  1. 1
    Which should I use?
    Whichever your reporting groups by; then keep it consistent. The engine cannot tell them apart.

Where these numbers come from

  • Sizes and capital: levelMultiplier / gridModeCurve in lib/grid/gridModes.ts, from grid_modes.hpp and the Python engine's lot calculator.
  • Rung and exit prices, , init targets and the stop line: buildLadderPlan — the same builder the and use.
  • Backtest , cycles and P&L: runBacktest / runBacktestSweep over public broker candles, applying the engine's fill, exit, and stop rules.
  • Price charts: the trading terminal's chart engine, with the ladder drawn through its own price-line API.
!
Caution:A backtest is evidence about one , not a . Fees are charged at the rate you set; slippage, funding, , margin rejection and are not modelled. For a growth especially, a profitable window mostly tells you the window did not contain the trend that would have tested it.

Related

  • 1.Grid Modes — Overview — The full taxonomy and how to choose
  • 2.Geometric family — What every curve in this family has in common
  • 3.Capital Allocation — Sizing an account to a Geometric Ratio ladder
  • 4.Stop Loss — Bounding this curve's tail
  • 5.Reading the Ladder Plan — Verifying the curve before deploying
  • 6.Grid Structure — Levels, init batch and base size

Related articles

  • Geometric family

    Automation / Grid Modes / Families

    Every rung is a fixed ratio r times the previous one. r = 2 reproduces exponential doubling; r between 1.2 and 1.8 gives a controllable middle ground. The…

  • Geometric Martingale

    Automation / Grid Modes / Martingale

    Geometric Martingale explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Martingale reference.

  • Martingale (default)

    Automation / Grid Modes / Martingale

    Martingale (default) explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Martingale reference.

  • Fibonacci Martingale

    Automation / Grid Modes / Martingale

    Fibonacci Martingale explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Martingale reference.

  • Fixed DCA

    Automation / Grid Modes / DCA

    Fixed DCA explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / DCA reference.

  • Harmonic

    Automation / Grid Modes / Harmonic

    Harmonic explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Harmonic reference.

  • Linear Martingale

    Automation / Grid Modes / Martingale

    Linear Martingale explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Martingale reference.

  • Additive Martingale

    Automation / Grid Modes / Martingale

    Additive Martingale explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Martingale reference.

  • Anti-Martingale

    Automation / Grid Modes / Anti-Martingale

    Anti-Martingale explained: how it works in QuaTick, settings and worked examples. Part of the Automation / Grid Modes / Anti-Martingale reference.

Browse all knowledge base articles →