Price Change Limit
A price change limit is enforced in order to prevent certain types of price manipulation. Please split orders into smaller chunks if you are building a large position.
- Increasing a position: no limit
- Reducing or closing a position:
- 250 ticks (roughly 2.5%) per
timestamp
(15 seconds) - Notes
- Since Q1 2022 Optimism uses internal timestamps, updated every 15 seconds.
- Since the cap is per timestamp, the totality of trades during that timestamp count toward the limit. Therefore, the limit may appear to be less than 2.5%.
- 250 ticks (roughly 2.5%) per
Deposit Caps
The exchange has global deposit caps for each collateral type.
- USDC: 25 million
- USDT: 1 million
- ETH: 1,000
- OP: 700,000
- FRAX: 40,000
Above values are accurate as of May 8th, 2023. (Caps do not include leverage).
The caps serve two purposes. One is to limit the amount of funds that can be added in a short interval, which may be done during an attack. Second, non-USDC collateral types are limited by the liquidity of this asset on Optimism (e.g. Uniswap), which would be needed to perform liquidations.
All caps are updated as needed.
Position & Order Caps
You may see the following error if you have too many positions, or positions in too many markets:
Max number of market participation reached. (AB_MNE)
Orders number exceeds. (OB_ONE)
Position and order caps limit the amount of positions and maker orders you can have open at a given time. This ensures that the complexity of updating or closing your positions does not exceed the blockchain’s transaction size limit. (Each block has a limited on the amount of processing that can be done, and it is important to not exceed this limit or transactions will fail.)
Consider using multiple accounts if you need to open more positions or orders.
-
maxOrdersPerMarket
3
Max orders per market is the upper limit on how many different maker orders you can have in each market. For example, you can have liquidity in up to 3 different ranges on the ETH market.
-
maxMarketsPerAccount
5
Max markets per account is the upper limit on how many markets with open positions you can have simultaneously. For example, if you have positions open on ETH, CRV, BTC, AVAX and SOL, you could not open a new position in MATIC without first closing a position.
This applies to taker and maker positions.
Mark / Index Spread Limit for LPs
You will not be able to add liquidity when the spread between mark and index prices exceeds ±20%. Limit does not affect removing liquidity.