USD asset prices on on dYdX come from decentralized on-chain oracles, and are used to determine the collateralization of your account. These prices are fed to the dYdX smart contracts through price oracles that run on Ethereum. dYdX uses different price oracles for different assets.
For ETH, dYdX uses the MakerDAO ETH-USD price oracle. This price oracle is used by MakerDAO for their stablecoin DAI, and relies on a distributed network of reporters that report the price of ETH in USD.
For DAI, dYdX uses our own price oracle which calculates the USD price of DAI using a combination of eth2dai, Uniswap, and the MakerDAO ETH-USD oracle. The oracle also has several protections against price manipulation on eth2dai and Uniswap.
For USDC, dYdX uses a price of $1 as USDC is exchangeable 1:1 with USD on Coinbase.