Comment on page
Market Parameters
Assigned to each market in CAP's contracts.
Parameter | Type | Description |
---|---|---|
name | string | Market's full name. |
category | string | crypto , fx , commodities , or indices . |
maxLeverage | uint256 | The maximum leverage allowed on this market. |
maxDeviation | uint256 | Maximum distance the DON price must be from the the Chainlink price. In basis points (bps). |
fee | uint256 | In bps. |
liqThreshold | uint256 | A position that reaches this amount of loss on its margin can be liquidated. In bps. |
allowChainlinkExecution | boolean | Allow anyone to execute pending orders using Chainlink after a cooldown period has passed. |
isClosed | boolean | Whether the market is closed (e.g. weekends). |
isReduceOnly | boolean | Whether the market accepts only reduce-only orders. |
Last modified 1yr ago