Skip to main content

Cryptocurrency Market Widget

This is the React component for the Cryptocurrency Market Widget

Example#

import { CryptoCurrencyMarket } from "react-ts-tradingview-widgets";
<CryptoCurrencyMarket colorTheme="dark" width="100%" height={400}></CryptoCurrencyMarket>

Used Private types#

TypeValue
DefaultColumnsoverview / performance / oscillators / moving_averages

Used Public types#

TypeValue
ColorThemelight / dark

| DefaultColumns | overview / performance / oscillators / moving_averages |

Properties#

PropertyTypeRequiredDefaultDescription
widthnumber/stringfalse1000Sets a static width on the component
heightnumber/stringfalse490Sets a static height on the component
autosizebooleanfalsefalseSets the width and height to 100%
defaultColumnDefaultColumnsfalseoverviewSets default columns
screener_typecrypto_mktfalsecrypto_mktSets screener_type (Its always crypto_mkt)
displayCurrencyUSD / BTCfalseUSDSets default Display currency
colorThemeColorThemefalselightSets the default theme
localeLocalesfalseenSets the default locale
isTransparentbooleanfalsefalseTransparent background for component