Description
Observed basis=local-reference price, basis gap=observed-contractedBasis and valueGap=gap*quantity.
Agribusiness records use explicit price bases, commissions, returns, minimum charges, credits and tax assumptions. A supplied arithmetic rule can reconcile a scenario while actual acceptance, contractual rights and legal liability require the governing agreement. Signed residual balances can be useful evidence of overpayment or inconsistent inputs.
Observed basis=local-reference price, basis gap=observed-contractedBasis and valueGap=gap*quantity.
When to use this tool
Use Livestock Feed Contract Basis Gap when checking the stated caller-defined price, fee, return or settlement convention.
How to use the tool and how it works
- Enter localPrice, referencePrice, contractedBasis, quantity. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read observedBasis, basisGap, valueGap. Use the output convention below.
Require nonnegative quantity. Observed basis=local-reference price, basis gap=observed-contractedBasis and valueGap=gap*quantity.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| localPrice | Local Price | Required. Finite number. |
| referencePrice | Reference Price | Required. Finite number. |
| contractedBasis | Contracted Basis | Required. Finite number. |
| quantity | Quantity | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| observedBasis | Observed Basis | Required. Finite number. |
| basisGap | Basis Gap | Required. Finite number. |
| valueGap | Value Gap | Required. Finite number. |
{
"input": {
"localPrice": 220,
"referencePrice": 200,
"contractedBasis": 15,
"quantity": 10
},
"output": {
"observedBasis": 20,
"basisGap": 5,
"valueGap": 50
}
} Limitations and assumptions
- The price/basis inputs are signed caller values on compatible units; no contract validity, settlement rights or price prediction is established.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Inspect original transaction records and applicable contracts/tax rules with the responsible financial/legal professionals for actual settlement or enforcement.
References
Similar or alternative tools
- Produce Grade Premium Price Base
Add either basePrice*premium or the absolute premium to basePrice according to premiumIsFraction, then multiply by acceptedQuantity.
- Produce Grading One Quality Premium
Accepted quantity gets the signed per-unit grade premium; base value still applies to all supplied quantity.