Skip to content

Commit

Permalink
1.72.73
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Feb 11, 2022
1 parent e414b39 commit 640fb2b
Show file tree
Hide file tree
Showing 375 changed files with 119 additions and 623 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -227,13 +227,13 @@ console.log (ccxt.exchanges) // print all available exchanges

All-in-one browser bundle (dependencies included), served from a CDN of your choice:

* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.72.72/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.72.72/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.72.73/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.72.73/dist/ccxt.browser.js

CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.

```HTML
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.72.72/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.72.73/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2 changes: 1 addition & 1 deletion ccxt.js
Expand Up @@ -36,7 +36,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.72.72'
const version = '1.72.73'

Exchange.ccxtVersion = version

Expand Down
137 changes: 18 additions & 119 deletions dist/ccxt.browser.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions doc/readme.rst
Expand Up @@ -2033,14 +2033,14 @@ JavaScript (for use with the ``<script>`` tag):
All-in-one browser bundle (dependencies included), served from a CDN of your choice:


* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.72.72/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.72.72/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.72.73/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.72.73/dist/ccxt.browser.js

CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.

.. code-block:: HTML

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.72.72/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.72.73/dist/ccxt.browser.js"></script>

Creates a global ``ccxt`` object:

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.72.72",
"version": "1.72.73",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
Expand Down Expand Up @@ -212,7 +212,7 @@
"ccex",
"C-CEX",
"cex",
"CEX.IO",
"cex.io",
"CHBTC",
"ChileBit",
"chilebit.net",
Expand Down Expand Up @@ -382,7 +382,7 @@
"fybse.se",
"fybsg.com",
"gatecoin.com",
"gate.io",
"Gate.io",
"gdax.com",
"gemini.com",
"getbtc.org",
Expand Down Expand Up @@ -499,8 +499,8 @@
"dsxglobal.com",
"bitvavo.com",
"Bitvavo",
"currency.com",
"waves.exchange",
"Currency.com",
"Waves.Exchange",
"phemex.com",
"Phemex",
"huobi.co.jp",
Expand Down Expand Up @@ -549,7 +549,7 @@
"Binance USDⓈ-M",
"eqonex.com",
"EQONEX",
"fmfw.io",
"FMFW.io",
"mexc.com",
"MEXC Global",
"bitrue.com",
Expand All @@ -563,8 +563,8 @@
"Zonda",
"futures.kucoin.com",
"KuCoin Futures",
"blockchain.com",
"crypto.com",
"Blockchain.com",
"Crypto.com",
"wazirx.com",
"WazirX",
"woo.org",
Expand Down
4 changes: 2 additions & 2 deletions php/Exchange.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion php/aax.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion php/ascendex.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions php/async/Exchange.php
Expand Up @@ -28,11 +28,11 @@

include 'Throttle.php';

$version = '1.72.72';
$version = '1.72.73';

class Exchange extends \ccxt\Exchange {

const VERSION = '1.72.72';
const VERSION = '1.72.73';

public static $loop;
public static $kernel;
Expand Down
1 change: 0 additions & 1 deletion php/async/aax.php
Expand Up @@ -500,7 +500,6 @@ public function fetch_markets($params = array ()) {
'taker' => $this->safe_number($market, 'takerFee'),
'maker' => $this->safe_number($market, 'makerFee'),
'contractSize' => $contractSize,
'maintenanceMarginRate' => $swap ? $this->safe_number($market, 'mmRate') : null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/ascendex.php
Expand Up @@ -560,7 +560,6 @@ public function fetch_markets($params = array ()) {
'taker' => $fee,
'maker' => $fee,
'contractSize' => $swap ? $this->parse_number('1') : null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bibox.php
Expand Up @@ -246,7 +246,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bigone.php
Expand Up @@ -212,7 +212,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/binance.php
Expand Up @@ -1579,7 +1579,6 @@ public function fetch_markets($params = array ()) {
'taker' => $fees['trading']['taker'],
'maker' => $fees['trading']['maker'],
'contractSize' => $contractSize,
'maintenanceMarginRate' => null,
'expiry' => $expiry,
'expiryDatetime' => $this->iso8601($expiry),
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitbank.php
Expand Up @@ -197,7 +197,6 @@ public function fetch_markets($params = array ()) {
'taker' => $this->safe_number($entry, 'taker_fee_rate_quote'),
'maker' => $this->safe_number($entry, 'maker_fee_rate_quote'),
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitbns.php
Expand Up @@ -230,7 +230,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitfinex.php
Expand Up @@ -492,7 +492,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
34 changes: 14 additions & 20 deletions php/async/bitflyer.php
Expand Up @@ -127,39 +127,34 @@ public function parse_expiry_date($expiry) {

public function fetch_markets($params = array ()) {
$jp_markets = yield $this->publicGetGetmarkets ($params);
// //
//
// array(
// // $spot
// array(
// "product_code" => "BTC_JPY",
// "market_type" => "Spot"
// ),
// array(
// "product_code" => "BCH_BTC",
// "market_type" => "Spot"
// ),
// array( "product_code" => "BTC_JPY", "market_type" => "Spot" ),
// array( "product_code" => "BCH_BTC", "market_type" => "Spot" ),
// // forex $swap
// array(
// "product_code" => "FX_BTC_JPY",
// "market_type" => "FX"
// ),
// array( "product_code" => "FX_BTC_JPY", "market_type" => "FX" ),
// // $future
// array(
// "product_code" => "BTCJPY11FEB2022",
// "alias" => "BTCJPY_MAT1WK",
// "market_type" => "Futures"
// "market_type" => "Futures",
// ),
// )
// );
//
$us_markets = yield $this->publicGetGetmarketsUsa ($params);
//
// array("product_code" => "BTC_USD", "market_type" => "Spot"),
// array("product_code" => "BTC_JPY", "market_type" => "Spot")
// array(
// array( "product_code" => "BTC_USD", "market_type" => "Spot" ),
// array( "product_code" => "BTC_JPY", "market_type" => "Spot" ),
// );
//
$eu_markets = yield $this->publicGetGetmarketsEu ($params);
//
// array("product_code" => "BTC_EUR", "market_type" => "Spot"),
// array("product_code" => "BTC_JPY", "market_type" => "Spot")
// array(
// array( "product_code" => "BTC_EUR", "market_type" => "Spot" ),
// array( "product_code" => "BTC_JPY", "market_type" => "Spot" ),
// );
//
$markets = $this->array_concat($jp_markets, $us_markets);
$markets = $this->array_concat($markets, $eu_markets);
Expand Down Expand Up @@ -232,7 +227,6 @@ public function fetch_markets($params = array ()) {
'taker' => $taker,
'maker' => $maker,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => $expiry,
'expiryDatetime' => $this->iso8601($expiry),
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitforex.php
Expand Up @@ -175,7 +175,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDateTime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitget.php
Expand Up @@ -856,7 +856,6 @@ public function parse_market($market) {
'linear' => ($base === $settle),
'inverse' => ($quote === $settle),
'contractSize' => $contractVal,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bithumb.php
Expand Up @@ -217,7 +217,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDateTime' => null,
'strike' => null,
Expand Down
3 changes: 0 additions & 3 deletions php/async/bitmart.php
Expand Up @@ -472,7 +472,6 @@ public function fetch_spot_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down Expand Up @@ -602,7 +601,6 @@ public function fetch_contract_markets($params = array ()) {
$symbol = $symbol . ':' . $settle . '-' . $this->yymmdd($expiry, '');
}
$feeConfig = $this->safe_value($market, 'fee_config', array());
$riskLimit = $this->safe_value($market, 'risk_limit');
$result[] = array(
'id' => $id,
'numericId' => $numericId,
Expand All @@ -626,7 +624,6 @@ public function fetch_contract_markets($params = array ()) {
'taker' => $this->safe_number($feeConfig, 'taker_fee'),
'maker' => $this->safe_number($feeConfig, 'maker_fee'),
'contractSize' => $this->safe_number($market, 'contract_size'),
'maintenanceMarginRate' => $this->safe_number($riskLimit, 'maintenance_margin'),
'expiry' => $expiry,
'expiryDatetime' => $this->iso8601($expiry),
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitmex.php
Expand Up @@ -384,7 +384,6 @@ public function fetch_markets($params = array ()) {
'taker' => $this->safe_number($market, 'takerFee'),
'maker' => $this->safe_number($market, 'makerFee'),
'contractSize' => $this->safe_number($market, 'multiplier'),
'maintenanceMarginRate' => $this->safe_number($market, 'maintMargin'),
'expiry' => $expiry,
'expiryDatetime' => $expiryDatetime,
'strike' => $this->safe_number($market, 'optionStrikePrice'),
Expand Down
1 change: 0 additions & 1 deletion php/async/bitpanda.php
Expand Up @@ -363,7 +363,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitrue.php
Expand Up @@ -607,7 +607,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitso.php
Expand Up @@ -240,7 +240,6 @@ public function fetch_markets($params = array ()) {
'taker' => $taker,
'maker' => $maker,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitstamp.php
Expand Up @@ -387,7 +387,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bittrex.php
Expand Up @@ -324,7 +324,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down
1 change: 0 additions & 1 deletion php/async/bitvavo.php
Expand Up @@ -336,7 +336,6 @@ public function fetch_markets($params = array ()) {
'linear' => null,
'inverse' => null,
'contractSize' => null,
'maintenanceMarginRate' => null,
'expiry' => null,
'expiryDatetime' => null,
'strike' => null,
Expand Down

0 comments on commit 640fb2b

Please sign in to comment.