---
library: "bootstrap"
slug: "ExchangeRate"
name: "ExchangeRate"
ref: "ExchangeRate#ac47"
hash: "sema:ExchangeRate#mh:SHA-256:ac473b9c9dc4c536a76b952a76d7c7f1cbbf61ef8092404ae98f0f73ea66acfd"
type: "Economics"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/ExchangeRate"
---

# ExchangeRate

Conversion ratio between value systems

Society · Economics

## Mechanism

A definable ratio between two distinct [Value](https://semahash.org/vocabularies/bootstrap/patterns/Value.md) types or [Metric](https://semahash.org/vocabularies/bootstrap/patterns/Metric.md)s at a specific point in time. It allows agents with orthogonal utility functions to transact.

## Invariants

- Names the source and target [Value](https://semahash.org/vocabularies/bootstrap/patterns/Value.md) types and the ratio between them.
- Carries the timestamp or window over which the rate is valid.
- Invertible where there is no spread: Rate(A→B) equals 1 / Rate(B→A).

## Failure modes

- Stale rate: the window has expired and the ratio is applied anyway.
- Assumed invertibility: a spread is present and the inverse rate is computed rather than quoted.

## Where this came from

—

## Builds on

- [Value](https://semahash.org/vocabularies/bootstrap/patterns/Value.md) (references)
- [Metric](https://semahash.org/vocabularies/bootstrap/patterns/Metric.md) (references)

## Used by

- [ValuePeg](https://semahash.org/vocabularies/bootstrap/patterns/ValuePeg.md) (yields)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: ExchangeRate#ac47
- Hash: sema:ExchangeRate#mh:SHA-256:ac473b9c9dc4c536a76b952a76d7c7f1cbbf61ef8092404ae98f0f73ea66acfd

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/ExchangeRate
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/ExchangeRate.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
