diff --git a/CHANGELOG b/CHANGELOG index 2e2fa11..e3040a6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +# 1.2.11 +- fix: support 'IOC' and 'EXCHANGE IOC' order types + # 1.2.10 - feature: add walletFx to currency model - fix: currencies explorer is an array not a string diff --git a/lib/order.js b/lib/order.js index a3f30d6..116f000 100644 --- a/lib/order.js +++ b/lib/order.js @@ -24,7 +24,7 @@ const statuses = ['ACTIVE', 'EXECUTED', 'PARTIALLY FILLED', 'CANCELED'] const types = [ 'MARKET', 'EXCHANGE MARKET', 'LIMIT', 'EXCHANGE LIMIT', 'STOP', 'EXCHANGE STOP', 'TRAILING STOP', 'EXCHANGE TRAILING STOP', 'FOK', - 'EXCHANGE FOK', 'STOP LIMIT', 'EXCHANGE STOP LIMIT' + 'EXCHANGE FOK', 'STOP LIMIT', 'EXCHANGE STOP LIMIT', 'IOC', 'EXCHANGE IOC' ] const boolFields = ['notify'] diff --git a/package.json b/package.json index a4a878a..d236121 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bfx-api-node-models", - "version": "1.2.10", + "version": "1.2.11", "description": "Object models for usage with the Bitfinex node API", "engines": { "node": ">=8.3.0"