tradingview_ta 1.5.0 copy "tradingview_ta: ^1.5.0" to clipboard
tradingview_ta: ^1.5.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
  • 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
0
pub points
65%
popularity

Publisher

unverified uploader

Unofficial TradingView technical analysis API wrapper in dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio

More

Packages that depend on tradingview_ta