Skip to content

Commit

Permalink
1.10.870
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Jan 27, 2018
1 parent 75fb199 commit 510a8d6
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 33 deletions.
14 changes: 4 additions & 10 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.10.869'
const version = '1.10.870'

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.10.869",
"version": "1.10.870",
"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.869';
$version = '1.10.870';

abstract class Exchange {

Expand Down
7 changes: 1 addition & 6 deletions php/binance.php
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,6 @@ public function cancel_order ($id, $symbol = null, $params = array ()) {
return $response;
}

public function nonce () {
return $this->milliseconds ();
}

public function fetch_my_trades ($symbol = null, $since = null, $limit = null, $params = array ()) {
if (!$symbol)
throw new ExchangeError ($this->id . ' fetchMyTrades requires a $symbol argument');
Expand Down Expand Up @@ -809,9 +805,8 @@ public function sign ($path, $api = 'public', $method = 'GET', $params = array (
);
} else if (($api === 'private') || ($api === 'wapi')) {
$this->check_required_credentials();
$nonce = $this->milliseconds ();
$query = $this->urlencode (array_merge (array (
'timestamp' => $nonce,
'timestamp' => $this->milliseconds (),
'recvWindow' => $this->options['recvWindow'],
), $params));
$signature = $this->hmac ($this->encode ($query), $this->encode ($this->secret));
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.869'
__version__ = '1.10.870'

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

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.869'
__version__ = '1.10.870'

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

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.869'
__version__ = '1.10.870'

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

Expand Down
6 changes: 1 addition & 5 deletions python/ccxt/async/binance.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,6 @@ async def cancel_order(self, id, symbol=None, params={}):
raise e
return response

def nonce(self):
return self.milliseconds()

async def fetch_my_trades(self, symbol=None, since=None, limit=None, params={}):
if not symbol:
raise ExchangeError(self.id + ' fetchMyTrades requires a symbol argument')
Expand Down Expand Up @@ -774,9 +771,8 @@ def sign(self, path, api='public', method='GET', params={}, headers=None, body=N
}
elif (api == 'private') or (api == 'wapi'):
self.check_required_credentials()
nonce = self.milliseconds()
query = self.urlencode(self.extend({
'timestamp': nonce,
'timestamp': self.milliseconds(),
'recvWindow': self.options['recvWindow'],
}, params))
signature = self.hmac(self.encode(query), self.encode(self.secret))
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.869'
__version__ = '1.10.870'

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

Expand Down
6 changes: 1 addition & 5 deletions python/ccxt/binance.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,6 @@ def cancel_order(self, id, symbol=None, params={}):
raise e
return response

def nonce(self):
return self.milliseconds()

def fetch_my_trades(self, symbol=None, since=None, limit=None, params={}):
if not symbol:
raise ExchangeError(self.id + ' fetchMyTrades requires a symbol argument')
Expand Down Expand Up @@ -774,9 +771,8 @@ def sign(self, path, api='public', method='GET', params={}, headers=None, body=N
}
elif (api == 'private') or (api == 'wapi'):
self.check_required_credentials()
nonce = self.milliseconds()
query = self.urlencode(self.extend({
'timestamp': nonce,
'timestamp': self.milliseconds(),
'recvWindow': self.options['recvWindow'],
}, params))
signature = self.hmac(self.encode(query), self.encode(self.secret))
Expand Down

0 comments on commit 510a8d6

Please sign in to comment.