GeezerVison is showing github.com — 1.18.459 · electic/ccxt@7e25c62
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: ccxt.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange') | 37 | 37 | //----------------------------------------------------------------------------- | 38 | 38 | // this is updated by vss.js when building | 39 | 39 |
| 40 | | -const version = '1.18.458' | | 40 | +const version = '1.18.459' | 41 | 41 |
| 42 | 42 | Exchange.ccxtVersion = version | 43 | 43 |
| |
Collapse file Copy file name to clipboardExpand all lines: dist/ccxt.browser.js +4-1Lines changed: 4 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -45,7 +45,7 @@ const Exchange = require ('./js/base/Exchange') | 45 | 45 | //----------------------------------------------------------------------------- | 46 | 46 | // this is updated by vss.js when building | 47 | 47 |
| 48 | | -const version = '1.18.458' | | 48 | +const version = '1.18.459' | 49 | 49 |
| 50 | 50 | Exchange.ccxtVersion = version | 51 | 51 |
| @@ -17586,6 +17586,9 @@ module.exports = class bittrex extends Exchange { | 17586 | 17586 | let filled = undefined; | 17587 | 17587 | if (amount !== undefined && remaining !== undefined) { | 17588 | 17588 | filled = amount - remaining; | | 17589 | + if ((status === 'closed') && (remaining > 0)) { | | 17590 | + status = 'canceled'; | | 17591 | + } | 17589 | 17592 | } | 17590 | 17593 | if (!cost) { | 17591 | 17594 | if (price && filled) | |
Collapse file Copy file name to clipboardExpand all lines: package-lock.json +1-1Lines changed: 1 addition & 1 deletion Collapse file Copy file name to clipboardExpand all lines: package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "ccxt", | 3 | | - "version": "1.18.458", | | 3 | + "version": "1.18.459", | 4 | 4 | "description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges", | 5 | 5 | "main": "./ccxt.js", | 6 | 6 | "unpkg": "dist/ccxt.browser.js", | |
Collapse file Copy file name to clipboardExpand all lines: php/Exchange.php +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 34 | 34 | use kornrunner\Secp256k1; | 35 | 35 | use kornrunner\Solidity; | 36 | 36 |
| 37 | | -$version = '1.18.458'; | | 37 | +$version = '1.18.459'; | 38 | 38 |
| 39 | 39 | // rounding mode | 40 | 40 | const TRUNCATE = 0; | | 50 | 50 |
| 51 | 51 | class Exchange { | 52 | 52 |
| 53 | | - const VERSION = '1.18.458'; | | 53 | + const VERSION = '1.18.459'; | 54 | 54 |
| 55 | 55 | public static $eth_units = array ( | 56 | 56 | 'wei' => '1', | |
Collapse file Copy file name to clipboardExpand all lines: php/bittrex.php +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -843,6 +843,9 @@ public function parse_order ($order, $market = null) { | 843 | 843 | $filled = null; | 844 | 844 | if ($amount !== null && $remaining !== null) { | 845 | 845 | $filled = $amount - $remaining; | | 846 | + if (($status === 'closed') && ($remaining > 0)) { | | 847 | + $status = 'canceled'; | | 848 | + } | 846 | 849 | } | 847 | 850 | if (!$cost) { | 848 | 851 | if ($price && $filled) | |
Collapse file Copy file name to clipboardExpand all lines: python/ccxt/__init__.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 22 | 22 |
| 23 | 23 | # ---------------------------------------------------------------------------- | 24 | 24 |
| 25 | | -__version__ = '1.18.458' | | 25 | +__version__ = '1.18.459' | 26 | 26 |
| 27 | 27 | # ---------------------------------------------------------------------------- | 28 | 28 |
| |
Collapse file Copy file name to clipboardExpand all lines: python/ccxt/async_support/__init__.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 4 | 4 |
| 5 | 5 | # ----------------------------------------------------------------------------- | 6 | 6 |
| 7 | | -__version__ = '1.18.458' | | 7 | +__version__ = '1.18.459' | 8 | 8 |
| 9 | 9 | # ----------------------------------------------------------------------------- | 10 | 10 |
| |
Collapse file Copy file name to clipboardExpand all lines: python/ccxt/async_support/base/exchange.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 |
| 3 | 3 | # ----------------------------------------------------------------------------- | 4 | 4 |
| 5 | | -__version__ = '1.18.458' | | 5 | +__version__ = '1.18.459' | 6 | 6 |
| 7 | 7 | # ----------------------------------------------------------------------------- | 8 | 8 |
| |
Collapse file Copy file name to clipboardExpand all lines: python/ccxt/async_support/bittrex.py +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -805,6 +805,8 @@ def parse_order(self, order, market=None): | 805 | 805 | filled = None | 806 | 806 | if amount is not None and remaining is not None: | 807 | 807 | filled = amount - remaining | | 808 | + if (status == 'closed') and(remaining > 0): | | 809 | + status = 'canceled' | 808 | 810 | if not cost: | 809 | 811 | if price and filled: | 810 | 812 | cost = price * filled | |
|