Rebalancing Trade Amount GSR Calculator

Solve actual two-metal value reallocation under caller target gold share and same-time/same-currency prices, preserving buy-positive/sell-negative trades; ideal fractional grams, fees/spreads/tax/lot constraints excluded, not allocation advice or scalar GSR alias.

Description

A target gold share allocates a recorded portfolio value between two metals.

A target gold share allocates a recorded portfolio value between two metals. Value trades and physical quantities use distinct units.1

Enter integer holdings 0–1,000,000,000, target 0–10000 basis points and same-currency prices 1–1,000,000,000 per gram. Return opposite signed value trades, fractional gram equivalents and gold/silver price ratio.

When to use Rebalancing Trade Amount GSR Calculator

Use Rebalancing Trade Amount GSR Calculator when you need to evaluate the supplied records under the calculation and evidence rules below. Positive trades add value to that metal; negative trades remove it. Fees, spreads, taxes and execution constraints are excluded.

Prepare the measured coin evidence or explicitly verified catalog and prices requested. Keep measurement conditions, units and currency consistent.

How to use Rebalancing Trade Amount GSR Calculator and understand its results

  1. Prepare the measured coin evidence or explicitly verified catalog and prices requested. Keep measurement conditions, units and currency consistent.
  2. Enter observedGoldHoldingValueMinor, observedSilverHoldingValueMinor, callerTargetGoldValueBasisPoints, callerSameTimeGoldPriceMinorPerGram, callerSameTimeSilverPriceMinorPerGram using the field table and calculation rules, then run the tool.
  3. Read callerTargetGoldValueMinor, signedGoldValueTradeMinor, signedSilverValueTradeMinor, signedGoldTradeGrams, signedSilverTradeGrams, observedSameTimeGoldSilverPriceRatio. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
observedGoldHoldingValueMinorObserved gold holding value minornumberRequired
observedSilverHoldingValueMinorObserved silver holding value minornumberRequired
callerTargetGoldValueBasisPointsCaller target gold value basis pointsnumberRequired
callerSameTimeGoldPriceMinorPerGramCaller same time gold price minor per gramnumberRequired
callerSameTimeSilverPriceMinorPerGramCaller same time silver price minor per gramnumberRequired

Enter integer holdings 0–1,000,000,000, target 0–10000 basis points and same-currency prices 1–1,000,000,000 per gram. Return opposite signed value trades, fractional gram equivalents and gold/silver price ratio.

targetGold=roundHalfUp(totalMinor×goldShareBP/10000); goldTrade=targetGold−currentGold

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
callerTargetGoldValueMinorCaller target gold value minornumber
signedGoldValueTradeMinorSigned gold value trade minornumber
signedSilverValueTradeMinorSigned silver value trade minornumber
signedGoldTradeGramsSigned gold trade gramsnumber
signedSilverTradeGramsSigned silver trade gramsnumber
observedSameTimeGoldSilverPriceRatioObserved same time gold silver price rationumber
json
{
  "input": {
    "observedGoldHoldingValueMinor": 600,
    "observedSilverHoldingValueMinor": 400,
    "callerTargetGoldValueBasisPoints": 5000,
    "callerSameTimeGoldPriceMinorPerGram": 200,
    "callerSameTimeSilverPriceMinorPerGram": 10
  },
  "output": {
    "callerTargetGoldValueMinor": 500,
    "signedGoldValueTradeMinor": -100,
    "signedSilverValueTradeMinor": 100,
    "signedGoldTradeGrams": -0.5,
    "signedSilverTradeGrams": 10,
    "observedSameTimeGoldSilverPriceRatio": 20
  }
}

Limitations and assumptions

Positive trades add value to that metal; negative trades remove it. Fees, spreads, taxes and execution constraints are excluded.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Scrap Lot Aggregate Melt Value Calculator: Scrap-lot proceeds depend on contained mass, measured recovery and a common-currency price basis. Rounding each metal line differs from rounding a whole lot once. For a complementary task, use Specific Gravity Composition Checker: Specific gravity is relative density. An ideal two-material mass mixture has additive specific volumes, which leads to a reciprocal-density relation.

References

  1. Rebalancing Trade Amount GSR Calculator — tool.io

Similar or alternative tools

  • Scrap Lot Aggregate Melt Value Calculator

    Scrap-lot proceeds depend on contained mass, measured recovery and a common-currency price basis. Rounding each metal line differs from rounding a whole lot once.

  • Specific Gravity Composition Checker

    Specific gravity is relative density. An ideal two-material mass mixture has additive specific volumes, which leads to a reciprocal-density relation.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies