get_spread
Calculate the current bid-ask spread for an outcome token to gauge market liquidity. Use it to assess how tight a market is before trading.
Instructions
Calculate and return the current bid-ask spread for a specified outcome token.
The spread serves as a key liquidity indicator; smaller spreads typically denote deeper, more efficient markets.
Args: token_id (str): The fundamental token identifier indicating the outcome side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |