Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
react-tradingview-widget
Advanced tools
Changelog
Version 1.1.1
Released 2018-01-20
article
element instead of a div
elementReadme
React component for rendering the TradingView Advanced Real-Time Chart Widget.
yarn add react-tradingview-widget
or
npm install --save react-tradingview-widget
import TradingViewWidget from 'react-tradingview-widget';
const App = () => (
<TradingViewWidget symbol="NASDAQ:AAPL" />
);
All given props are passed on to the widget config. See this page for the TradingView Advanced Real-Time Chart API.
import TradingViewWidget, { Themes } from 'react-tradingview-widget';
const App = () => (
<TradingViewWidget
symbol="NASDAQ:AAPL"
theme={Themes.DARK}
locale="fr"
autosize
/>
);
react-tradingview-widget exports constants for the following things:
IntervalTypes.D
and IntervalTypes.W
Themes.LIGHT
and Themes.DARK
BarStyles.BARS
BarStyles.CANDLES
BarStyles.HOLLOW_CANDLES
BarStyles.HEIKIN_ASHI
BarStyles.LINE
BarStyles.AREA
BarStyles.RENKO
BarStyles.LINE_BREAK
BarStyles.KAGI
BarStyles.POINT_AND_FIGURE
You don't have to use these constants.
react-tradingview-widget also makes it possible to use numbers for interval
, popup_width
and popup_height
instead of strings, but this is not required.
FAQs
React component for rendering the TradingView Advanced Real-Time Chart Widget
We found that react-tradingview-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).