Node Version NPM Version NPM License

Build Status dependencies Status

ActiveTick

ActiveTick Nodejs Library.

  • Uses promises
  • Uses ES6

Requirements:

To Get Started:

  • Install the package in your project
npm install active-tick --save

To use:


const ActiveTick = require('active-tick')({
    // Location of your ActiveTick API:
    API: 'http://localhost:5000'
})

ActiveTick.tickData( 'TSLA', '8/25/2016' )
    .then(( res ) => {
        console.log('Results:', res)
    })
    .catch(( err ) => {
        console.log('Error:', err)
    })

JSDocs Documentation

Enabling the Debugger

To enable debug logs, enable them via environment variables.

To see all debug logs from this app, set the env variable:

DEBUG=active-tick*

Running with your project:

DEBUG=active-tick* node myproject.js

License

MIT License