const markets = await zeus.markets.list()
const { min, max } = await zeus.markets.price('ETH/USD')
const room = await zeus.markets.capacity('ETH/USD', 'long')
const rates = await zeus.markets.borrowRates()
| Call | Returns |
|---|---|
markets.list() | Symbol, index token, decimals and whether it can be shorted, cached for 10 minutes |
markets.get(symbol) | One market; throws UnknownMarket when it is not listed |
markets.price(symbol) | The Vault minimum and maximum price, the prices the contract trades at |
markets.capacity(symbol, side) | The USD size a market order can still open on that side, the figure the ZEUS app shows |
markets.borrowRates() | Hourly borrow rate for Longs and Shorts of each market, in percent |