Update - Live Preview

I have added a live preview of the charts using the Technical charts from TradingView. Source code of these charts is available.

View in new tab

Live Preview - Chart for PancakeSwap Token (CAKE)

PancakeSwap Cheaper and faster than Uniswap? Discover PancakeSwap, the leading DEX on Binance Smart Chain (BSC) with the best farms in Defi and a lottery for CAKE.

This showcases a couple of OHLC Charts for Pancakeswap Tokens implemented using the TradingView Lightweight Charts and Bitquery.io APIs.

TradingView Techincal Analysis Charts can replace the Lightweight Charts. You would need to request access to the technical charts on their website to use them.

I run a gig on Fiverr.com to help with such integrations and customizations. You can also connect with me on Discord.

If you are new to Fiverr, you can use my referral link to signup and get 20% off on your first order.

OHLC Chart with Bitquery GraphQL API

  • Uses TradingView Lightweight Charts library
  • Integrates with Bitquery.io GraphQL API
  • Shows prices (WBNB) for Pancakeswap tokens
  • Plots both candlestick and bar charts
View in new tab

CAKE/WBNB - A sample integration of TradingView Lightweight Chart library with Bitquery GraphQL API to showcase candlestick chart for PancakeSwap Tokens. Uses Parcel as the bundler.

Chart for another Token

By default, plots a chart for PancakeSwap (CAKE) token. Setting ?token=<token_address> URL parameter plots for another by its address. Below is a sample for UniSwap (UNI) token.

View in new tab

UNI/WBNB - A sample integration of TradingView Lightweight Chart library with Bitquery GraphQL API to showcase candlestick chart for PancakeSwap Tokens. Uses Parcel as the bundler.

Looking for a Developer?

I offer a few services related to TradinView charting libraries at buymeacoffee.com.