Skip to content

Commit

Permalink
1.14.15
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed May 17, 2018
1 parent ac2ed8f commit 8ad5c72
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 9 deletions.
7 changes: 5 additions & 2 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.14.14'
const version = '1.14.15'

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.14.14",
"version": "1.14.15",
"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.14.14';
$version = '1.14.15';

// rounding mode
const TRUNCATE = 0;
Expand Down
3 changes: 3 additions & 0 deletions php/bitfinex.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ public function parse_order ($order, $market = null) {

public function fetch_open_orders ($symbol = null, $since = null, $limit = null, $params = array ()) {
$this->load_markets();
if ($symbol !== null)
if (!(is_array ($this->markets) && array_key_exists ($symbol, $this->markets)))
throw new ExchangeError ($this->id . ' has no $symbol ' . $symbol);
$response = $this->privatePostOrders ($params);
$orders = $this->parse_orders($response, null, $since, $limit);
if ($symbol)
Expand Down
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.14.14'
__version__ = '1.14.15'

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

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.14.14'
__version__ = '1.14.15'

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

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.14.14'
__version__ = '1.14.15'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/async/bitfinex.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,9 @@ def parse_order(self, order, market=None):

async def fetch_open_orders(self, symbol=None, since=None, limit=None, params={}):
await self.load_markets()
if symbol is not None:
if not(symbol in list(self.markets.keys())):
raise ExchangeError(self.id + ' has no symbol ' + symbol)
response = await self.privatePostOrders(params)
orders = self.parse_orders(response, None, since, limit)
if symbol:
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.14.14'
__version__ = '1.14.15'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/bitfinex.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,9 @@ def parse_order(self, order, market=None):

def fetch_open_orders(self, symbol=None, since=None, limit=None, params={}):
self.load_markets()
if symbol is not None:
if not(symbol in list(self.markets.keys())):
raise ExchangeError(self.id + ' has no symbol ' + symbol)
response = self.privatePostOrders(params)
orders = self.parse_orders(response, None, since, limit)
if symbol:
Expand Down

0 comments on commit 8ad5c72

Please sign in to comment.