fCash Markets
Get active fCash Markets
We can use the getActiveMarkets method to get a list of the current active markets in a given currency:
activeMarkets = notional.getActiveMarkets(currencyId)Get a market's total fCash and total Prime Cash holdings
market3Months = activeMarkets[0]
market6Months = activeMarkets[1]
# Get the maturity of the 3 Month market
maturity = market3Months[1]
# Get the 3 Month market total Prime Cash balance
primeCashBalance3MonthMarket = market3Months[3]/1e8
# Get the 3 Month market total fCash balance
fCashBalance3MonthMarket = market3Months[2]/1e8Get a market's utilization
An fCash market's utilization is defined as total fCash/ (total fCash + total Prime Cash in underlying):
Get fCash rates
Last updated