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

ib

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ib - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

14

lib/order/market.js

@@ -5,3 +5,3 @@ var assert = require('assert');

module.exports = function (action, quantity, transmitOrder) {
module.exports = function (action, quantity, transmitOrder, goodAfterTime, goodTillDate) {
assert(_.isString(action), 'Action must be a string.');

@@ -14,2 +14,10 @@ assert(_.isNumber(quantity), 'Quantity must be a string.');

if ( goodAfterTime === undefined ) {
goodAfterTime = '';
}
if ( goodTillDate === undefined ) {
goodTillDate = '';
}
return {

@@ -19,4 +27,6 @@ action: action,

totalQuantity: quantity,
transmit: transmitOrder
transmit: transmitOrder,
goodAfterTime: goodAfterTime,
goodTillDate: goodTillDate
};
};

2

package.json
{
"name": "ib",
"description": "Interactive Brokers TWS (or IB Gateway) API client library for Node.js",
"version": "0.1.20",
"version": "0.1.21",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": {

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