tradingview_ta 2.0.0 copy "tradingview_ta: ^2.0.0" to clipboard
tradingview_ta: ^2.0.0 copied to clipboard

Unofficial TradingView technical analysis API wrapper in dart.

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);

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

9
likes
150
points
69
downloads

Publisher

unverified uploader

Weekly Downloads

Unofficial TradingView technical analysis API wrapper in dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio

More

Packages that depend on tradingview_ta