0 purchases
tradingview ta
Dart TradingView Technical Analysis (dart-tradingview-ta)
An unofficial API wrapper for TradingView that allows you to fetch technical analysis data, now under new management.
Important #
Keep tradingview-ta up to date for new features and bug fixes: flutter pub add tradingview_ta
This project is a Dart implementation of
Features #
Support for multiple symbols
Get multi symbols with multi intervals
Indicators (Only TradingView built-in, does not support Pine Script/custom indicators)
Installation #
pub.dev (stable, recommended):
flutter pub add tradingview_ta
GitHub (latest):
git clone https://github.com/AbdAlftahSalem/dart-tradingview-ta.git
Example #
// to get multi ticekr data with signal interval
TradingViewTA tradingViewTA = TradingViewTA(
tradingView: TradingViewModel(
screener: "crypto",
symbols: ["BINANCE:BTCUSDT", "BINANCE:ETHUSDT"],
interval: Intervals.INTERVAL_1_HOUR,
),
);
// to get multi ticekr data with multi interval
List<Map<String, dynamic>> resAnalysis = await tradingViewTA.getAnalysis();
// to get multi ticekr data with multi interval
List<Map<String, dynamic>> res =
await tradingViewTA.getAnalysisWithMultiFrame(
intervals: [
Intervals.INTERVAL_1_MONTH,
Intervals.INTERVAL_1_HOUR,
],
);
print(res);
// to get support and resistant for tickers
List<Map<String, dynamic>> resSupportAndResistant = await tradingViewTA.getSupportAndResistant();
print(resSupportAndResistant);
print(resAnalysis);
copied to clipboard
Tip: Use https://tvdb.analyzer.rest/ if you don't know what symbol, screener, and exchange to use.
Methods #
getAnalysis()
getSupportAndResistant ()
Package on pub.dev
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.