Skip to main content

Market Overview Widget

This is the React component for the Market Overview Widget

Example#

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

Used Public types#

TypeValue
ColorThemelight / dark
DateRange1D / 1M / 3M / 12M / 60M / ALL
MarketOverviewTabSee here
MarketOverviewSymbolSee here

MarketOverview properties#

PropertyTypeRequiredDefaultDescription
colorThemeColorThemefalselightSets the default theme
dateRangeDateRangefalse12MDefault date range of chart
showChartbooleanfalsetrueShow chart in overview
localeLocalesfalseenSets the default locale
largeChartUrlstringfalseundefinedMake widget redirect to larger chart
isTransparentbooleanfalsefalseTransparent background for component
showSymbolLogobooleanfalsetrueShow logo of symbol
showFloatingTooltipbooleanfalsefalseShow floating tooltip on chart
widthnumber/stringfalse400Sets a static width on the component
heightnumber/stringfalse660Sets a static height on the component
autosizebooleanfalsefalseSets the width and height to 100%
plotLineColorGrowingstringfalsergba(33, 150, 243, 1)Price line growing color
plotLineColorFallingstringfalsergba(33, 150, 243, 1)Price line falling color
gridLineColorstringfalsergba(240, 243, 250, 1)Grid color
scaleFontColorstringfalsergba(120, 123, 134, 1)Font color
belowLineFillColorGrowingstringfalsergba(33, 150, 243, 0.12)Under line area growing color
belowLineFillColorFallingstringfalsergba(33, 150, 243, 0.12)Under line area falling color
belowLineFillColorGrowingBottomstringfalsergba(41, 98, 255, 0)Under line area growing bottom color
belowLineFillColorFallingButtomstringfalsergba(41, 98, 255, 0)Under line area falling bottom collor
symbolActiveColorstringfalsergba(33, 150, 243, 0.12)Active Ticker color
tabsMarketOverviewTab[]falseSee hereTabs in market overview

MarketOverviewTab properties#

PropertyTypeRequiredDefaultDescription
titlestringtrueSee heretitle of the tab
symbolsMarketOverviewSymbol[]trueSee heresymbols of the tab
originalTitlestringtrueSee hereoriginal title of the tab

MarketOverviewSymbol properties#

PropertyTypeRequiredDefaultDescription
sstringtrueSee hereSymbol type
dstringfalseSee hereSymbol name

Tabs default value#

[
{
"title": "Indices",
"symbols": [
{
"s": "FOREXCOM:SPXUSD",
"d": "S&P 500"
},
{
"s": "FOREXCOM:NSXUSD",
"d": "Nasdaq 100"
},
{
"s": "FOREXCOM:DJI",
"d": "Dow 30"
},
{
"s": "INDEX:NKY",
"d": "Nikkei 225"
},
{
"s": "INDEX:DEU30",
"d": "DAX Index"
},
{
"s": "FOREXCOM:UKXGBP",
"d": "UK 100"
}
],
"originalTitle": "Indices"
},
{
"title": "Commodities",
"symbols": [
{
"s": "CME_MINI:ES1!",
"d": "S&P 500"
},
{
"s": "CME:6E1!",
"d": "Euro"
},
{
"s": "COMEX:GC1!",
"d": "Gold"
},
{
"s": "NYMEX:CL1!",
"d": "Crude Oil"
},
{
"s": "NYMEX:NG1!",
"d": "Natural Gas"
},
{
"s": "CBOT:ZC1!",
"d": "Corn"
}
],
"originalTitle": "Commodities"
},
{
"title": "Bonds",
"symbols": [
{
"s": "CME:GE1!",
"d": "Eurodollar"
},
{
"s": "CBOT:ZB1!",
"d": "T-Bond"
},
{
"s": "CBOT:UB1!",
"d": "Ultra T-Bond"
},
{
"s": "EUREX:FGBL1!",
"d": "Euro Bund"
},
{
"s": "EUREX:FBTP1!",
"d": "Euro BTP"
},
{
"s": "EUREX:FGBM1!",
"d": "Euro BOBL"
}
],
"originalTitle": "Bonds"
},
{
"title": "Forex",
"symbols": [
{
"s": "FX:EURUSD"
},
{
"s": "FX:GBPUSD"
},
{
"s": "FX:USDJPY"
},
{
"s": "FX:USDCHF"
},
{
"s": "FX:AUDUSD"
},
{
"s": "FX:USDCAD"
}
],
"originalTitle": "Forex"
}
]