How Are Trades Settled?

Zetas programs use an oracle feed to fetch the underlying asset price. This is used in our system to then track market prices and also settlement prices which are used to mark the outcome of a trade. When a trade is closed or settled the profit and loss is realized to the users trading account.