stockbot

0.0.6 • Public • Published

Stockbot

Stock Market data.

Still under development, use with caution.

import Stockbot from 'stockbot';
 
async function make(){
  
    const bot = new Stockbot('demo');
    const stock = bot.stock('AAPL');
    
    const series = await stock.series('1min');
    
    const indicator = await stock.indicator('SMA', '1min', {
       time_period: 10,
       series_type: 'close',
    });
    
    //TODO
    const points = await stock.points('1min', {
      'SMA': {
        time_period: 10,
        series_type: 'close',
      }
    });
    
}
const series = await new Stockbot('demo').stock('APPL').series('1min');

Dependencies (3)

Dev Dependencies (18)

Package Sidebar

Install

npm i stockbot

Weekly Downloads

1

Version

0.0.6

License

MIT

Last publish

Collaborators

  • kresli