Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

investors-exchange.api

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

investors-exchange.api - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

2

distribution/reference/index.js

@@ -1,1 +0,1 @@

'use strict';var _regenerator=require('babel-runtime/regenerator'),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=require('babel-runtime/helpers/asyncToGenerator'),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_lib=require('../lib');Object.defineProperty(exports,'__esModule',{value:!0});function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}var path=function(a){return'/ref-data'+a},reference={};reference.corporate_actions=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/corporate-actions'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.dividends=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/dividends'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.next_day_ex_date=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/next-day-ex-date'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.symbols=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){var c=b.format,d=c===void 0?'json':c;return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/symbols'),{format:d});case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.symbol_directory=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/symbol-directory'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),exports.default=reference;
'use strict';var _regenerator=require('babel-runtime/regenerator'),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=require('babel-runtime/helpers/asyncToGenerator'),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_lib=require('../lib');Object.defineProperty(exports,'__esModule',{value:!0});function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}var path=function(a){return'/ref-data'+a},reference={};reference.corporate_actions=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/corporate-actions'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.dividends=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/dividends'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.next_day_ex_date=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/next-day-ex-date'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.symbols=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(){var b=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{format:'json'},c=b.format;return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/symbols'),{format:c});case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),reference.symbol_directory=function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(b){return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,_lib.fetch)(path('/daily-list/symbol-directory'+(b?'/'+b:'')));case 2:return a.abrupt('return',a.sent);case 3:case'end':return a.stop();}},a,void 0)}));return function(){return a.apply(this,arguments)}}(),exports.default=reference;

@@ -1,1 +0,1 @@

'use strict';var _regenerator=require('babel-runtime/regenerator'),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=require('babel-runtime/helpers/asyncToGenerator'),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_classCallCheck2=require('babel-runtime/helpers/classCallCheck'),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_lib=require('../lib');Object.defineProperty(exports,'__esModule',{value:!0});function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}var stock=function a(){(0,_classCallCheck3.default)(this,a),_initialiseProps.call(this);for(var b=arguments.length,c=Array(b),d=0;d<b;d++)c[d]=arguments[d];var e=c[0],f=void 0===e?'market':e;return this.symbol=f.toLowerCase(),this},_initialiseProps=function(){var a=this;this.book=this.handle('/book'),this.chart=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){for(var c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/chart/'+(d?d.join('/'):'1m'));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.collection=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c,d){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/collection/'+c,{collectionName:d});case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.company=this.handle('/company'),this.crypto=this.handle('/crypto'),this.delayed_quote=this.handle('/delayed_quote'),this.dividends=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/dividends/'+(c||'1m'));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.earnings=this.handle('/earnings'),this.effective_spread=this.handle('/effective-spread'),this.financials=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){var d=c.period,e=d===void 0?'quarter':d;return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle(path('/financials'),{period:e});case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.handle=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c,d){var e,f;return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return e=a.path,f=a.symbol,b.next=3,(0,_lib.fetch)(e(c),d);case 3:return b.abrupt('return',b.sent);case 4:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.ipos=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){var c=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'upcoming';return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/'+c+'-ipos');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.historical=this.chart,this.largest_trades=this.handle('/largest-trades'),this.list=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/list/'+c);case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.logo=this.handle('/logo'),this.news=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/news/last/'+(c||1));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.ohlc=this.handle('/ohlc'),this.openclose=this.ohlc,this.path=function(b){return'/stock/'+a.symbol+b},this.peers=this.handle('/peers'),this.price=this.handle('/price'),this.previous=this.handle('/previous'),this.quote=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){var c=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},d=c.displayPercent;return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/quote',{displayPercent:d});case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.relevant=this.handle('/relevant'),this.sector_performance=this.handle('/sector-performance'),this.short_interest=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/short-interest/'+(c||''));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.splits=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/splits/'+(c||'1m'));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.spread=this.handle('/effective-spread'),this.stats=this.handle('/stats'),this.threshold_securities=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/threshold-securities/'+(c||''));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.time_series=this.chart,this.today_earnings=this.handle('/today-earnings'),this.volume_by_venue=this.handle('/volume-by-venue')};exports.default=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return new(Function.prototype.bind.apply(stock,[null].concat(b)))};
'use strict';var _regenerator=require('babel-runtime/regenerator'),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=require('babel-runtime/helpers/asyncToGenerator'),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_classCallCheck2=require('babel-runtime/helpers/classCallCheck'),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_lib=require('../lib');Object.defineProperty(exports,'__esModule',{value:!0});function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}var stock=function a(){(0,_classCallCheck3.default)(this,a),_initialiseProps.call(this);for(var b=arguments.length,c=Array(b),d=0;d<b;d++)c[d]=arguments[d];var e=c[0],f=void 0===e?'market':e;return this.symbol=f.toLowerCase(),this},_initialiseProps=function(){var a=this;this.book=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/book');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.chart=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){for(var c=arguments.length,d=Array(c),e=0;e<c;e++)d[e]=arguments[e];return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/chart/'+(d?d.join('/'):'1m'));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.collection=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c,d){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/collection/'+c,{collectionName:d});case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.company=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/company');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.crypto=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/crypto');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.delayed_quote=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/delayed_quote');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.dividends=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/dividends/'+(c||'1m'));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.earnings=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/earnings');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.effective_spread=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/effective-spread');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.financials=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){var c=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{period:'quarter'},d=c.period;return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle(path('/financials'),{period:d});case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.handle=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c,d){var e,f;return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return e=a.path,f=a.symbol,b.next=3,(0,_lib.fetch)(e(c),d);case 3:return b.abrupt('return',b.sent);case 4:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.ipos=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){var c=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'upcoming';return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/'+c+'-ipos');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.historical=this.chart,this.largest_trades=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/largest-trades');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.list=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/list/'+c);case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.logo=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/logo');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.news=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/news/last/'+(c||1));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.ohlc=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/ohlc');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.openclose=this.ohlc,this.path=function(b){return'/stock/'+a.symbol+b},this.peers=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/peers');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.price=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/price');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.previous=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/previous');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.quote=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){var c=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},d=c.displayPercent;return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/quote',{displayPercent:d});case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.relevant=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/relevant');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.sector_performance=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/sector-performance');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.short_interest=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/short-interest/'+(c||''));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.splits=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/splits/'+(c||'1m'));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.spread=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/effective-spread');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.stats=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/stats');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.threshold_securities=function(){var b=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(c){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/threshold-securities/'+(c||''));case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}));return function(){return b.apply(this,arguments)}}(),this.time_series=this.chart,this.today_earnings=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/today-earnings');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)})),this.volume_by_venue=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function b(){return _regenerator2.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,a.handle('/volume-by-venue');case 2:return b.abrupt('return',b.sent);case 3:case'end':return b.stop();}},b,a)}))};exports.default=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return new(Function.prototype.bind.apply(stock,[null].concat(b)))};
{
"name": "investors-exchange.api",
"version": "0.0.26",
"version": "0.0.27",
"description": "Unofficial Browser / NodeJS API for https://iextrading.com",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc