stockbot
Stock market data
Last updated 2 years ago by kresli .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install stockbot 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.6                                ...           latest (2 years ago)

6 Versions

  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (18)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |