Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 2.53 KB

File metadata and controls

73 lines (50 loc) · 2.53 KB

CryptoCompare API may be blocked by CORS policy so try out the solution. (https://stackoverflow.com/a/42024918/6382158)

Interval

Timeframe

Default Options

Disable Features

Enable Features

Configure Buttons

https://github.com/yasincidem/chart/blob/ebf40078bb6e20e4c054582e091ad318b27c0321/src/components/TVChartContainer/index.jsx#L76

Add New Pairings


export default {
  "BTC/USD": "Coinbase",
  "ETH/USD": "Coinbase",
  "XLM/BTC": "Bitfinex",
  "XLM/ETH": "Bitfinex",
  "XLM/USD": "Bitfinex",
  "LTC/BTC": "Binance"
}


{
  symbol: 'LTC/BTC',
  full_name: 'LTC/BTC',
  description: 'description',
  exchange: 'Binance',
  type: 'type'
}

How to build

git clone https://github.com/yasincidem/chart.git

cd chart

npm install

Make your changes on code

To test your changes do npm start.It will be displayed on localhost:3000

To get production build do npm run build.It will create build folder.

Get charting_library folder, static folder and index.html from build folder add these to public folder in your react app