Skip to content

Commit

Permalink
1.10.599
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Jan 9, 2018
1 parent 72d386d commit b02e4fb
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 26 deletions.
14 changes: 8 additions & 6 deletions build/ccxt.browser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const errors = require ('./js/base/errors')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.10.598'
const version = '1.10.599'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion doc/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ Thank you!
:target: https://npm.runkit.com/ccxt
.. |Gitter| image:: https://badges.gitter.im/ccxt-dev/ccxt.svg
:target: https://gitter.im/ccxt-dev/ccxt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
.. |Supported Exchanges| image:: https://img.shields.io/badge/exchanges-95-blue.svg
.. |Supported Exchanges| image:: https://img.shields.io/badge/exchanges-96-blue.svg
:target: https://github.com/ccxt/ccxt/wiki/Exchange-Markets
.. |_1broker| image:: https://user-images.githubusercontent.com/1294454/27766021-420bd9fc-5ecb-11e7-8ed6-56d0081efed2.jpg
.. |_1btcxe| image:: https://user-images.githubusercontent.com/1294454/27766049-2b294408-5ecc-11e7-85cc-adaff013dc1a.jpg
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.10.598",
"version": "1.10.599",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion php/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.10.598';
$version = '1.10.599';

abstract class Exchange {

Expand Down
10 changes: 6 additions & 4 deletions php/hitbtc2.php
Original file line number Diff line number Diff line change
Expand Up @@ -972,9 +972,10 @@ public function fetch_order_trades ($id, $symbol = null, $params = array ()) {
}

public function create_deposit_address ($currency, $params = array ()) {
$currencyId = $this->currencyId ($currency);
$this->load_markets();
$currency = $this->currency ($currency);
$response = $this->privatePostAccountCryptoAddressCurrency (array (
'currency' => $currencyId,
'currency' => $currency['id'],
));
$address = $response['address'];
return array (
Expand All @@ -986,9 +987,10 @@ public function create_deposit_address ($currency, $params = array ()) {
}

public function fetch_deposit_address ($currency, $params = array ()) {
$currencyId = $this->currencyId ($currency);
$this->load_markets();
$currency = $this->currency ($currency);
$response = $this->privateGetAccountCryptoAddressCurrency (array (
'currency' => $currencyId,
'currency' => $currency['id'],
));
$address = $response['address'];
return array (
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# ----------------------------------------------------------------------------

__version__ = '1.10.598'
__version__ = '1.10.599'

# ----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.10.598'
__version__ = '1.10.599'

# -----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.10.598'
__version__ = '1.10.599'

# -----------------------------------------------------------------------------

Expand Down
10 changes: 6 additions & 4 deletions python/ccxt/async/hitbtc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,10 @@ async def fetch_order_trades(self, id, symbol=None, params={}):
return self.parse_trades(trades)

async def create_deposit_address(self, currency, params={}):
currencyId = self.currencyId(currency)
await self.load_markets()
currency = self.currency(currency)
response = await self.privatePostAccountCryptoAddressCurrency({
'currency': currencyId,
'currency': currency['id'],
})
address = response['address']
return {
Expand All @@ -952,9 +953,10 @@ async def create_deposit_address(self, currency, params={}):
}

async def fetch_deposit_address(self, currency, params={}):
currencyId = self.currencyId(currency)
await self.load_markets()
currency = self.currency(currency)
response = await self.privateGetAccountCryptoAddressCurrency({
'currency': currencyId,
'currency': currency['id'],
})
address = response['address']
return {
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.10.598'
__version__ = '1.10.599'

# -----------------------------------------------------------------------------

Expand Down
10 changes: 6 additions & 4 deletions python/ccxt/hitbtc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,10 @@ def fetch_order_trades(self, id, symbol=None, params={}):
return self.parse_trades(trades)

def create_deposit_address(self, currency, params={}):
currencyId = self.currencyId(currency)
self.load_markets()
currency = self.currency(currency)
response = self.privatePostAccountCryptoAddressCurrency({
'currency': currencyId,
'currency': currency['id'],
})
address = response['address']
return {
Expand All @@ -952,9 +953,10 @@ def create_deposit_address(self, currency, params={}):
}

def fetch_deposit_address(self, currency, params={}):
currencyId = self.currencyId(currency)
self.load_markets()
currency = self.currency(currency)
response = self.privateGetAccountCryptoAddressCurrency({
'currency': currencyId,
'currency': currency['id'],
})
address = response['address']
return {
Expand Down

0 comments on commit b02e4fb

Please sign in to comment.