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
- Prepare the measured coin evidence or explicitly verified catalog and prices requested. Keep measurement conditions, units and currency consistent.
- Enter observedGoldHoldingValueMinor, observedSilverHoldingValueMinor, callerTargetGoldValueBasisPoints, callerSameTimeGoldPriceMinorPerGram, callerSameTimeSilverPriceMinorPerGram using the field table and calculation rules, then run the tool.
- Read callerTargetGoldValueMinor, signedGoldValueTradeMinor, signedSilverValueTradeMinor, signedGoldTradeGrams, signedSilverTradeGrams, observedSameTimeGoldSilverPriceRatio. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- 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 field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| observedGoldHoldingValueMinor | Observed gold holding value minor | number | Required |
| observedSilverHoldingValueMinor | Observed silver holding value minor | number | Required |
| callerTargetGoldValueBasisPoints | Caller target gold value basis points | number | Required |
| callerSameTimeGoldPriceMinorPerGram | Caller same time gold price minor per gram | number | Required |
| callerSameTimeSilverPriceMinorPerGram | Caller same time silver price minor per gram | number | Required |
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 field | Meaning | Value type |
|---|---|---|
| callerTargetGoldValueMinor | Caller target gold value minor | number |
| signedGoldValueTradeMinor | Signed gold value trade minor | number |
| signedSilverValueTradeMinor | Signed silver value trade minor | number |
| signedGoldTradeGrams | Signed gold trade grams | number |
| signedSilverTradeGrams | Signed silver trade grams | number |
| observedSameTimeGoldSilverPriceRatio | Observed same time gold silver price ratio | number |
{
"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
-
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.