stonksjs
Version:
Algotrading utility scripts. To the moon!!! 🚀🚀🚀
36 lines (30 loc) • 1.31 kB
JavaScript
const path = require('path');
const os = require('os');
const ScreenersURLs = {
Default:
'https://finviz.com/screener.ashx?v=112&f=an_recom_buybetter,exch_nyse,fa_epsyoy_high,fa_pe_u20,fa_peg_low,geo_usa&ft=4&o=-change',
Breakout:
'https://finviz.com/screener.ashx?v=111&s=ta_topgainers&f=an_recom_buybetter,ta_highlow52w_b0to10h,ta_sma20_pa,ta_sma200_sb50,ta_sma50_sb20&ft=4&o=-change',
HighYieldDividends:
'https://finviz.com/screener.ashx?v=111&f=an_recom_buybetter,fa_div_o5,fa_eps5years_pos,fa_epsyoy1_pos,fa_fpe_u20&ft=4&o=dividendyield',
SwingTrending:
'https://finviz.com/screener.ashx?v=111&s=ta_topgainers&f=an_recom_buybetter,ta_sma20_pa,ta_sma200_sb50,ta_sma50_sb20&ft=4&o=-change',
};
const RobinhoodCollections = {
reit: 'https://robinhood.com/collections/reit',
etf: 'https://robinhood.com/collections/etf',
closedEndFunds: 'https://robinhood.com/collections/closed-end-fund',
};
const DividendCollections = {
kings: 'https://dividendvaluebuilder.com/dividend-kings-list/',
aristocrats: 'https://dividendvaluebuilder.com/dividend-aristocrats-list/',
};
const RobinhoodEnums = {
UserTokenFile: path.resolve(os.homedir(), '.stonksjs/user-token.json'),
};
module.exports = {
ScreenersURLs,
RobinhoodEnums,
RobinhoodCollections,
DividendCollections,
};