Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Releases: tony-ho/binance-oco

v3.1.3

16 Feb 11:42
Compare
Choose a tag to compare

3.1.3 (2021-02-16)

Bug Fixes

  • call getOrder using async instead of Promise (440d092), closes #26

v3.1.2

26 Jan 10:55
Compare
Choose a tag to compare

3.1.2 (2021-01-26)

Bug Fixes

  • ignore "Order does not exist" error (7a9333f), closes #26

v3.1.1

06 Apr 11:58
Compare
Choose a tag to compare

Changes

Update dependencies

v3.1.0

19 Feb 11:39
Compare
Choose a tag to compare

Changes

Cancel buy order if not filled when app is terminated by user.

v3.0.0

06 Feb 10:07
Compare
Choose a tag to compare

Changes

Support new OCO order type - replace separate stop/target sell orders with single OCO order.

v2.4.1

22 May 12:14
Compare
Choose a tag to compare

Changes

Add optional parameters in TypeScript

v2.4.0

15 May 12:53
Compare
Choose a tag to compare

Changes

Validate orders against Binance API order test endpoint. This validates all trading rules on Binance end and replaces existing checks in code.

Replace node-binance-api dependency with binance-api-node.
Migrate source code to TypeScript.

v2.3.0

26 Apr 12:13
Compare
Choose a tag to compare

Changes

Use bignumber.js for price/amount arithmetic (#10)

Remove trading rule validations for orders that would be placed immediately and fail validation on the Binance end ie:

  • all buy orders
  • stop orders when no buy order
  • target orders when no buy or stop order

Validate remaining scenarios to prevent order failure after a position
has been entered.

v2.2.0

17 Apr 09:43
Compare
Choose a tag to compare

Changes

Add options validation
Include MIN_PRICE in stop limit price calculation
Replace fixed 0.1% trading fee with Binance API lookup
Round trading fee adjusted sell amounts to stepSize

v2.1.1

31 Mar 11:44
Compare
Choose a tag to compare

Changes

Fix amount calculation for non-scale out stop orders