gpresland / tipranks

Provides a simple Node library for accessing TipRanks' publicly accessible stock information for demonstration purposes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[DEPRECATED] TipRanks

Provides a simple Node library for accessing TipRanks' publicly accessible stock information for demonstration purposes.

*NOTE: Due to changes to TipRanks unoffical APIs, this module is unlikely to retreive accurate data, and will likely get blocked.


Tests

Use "mocha tests" to test all API functionality.


Example Usage

var api       = require('../tipranks').api,
    analytics = require('../tipranks').analytics,
    
    Benchmark = api.BenchmarkEnum,
    Experts   = api.ExpertTypeEnum,
    Periods   = api.PeriodEnum,

    options   = {};

// Get short picks with high upside
options = {
    benchmark: Benchmark.SNP,
    period: Periods.OneMonth,
    minChange: 20,
    minUpside: 20,
    sort: 'upside'
};


analytics.getMostRecommendedStocks(options).then(function (stocks) {
    console.dir(stocks);
});

About

Provides a simple Node library for accessing TipRanks' publicly accessible stock information for demonstration purposes.


Languages

Language:JavaScript 100.0%