Comparing version 0.1.11 to 0.1.12
@@ -5,3 +5,3 @@ var assert = require('assert'); | ||
module.exports = function (symbol, expiry, currency, exchange) { | ||
module.exports = function (symbol, expiry, currency, exchange, multiplier) { | ||
assert(_.isString(symbol), 'Symbol must be a string.'); | ||
@@ -11,8 +11,9 @@ assert(_.isString(expiry), 'Expiry must be a string.'); | ||
return { | ||
secType: 'FUT', | ||
symbol: symbol, | ||
expiry: expiry, | ||
currency: currency || 'USD', | ||
exchange: exchange || 'ONE', | ||
expiry: expiry, | ||
secType: 'FUT', | ||
symbol: symbol | ||
multiplier: multiplier || 50, | ||
}; | ||
}; |
{ | ||
"name": "ib", | ||
"description": "Interactive Brokers TWS (or IB Gateway) API client library for Node.js", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": { |
113060
2953