Skip to content

Commit

Permalink
1.13.57
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Apr 30, 2018
1 parent 2b2d0df commit 4300251
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 35 deletions.
11 changes: 2 additions & 9 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 Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.13.56'
const version = '1.13.57'

Exchange.ccxtVersion = version

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.13.56",
"version": "1.13.57",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ 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.13.56';
$version = '1.13.57';

// rounding mode
const TRUNCATE = 0;
Expand Down
7 changes: 0 additions & 7 deletions php/hitbtc2.php
Original file line number Diff line number Diff line change
Expand Up @@ -1135,11 +1135,4 @@ public function handle_errors ($code, $reason, $url, $method, $headers, $body) {
throw new ExchangeError ($this->id . ' ' . $body);
}
}

public function request ($path, $api = 'public', $method = 'GET', $params = array (), $headers = null, $body = null) {
$response = $this->fetch2 ($path, $api, $method, $params, $headers, $body);
if (is_array ($response) && array_key_exists ('error', $response))
throw new ExchangeError ($this->id . ' ' . $this->json ($response));
return $response;
}
}
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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

__version__ = '1.13.56'
__version__ = '1.13.57'

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

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.13.56'
__version__ = '1.13.57'

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

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.13.56'
__version__ = '1.13.57'

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

Expand Down
6 changes: 0 additions & 6 deletions python/ccxt/async/hitbtc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,9 +1089,3 @@ def handle_errors(self, code, reason, url, method, headers, body):
elif message == 'Duplicate clientOrderId':
raise InvalidOrder(self.id + ' ' + body)
raise ExchangeError(self.id + ' ' + body)

async def request(self, path, api='public', method='GET', params={}, headers=None, body=None):
response = await self.fetch2(path, api, method, params, headers, body)
if 'error' in response:
raise ExchangeError(self.id + ' ' + self.json(response))
return response
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.13.56'
__version__ = '1.13.57'

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

Expand Down
6 changes: 0 additions & 6 deletions python/ccxt/hitbtc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,9 +1089,3 @@ def handle_errors(self, code, reason, url, method, headers, body):
elif message == 'Duplicate clientOrderId':
raise InvalidOrder(self.id + ' ' + body)
raise ExchangeError(self.id + ' ' + body)

def request(self, path, api='public', method='GET', params={}, headers=None, body=None):
response = self.fetch2(path, api, method, params, headers, body)
if 'error' in response:
raise ExchangeError(self.id + ' ' + self.json(response))
return response

0 comments on commit 4300251

Please sign in to comment.