
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
activetick
Advanced tools
ActiveTick API addon for Node.js
Author: Jae Yang - [dchem] (https://keybase.io/dchem)
npm install activetick
.npm install node-gyp -g
sudo apt-get install unzip
mingw-get install msys-unzip
mingw-get install msys-wget
npm install activetick
For Windows with MSVS 2013:
npm install activetick --msvs_version=2013
For Windows with MSVS 2012:
npm install activetick --msvs_version=2012
Alternatively, include GYP_MSVS_VERSION=2012
or GYP_MSVS_VERSION=2013
in
environment variables for Windows.
node-gyp rebuild
node-gyp --msvs_version=2012 rebuild
var addon = require('activetick');
var messageIds = addon.messageIds;
var api = new addon.NodeActivetick();
var activetickCb = function (data) {
console.log(JSON.stringify(data,null,2));
};
// See messageId.js for message types to be tracked
Object.keys(messageIds).forEach(function (messageId) {
api.handlers[messageId] = activetickCb;
});
// Don't put credentials in your scripts. Make sure you export
// them as environment variables
var connected = api.connect( process.env.ATAPIKEY,
"activetick1.activetick.com",
5000,
process.env.ATUID,
process.env.ATPWD );
if (connected) {
api.beginProcessing();
}
For more details, see activetick.js or run jsdoc on the package directory
.getSessionHandle()
.closeAllATRequests()
.closeATRequest()
.sendATBarHistoryDbRequest( request )
.sendATLoginRequest( request )
.sendATMarketHolidaysRequest( request )
.sendATMarketMoversDbRequest( request )
.sendATMarketMoversStreamRequest( request )
.sendATQuoteDbRequest( request )
.sendATQuoteStreamRequest( request )
.sendATTickHistoryDbRequest( request )
.sendATSectorListRequest( request )
.sendATConstituentListRequest( request )
.connect( apiKey, serverAddr, port, userid, passwd )
Copyright (c) 2016 Jae Yang. See LICENSE file for license rights and limitations (MIT).
FAQs
Activetick API addon for NodeJS
We found that activetick demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.