TradingView
elliptic-capital
9 Apr 2021 pukul 18.43

USD Prices for Uniswap Token/WETH 

DEFIPULSE INDEX / WRAPPED ETHER on Ethereum (4D5EF5...059991)Uniswap v2 (Ethereum)

Huraian

Uniswap instrument prices are in WETH. This indicator translates the series to USD prices and plots the series as candles or as a line. Data is translated by using corresponding series data for ETHUSD. The reference ETHUSD price is from Coinbase.

Any token listed as a ETH/WETH pair could be specified as an input parameter. The default instrument value is set to UNISWAP: DPIWETH, an index created by indexcoop and tracking the DEFI basket.

The script is simple and easy to understand. It allows for quick conversion and comparisons and something we had to do in a custom way prior to this script. The crypto and DEFI community would benefit from it immensely. There is even a feature request for something like this on the tradingview subreddit.
Lebih