peg-deviation
Calculate a stablecoin's deviation from its target peg using a single mid price or a stored quote series, with threshold checks for out-of-peg conditions.
Instructions
Stablecoin deviation from its peg, from one mid price or from the lake.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "peg-deviation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ask | No | ||
| bid | No | ||
| price | No | ||
| symbol | No | ||
| target | No | ||
| threshold | No | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. |