Skip to content

Calculation Methodology

Curizora models linear Forex and gold instruments using user-entered prices and contract specifications. Initial prices are examples. You may manually enter broker prices or choose an optional indicative Gold API quote. Imported prices are not executable broker quotes.

Precision and lot rounding

The engine converts decimal strings into exact rational values. Position sizes are floored to an integer multiple of the lot step before enforcing minimum and maximum limits. The supported grid starts at zero. A broker using a different grid requires a different model. Results are formatted for display to at most ten decimal places; displayed figures can be rounded.

Currency conversion

Conversion means one unit of source currency expressed in account-currency units. If currencies match, the rate is one. Forex base-account estimates can use the reciprocal instrument price; cross-account calculations require a supplied rate. Each calculator names its source currency. Conversion spreads are not automatically included.

Costs and limits

Sizing excludes costs and slippage. Profit calculations subtract explicitly supplied total account-currency costs once. Margin assumes constant leverage. Drawdown is a manually configured example without an account feed or automatic daily resets.

Worked reference

$10,000 × 1% = $100 risk budget. A $10 gold stop × 100 oz = $1,000 risk per lot. $100 ÷ $1,000 = 0.10 lot. At a 0.01 lot step, the valid size remains 0.10.

Sources and reporting

Broker documentation illustrates why specifications and margin models differ. See OANDA account specifications and OANDA margin rules. These are examples, not universal rules or endorsements.

Report a calculation issue with reproducible example inputs, the expected result and the relevant broker specification.