<MarketOverview/>

Market Overview Widget

Grab an overview of global markets performance, including change values, Open, High, Low, and Close values for selected financial instruments.


Options

Use the TradingView Market Overview Widget builder to generate the options for the <MarketOverview/> widget and pass into the options prop.

example
<template>
  <MarketOverview :options="{
    width: '100%',
    height: 450,
    colorTheme: 'dark',
    dateRange: '12M',
    showChart: true,
    locale: 'en',
    largeChartUrl: '',
    isTransparent: false,
    showSymbolLogo: true,
    showFloatingTooltip: false,
    plotLineColorGrowing: 'rgba(41, 98, 255, 1)',
    plotLineColorFalling: 'rgba(41, 98, 255, 1)',
    gridLineColor: 'rgba(42, 46, 57, 0)',
    scaleFontColor: 'rgba(134, 137, 147, 1)',
    belowLineFillColorGrowing: 'rgba(41, 98, 255, 0.12)',
    belowLineFillColorFalling: 'rgba(41, 98, 255, 0.12)',
    belowLineFillColorGrowingBottom: 'rgba(41, 98, 255, 0)',
    belowLineFillColorFallingBottom: 'rgba(41, 98, 255, 0)',
    symbolActiveColor: 'rgba(41, 98, 255, 0.12)',
    tabs: [
      {
        title: 'Indices',
        symbols: [
          {
            s: 'FOREXCOM:SPXUSD',
            d: 'S&P 500 Index',
          },
          {
            s: 'FOREXCOM:NSXUSD',
            d: 'US 100 Cash CFD',
          },
          {
            s: 'FOREXCOM:DJI',
            d: 'Dow Jones Industrial Average Index',
          },
          {
            s: 'INDEX:NKY',
            d: 'Nikkei 225',
          },
          {
            s: 'INDEX:DEU40',
            d: 'DAX Index',
          },
          {
            s: 'FOREXCOM:UKXGBP',
            d: 'FTSE 100 Index',
          },
        ],
        originalTitle: 'Indices',
      },
      {
        title: 'Futures',
        symbols: [
          {
            s: 'CME_MINI:ES1!',
            d: 'S&P 500',
          },
          {
            s: 'CME:6E1!',
            d: 'Euro',
          },
          {
            s: 'COMEX:GC1!',
            d: 'Gold',
          },
          {
            s: 'NYMEX:CL1!',
            d: 'WTI Crude Oil',
          },
          {
            s: 'NYMEX:NG1!',
            d: 'Gas',
          },
          {
            s: 'CBOT:ZC1!',
            d: 'Corn',
          },
        ],
        originalTitle: 'Futures',
      },
      {
        title: 'Bonds',
        symbols: [
          {
            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',
            d: 'EUR to USD',
          },
          {
            s: 'FX:GBPUSD',
            d: 'GBP to USD',
          },
          {
            s: 'FX:USDJPY',
            d: 'USD to JPY',
          },
          {
            s: 'FX:USDCHF',
            d: 'USD to CHF',
          },
          {
            s: 'FX:AUDUSD',
            d: 'AUD to USD',
          },
          {
            s: 'FX:USDCAD',
            d: 'USD to CAD',
          },
        ],
        originalTitle: 'Forex',
      },
    ],
  }"/>
</template>

Preview

Table of Contents