# BTC/USD Close Price Calc

### Where does the weekly close price come from?

We utilize the built-in capabilities of [Uniswap v3 oracles](https://docs.uniswap.org/concepts/protocol/oracle) to calculate and store relevant asset prices for the Gud Guess game.

The BTC/USD price we use for Gud Guess is calculated on-chain using 5 minute interval TWAP prices from the Uniswap v3 0.05% fee pools [WBTC/WETH](https://www.dextools.io/app/en/arbitrum/pair-explorer/0x2f5e87c9312fa29aed5c179e456625d79015299c) and [WETH/USDC](https://www.dextools.io/app/en/arbitrum/pair-explorer/0xc31e54c7a869b9fcbecc14363cf510d1c41fa443) on Arbitrum and normalizing to a [predetermined precision USD value](https://docs.gudguess.com/gg-game-mechanics-and-jackpot/price-precision).

When the weekly close occurs, we calculate and store the final close price immediately and any winners can begin claiming their share of the jackpot at that time.
