Skip to content

Commit

Permalink
1.10.419
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Dec 19, 2017
1 parent 33f324f commit cb3305e
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 9 deletions.
8 changes: 6 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 errors = require ('./js/base/errors')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.10.418'
const version = '1.10.419'

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.418';
$version = '1.10.419';

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.418",
"version": "1.10.419",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
4 changes: 4 additions & 0 deletions php/bithumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public function fetch_balance ($params = array ()) {
}

public function fetch_order_book ($symbol, $params = array ()) {
$this->load_markets();
$market = $this->market ($symbol);
$response = $this->publicGetOrderbookCurrency (array_merge (array (
'count' => 50, // max = 50
Expand Down Expand Up @@ -162,6 +163,7 @@ public function parse_ticker ($ticker, $market = null) {
}

public function fetch_tickers ($symbols = null, $params = array ()) {
$this->load_markets();
$response = $this->publicGetTickerAll ($params);
$result = array ();
$timestamp = $response['data']['date'];
Expand All @@ -183,6 +185,7 @@ public function fetch_tickers ($symbols = null, $params = array ()) {
}

public function fetch_ticker ($symbol, $params = array ()) {
$this->load_markets();
$market = $this->market ($symbol);
$response = $this->publicGetTickerCurrency (array_merge (array (
'currency' => $market['base'],
Expand Down Expand Up @@ -213,6 +216,7 @@ public function parse_trade ($trade, $market) {
}

public function fetch_trades ($symbol, $since = null, $limit = null, $params = array ()) {
$this->load_markets();
$market = $this->market ($symbol);
$response = $this->publicGetRecentTransactionsCurrency (array_merge (array (
'currency' => $market['base'],
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.418'
__version__ = '1.10.419'

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

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.418'
__version__ = '1.10.419'

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

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.418'
__version__ = '1.10.419'

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

Expand Down
4 changes: 4 additions & 0 deletions python/ccxt/async/bithumb.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ async def fetch_balance(self, params={}):
return self.parse_balance(result)

async def fetch_order_book(self, symbol, params={}):
await self.load_markets()
market = self.market(symbol)
response = await self.publicGetOrderbookCurrency(self.extend({
'count': 50, # max = 50
Expand Down Expand Up @@ -159,6 +160,7 @@ def parse_ticker(self, ticker, market=None):
}

async def fetch_tickers(self, symbols=None, params={}):
await self.load_markets()
response = await self.publicGetTickerAll(params)
result = {}
timestamp = response['data']['date']
Expand All @@ -177,6 +179,7 @@ async def fetch_tickers(self, symbols=None, params={}):
return result

async def fetch_ticker(self, symbol, params={}):
await self.load_markets()
market = self.market(symbol)
response = await self.publicGetTickerCurrency(self.extend({
'currency': market['base'],
Expand Down Expand Up @@ -205,6 +208,7 @@ def parse_trade(self, trade, market):
}

async def fetch_trades(self, symbol, since=None, limit=None, params={}):
await self.load_markets()
market = self.market(symbol)
response = await self.publicGetRecentTransactionsCurrency(self.extend({
'currency': market['base'],
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.418'
__version__ = '1.10.419'

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

Expand Down
4 changes: 4 additions & 0 deletions python/ccxt/bithumb.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def fetch_balance(self, params={}):
return self.parse_balance(result)

def fetch_order_book(self, symbol, params={}):
self.load_markets()
market = self.market(symbol)
response = self.publicGetOrderbookCurrency(self.extend({
'count': 50, # max = 50
Expand Down Expand Up @@ -159,6 +160,7 @@ def parse_ticker(self, ticker, market=None):
}

def fetch_tickers(self, symbols=None, params={}):
self.load_markets()
response = self.publicGetTickerAll(params)
result = {}
timestamp = response['data']['date']
Expand All @@ -177,6 +179,7 @@ def fetch_tickers(self, symbols=None, params={}):
return result

def fetch_ticker(self, symbol, params={}):
self.load_markets()
market = self.market(symbol)
response = self.publicGetTickerCurrency(self.extend({
'currency': market['base'],
Expand Down Expand Up @@ -205,6 +208,7 @@ def parse_trade(self, trade, market):
}

def fetch_trades(self, symbol, since=None, limit=None, params={}):
self.load_markets()
market = self.market(symbol)
response = self.publicGetRecentTransactionsCurrency(self.extend({
'currency': market['base'],
Expand Down

0 comments on commit cb3305e

Please sign in to comment.