loginradius-sdk/helper.js
function getSott(callback, config, startDate, endDate ) { 
    var cipher = require('./sdk/sott')(config.apisecret, config.apikey, startDate, endDate);
    cipher.then(
        function(sott) {
            return callback(sott);
        },
        function(reason) {
            console.log(reason);
        });
}
function getSott(callback, config, startDate, endDate ) { 
    var cipher = require('./sdk/sott')(config.apisecret, config.apikey, startDate, endDate);
    cipher.then(
        function(sott) {
            return callback(sott);
        },
        function(reason) {
            console.log(reason);
        });
}
function getSott ( callback , config , startDate , endDate ) { var cipher = require ( './sdk/sott' ) ( config . apisecret , config . apikey , startDate , endDate ) ; cipher . then ( function ( sott ) { return callback ( sott ) ; } , function ( reason ) { console . log ( reason ) ; } ) ; }
Calculate SOTT.
Calculate SOTT .