@danalytica/charteye-tradingview-plugin
v1.0.0-beta.6
Published
Unlock the power of AI-driven technical analysis directly within TradingView's Advanced Charts with the ChartEye TradingView Plugin.
Downloads
7
Readme
ChartEye TradingView Plugin
Unlock the power of AI-driven technical analysis directly within TradingView's Advanced Charts with the ChartEye TradingView Plugin.
Integration
These instructions will help you integrate the ChartEye TradingView Plugin into TradingView's Advanced Charts.
Prerequisites
- A project with TradingView's Advanced Charts library integrated.
- A ChartEye API key. You can get one by signing up at ChartEye.
- Whitelisted hostname(s). You can whitelist your domain by signing up at ChartEye.
Installation
- Add the ChartEye TradingView Plugin script to your project. Either via npm:
npm install @danalytica/charteye-tradingview-plugin
or via CDN:
<script type="module" src="https://cdn.jsdelivr.net/gh/Danalytica/charteye-tradingview-plugin-dist/charteye.js"></script>
- Instantiate the plugin by passing an instance of the
TradingView.widget
constructor and a configuration object with at least a ChartEye API key:
const widget = new TradingView.widget({
// Your Advanced Charts configuration
});
const charteyePlugin = new ChartEye(widget, {
apiKey: 'xxx'
});
- Call the
init
method to initialize the plugin:
charteyePlugin.init();