Skip to content

Commit

Permalink
1.10.354
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Dec 11, 2017
1 parent 23e767f commit 265a910
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 13 deletions.
9 changes: 6 additions & 3 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.353'
const version = '1.10.354'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion ccxt.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.10.353';
$version = '1.10.354';

const CLASSES_DIR = __DIR__ . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR;

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.353",
"version": "1.10.354",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
5 changes: 4 additions & 1 deletion php/poloniex.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,10 @@ public function fetch_orders ($symbol = null, $since = null, $limit = null, $par
}

public function fetch_order ($id, $symbol = null, $params = array ()) {
$orders = $this->fetch_orders($symbol, $params);
$since = $this->safe_value($params, 'since');
$limit = $this->safe_value($params, 'limit');
$request = $this->omit ($params, [ 'since', 'limit']);
$orders = $this->fetch_orders($symbol, $since, $limit, $request);
for ($i = 0; $i < count ($orders); $i++) {
if ($orders[$i]['id'] == $id)
return $orders[$i];
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.353'
__version__ = '1.10.354'

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

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.353'
__version__ = '1.10.354'

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

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.353'
__version__ = '1.10.354'

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

Expand Down
5 changes: 4 additions & 1 deletion python/ccxt/async/poloniex.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,10 @@ async def fetch_orders(self, symbol=None, since=None, limit=None, params={}):
return self.filter_by_since_limit(result, since, limit)

async def fetch_order(self, id, symbol=None, params={}):
orders = await self.fetch_orders(symbol, params)
since = self.safe_value(params, 'since')
limit = self.safe_value(params, 'limit')
request = self.omit(params, ['since', 'limit'])
orders = await self.fetch_orders(symbol, since, limit, request)
for i in range(0, len(orders)):
if orders[i]['id'] == id:
return orders[i]
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.353'
__version__ = '1.10.354'

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

Expand Down
5 changes: 4 additions & 1 deletion python/ccxt/poloniex.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,10 @@ def fetch_orders(self, symbol=None, since=None, limit=None, params={}):
return self.filter_by_since_limit(result, since, limit)

def fetch_order(self, id, symbol=None, params={}):
orders = self.fetch_orders(symbol, params)
since = self.safe_value(params, 'since')
limit = self.safe_value(params, 'limit')
request = self.omit(params, ['since', 'limit'])
orders = self.fetch_orders(symbol, since, limit, request)
for i in range(0, len(orders)):
if orders[i]['id'] == id:
return orders[i]
Expand Down

0 comments on commit 265a910

Please sign in to comment.