GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 1.18.459 · electic/ccxt@7e25c62

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • ccxt.js
  • dist
    • ccxt.browser.js
  • package-lock.json
  • package.json
  • php
    • Exchange.php
    • bittrex.php
  • python/ccxt
    • __init__.py
    • async_support
      • __init__.py
      • base
        • exchange.py
      • bittrex.py
    • base
      • exchange.py
    • bittrex.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ccxt.js‎

Copy file name to clipboardExpand all lines: ccxt.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
3737
//-----------------------------------------------------------------------------
3838
// this is updated by vss.js when building
3939

40-
const version = '1.18.458'
40+
const version = '1.18.459'
4141

4242
Exchange.ccxtVersion = version
4343

Collapse file

‎dist/ccxt.browser.js‎

Copy file name to clipboardExpand all lines: dist/ccxt.browser.js
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Exchange = require ('./js/base/Exchange')
4545
//-----------------------------------------------------------------------------
4646
// this is updated by vss.js when building
4747

48-
const version = '1.18.458'
48+
const version = '1.18.459'
4949

5050
Exchange.ccxtVersion = version
5151

@@ -17586,6 +17586,9 @@ module.exports = class bittrex extends Exchange {
1758617586
let filled = undefined;
1758717587
if (amount !== undefined && remaining !== undefined) {
1758817588
filled = amount - remaining;
17589+
if ((status === 'closed') && (remaining > 0)) {
17590+
status = 'canceled';
17591+
}
1758917592
}
1759017593
if (!cost) {
1759117594
if (price && filled)
Collapse file

‎package-lock.json‎

Copy file name to clipboardExpand all lines: package-lock.json
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ccxt",
3-
"version": "1.18.458",
3+
"version": "1.18.459",
44
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
55
"main": "./ccxt.js",
66
"unpkg": "dist/ccxt.browser.js",
Collapse file

‎php/Exchange.php‎

Copy file name to clipboardExpand all lines: php/Exchange.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
use kornrunner\Secp256k1;
3535
use kornrunner\Solidity;
3636

37-
$version = '1.18.458';
37+
$version = '1.18.459';
3838

3939
// rounding mode
4040
const TRUNCATE = 0;
@@ -50,7 +50,7 @@
5050

5151
class Exchange {
5252

53-
const VERSION = '1.18.458';
53+
const VERSION = '1.18.459';
5454

5555
public static $eth_units = array (
5656
'wei' => '1',
Collapse file

‎php/bittrex.php‎

Copy file name to clipboardExpand all lines: php/bittrex.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,9 @@ public function parse_order ($order, $market = null) {
843843
$filled = null;
844844
if ($amount !== null && $remaining !== null) {
845845
$filled = $amount - $remaining;
846+
if (($status === 'closed') && ($remaining > 0)) {
847+
$status = 'canceled';
848+
}
846849
}
847850
if (!$cost) {
848851
if ($price && $filled)
Collapse file

‎python/ccxt/__init__.py‎

Copy file name to clipboardExpand all lines: python/ccxt/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# ----------------------------------------------------------------------------
2424

25-
__version__ = '1.18.458'
25+
__version__ = '1.18.459'
2626

2727
# ----------------------------------------------------------------------------
2828

Collapse file

‎python/ccxt/async_support/__init__.py‎

Copy file name to clipboardExpand all lines: python/ccxt/async_support/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# -----------------------------------------------------------------------------
66

7-
__version__ = '1.18.458'
7+
__version__ = '1.18.459'
88

99
# -----------------------------------------------------------------------------
1010

Collapse file

‎python/ccxt/async_support/base/exchange.py‎

Copy file name to clipboardExpand all lines: python/ccxt/async_support/base/exchange.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# -----------------------------------------------------------------------------
44

5-
__version__ = '1.18.458'
5+
__version__ = '1.18.459'
66

77
# -----------------------------------------------------------------------------
88

Collapse file

‎python/ccxt/async_support/bittrex.py‎

Copy file name to clipboardExpand all lines: python/ccxt/async_support/bittrex.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,8 @@ def parse_order(self, order, market=None):
805805
filled = None
806806
if amount is not None and remaining is not None:
807807
filled = amount - remaining
808+
if (status == 'closed') and(remaining > 0):
809+
status = 'canceled'
808810
if not cost:
809811
if price and filled:
810812
cost = price * filled

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.