An off-chain oracle monitors yields across protocols and calculates the optimal asset allocation every 30 minutes using nonlinear programming. Yields are fetched directly from smart contracts for security.
A future version of RAY will use a decentralized set of oracles operated by third parties and median values for the allocation optimization.