Skip to content

Commit 4d83743

Browse files
author
Travis CI
committed
1.17.86
[ci skip]
1 parent 12d4bb0 commit 4d83743

14 files changed

Lines changed: 53 additions & 25 deletions

File tree

build/ccxt.browser.js

Lines changed: 12 additions & 5 deletions
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.17.85'
48+
const version = '1.17.86'
4949

5050
Exchange.ccxtVersion = version
5151

@@ -18158,16 +18158,20 @@ module.exports = class bxinth extends Exchange {
1815818158
for (let p = 0; p < keys.length; p++) {
1815918159
let market = markets[keys[p]];
1816018160
let id = market['pairing_id'].toString ();
18161-
let base = market['secondary_currency'];
18162-
let quote = market['primary_currency'];
18163-
base = this.commonCurrencyCode (base);
18164-
quote = this.commonCurrencyCode (quote);
18161+
let baseId = market['secondary_currency'];
18162+
let quoteId = market['primary_currency'];
18163+
let active = market['active'];
18164+
let base = this.commonCurrencyCode (baseId);
18165+
let quote = this.commonCurrencyCode (quoteId);
1816518166
let symbol = base + '/' + quote;
1816618167
result.push ({
1816718168
'id': id,
1816818169
'symbol': symbol,
1816918170
'base': base,
1817018171
'quote': quote,
18172+
'baseId': baseId,
18173+
'quoteId': quoteId,
18174+
'active': active,
1817118175
'info': market,
1817218176
});
1817318177
}
@@ -20790,6 +20794,9 @@ module.exports = class coinegg extends Exchange {
2079020794
'options': {
2079120795
'quoteIds': [ 'btc', 'eth', 'usc', 'usdt' ],
2079220796
},
20797+
'commonCurrencies': {
20798+
'JBC': 'JubaoCoin',
20799+
},
2079320800
});
2079420801
}
2079520802

ccxt.js

Lines 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.17.85'
40+
const version = '1.17.86'
4141

4242
Exchange.ccxtVersion = version
4343

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ccxt",
3-
"version": "1.17.85",
3+
"version": "1.17.86",
44
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ exchanges",
55
"main": "./ccxt.js",
66
"unpkg": "build/ccxt.browser.js",

php/Exchange.php

Lines 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.17.85';
37+
$version = '1.17.86';
3838

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

5151
class Exchange {
5252

53-
const VERSION = '1.17.85';
53+
const VERSION = '1.17.86';
5454

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

php/bxinth.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,20 @@ public function fetch_markets () {
8383
for ($p = 0; $p < count ($keys); $p++) {
8484
$market = $markets[$keys[$p]];
8585
$id = (string) $market['pairing_id'];
86-
$base = $market['secondary_currency'];
87-
$quote = $market['primary_currency'];
88-
$base = $this->common_currency_code($base);
89-
$quote = $this->common_currency_code($quote);
86+
$baseId = $market['secondary_currency'];
87+
$quoteId = $market['primary_currency'];
88+
$active = $market['active'];
89+
$base = $this->common_currency_code($baseId);
90+
$quote = $this->common_currency_code($quoteId);
9091
$symbol = $base . '/' . $quote;
9192
$result[] = array (
9293
'id' => $id,
9394
'symbol' => $symbol,
9495
'base' => $base,
9596
'quote' => $quote,
97+
'baseId' => $baseId,
98+
'quoteId' => $quoteId,
99+
'active' => $active,
96100
'info' => $market,
97101
);
98102
}

php/coinegg.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ public function describe () {
145145
'options' => array (
146146
'quoteIds' => array ( 'btc', 'eth', 'usc', 'usdt' ),
147147
),
148+
'commonCurrencies' => array (
149+
'JBC' => 'JubaoCoin',
150+
),
148151
));
149152
}
150153

python/ccxt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

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

25-
__version__ = '1.17.85'
25+
__version__ = '1.17.86'
2626

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

python/ccxt/async_support/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

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

7-
__version__ = '1.17.85'
7+
__version__ = '1.17.86'
88

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

python/ccxt/async_support/base/exchange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

5-
__version__ = '1.17.85'
5+
__version__ = '1.17.86'
66

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

python/ccxt/async_support/bxinth.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,20 @@ async def fetch_markets(self):
8282
for p in range(0, len(keys)):
8383
market = markets[keys[p]]
8484
id = str(market['pairing_id'])
85-
base = market['secondary_currency']
86-
quote = market['primary_currency']
87-
base = self.common_currency_code(base)
88-
quote = self.common_currency_code(quote)
85+
baseId = market['secondary_currency']
86+
quoteId = market['primary_currency']
87+
active = market['active']
88+
base = self.common_currency_code(baseId)
89+
quote = self.common_currency_code(quoteId)
8990
symbol = base + '/' + quote
9091
result.append({
9192
'id': id,
9293
'symbol': symbol,
9394
'base': base,
9495
'quote': quote,
96+
'baseId': baseId,
97+
'quoteId': quoteId,
98+
'active': active,
9599
'info': market,
96100
})
97101
return result

0 commit comments

Comments
 (0)