PairId
A perps pair identifier. NewType("PairId", str) — at runtime it is a plain str.
Definition
PairId = NewType("PairId", str)Construction
from dango.utils.types import PairId
pair = PairId("perp/ethusd")Notes
- Dango pair ids are lowercase strings with the prefix
perp/and the suffixusd(every pair settles in USD). Examples:perp/ethusd,perp/btcusd,perp/solusd. - Use
Info.pair_paramsto enumerate the configured pairs.
See also
Addr— sibling identifier alias