Orderbook & Matching Engine
Depositing into Zeta for the first time requires the creation of a open orders account. This is done atomically in the first order you place on that market. (This will have a one time cost per market of ~0.024 SOL).
The orderbook has enough space allocated to store a maximum of 455 orders per side (bid and ask). It uses a FIFO mechanism (first in first out).
If more than 455 orders are placed, the worst order (lowest bid or highest ask) placed on the orderbook will be booted off, and the corresponding order is cancelled for the user.