@omersalkanovic/react-trading-view
v0.0.3
Published
React Components for TradingView Embeds
Downloads
7
Maintainers
Readme
React TradingView Embeds
- React + TypeScript components for TradingView Embeds
- https://k-128.github.io/react-tradingview-embed/
Usage
npm install --save react-tradingview-embed
import { AdvancedChart } from "react-tradingview-embed";
const App = () => <AdvancedChart widgetProps={{"theme": "dark"}} />;
Missing widget props
import { AdvancedChart } from "react-tradingview-widget";
// If widgets props are missing, use widgetPropsAny
const App = () => <AdvancedChart widgetPropsAny={{"newProp": true}} />;
If redeclared, props set in widgetPropsAny will override those in widgetProps.
Widget support
- [x] AdvancedChart
- [x] TechnicalAnalysis
- [x] MarketOverview
- [x] MarketData
- [x] StockMarket
- [x] EconomicCalendar
- [x] TickerWidget
- [x] TickerTape
- [x] SingleTicker
- [x] MiniChart
- [x] SymbolOverview
- [x] SymbolInfo
- [x] ForexCrossRates
- [x] ForexHeatMap
- [x] ScreenerWidget
- [x] CryptocurrencyMarket
- [x] FundamentalData
- [x] CompanyProfile
- [x] Timeline