Navigation Menu

Skip to content

Commit

Permalink
1.67.66
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Jan 14, 2022
1 parent 9a90b0f commit 9433f5b
Show file tree
Hide file tree
Showing 19 changed files with 40 additions and 25 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -221,13 +221,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.67.65/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.65/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.66/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.66/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.67.65/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.66/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.67.65'
const version = '1.67.66'

Exchange.ccxtVersion = version

Expand Down
5 changes: 4 additions & 1 deletion dist/ccxt.browser.js
Expand Up @@ -44,7 +44,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.67.65'
const version = '1.67.66'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -63047,6 +63047,9 @@ module.exports = class cryptocom extends Exchange {
if (since !== undefined) {
// maximum date range is one day
request['start_ts'] = since;
const now = this.milliseconds ();
const endTimestamp = this.sim (since, 24 * 60 * 60 * 1000);
request['end_ts'] = Math.min (now, endTimestamp);
}
if (limit !== undefined) {
request['page_size'] = limit;
Expand Down
6 changes: 3 additions & 3 deletions doc/readme.rst
Expand Up @@ -1957,14 +1957,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.67.65/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.65/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.66/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.66/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.67.65/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.66/dist/ccxt.browser.js"></script>

Creates a global ``ccxt`` object:

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.67.65",
"version": "1.67.66",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
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.

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

include 'Throttle.php';

$version = '1.67.65';
$version = '1.67.66';

class Exchange extends \ccxt\Exchange {

const VERSION = '1.67.65';
const VERSION = '1.67.66';

public static $loop;
public static $kernel;
Expand Down
3 changes: 3 additions & 0 deletions php/async/cryptocom.php
Expand Up @@ -1047,6 +1047,9 @@ public function fetch_my_trades($symbol = null, $since = null, $limit = null, $p
if ($since !== null) {
// maximum date range is one day
$request['start_ts'] = $since;
$now = $this->milliseconds();
$endTimestamp = $this->sim ($since, 24 * 60 * 60 * 1000);
$request['end_ts'] = min ($now, $endTimestamp);
}
if ($limit !== null) {
$request['page_size'] = $limit;
Expand Down
3 changes: 3 additions & 0 deletions php/cryptocom.php

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

6 changes: 3 additions & 3 deletions python/README.md
Expand Up @@ -221,13 +221,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.67.65/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.65/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.66/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.66/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.67.65/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.66/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Expand Up @@ -22,7 +22,7 @@

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

__version__ = '1.67.65'
__version__ = '1.67.66'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/__init__.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.67.65'
__version__ = '1.67.66'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/base/exchange.py
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '1.67.65'
__version__ = '1.67.66'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/async_support/cryptocom.py
Expand Up @@ -1009,6 +1009,9 @@ async def fetch_my_trades(self, symbol=None, since=None, limit=None, params={}):
if since is not None:
# maximum date range is one day
request['start_ts'] = since
now = self.milliseconds()
endTimestamp = self.sim(since, 24 * 60 * 60 * 1000)
request['end_ts'] = min(now, endTimestamp)
if limit is not None:
request['page_size'] = limit
marketType, query = self.handle_market_type_and_params('fetchMyTrades', market, params)
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.67.65'
__version__ = '1.67.66'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/cryptocom.py

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

2 changes: 1 addition & 1 deletion python/package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.67.65",
"version": "1.67.66",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
Expand Down
6 changes: 3 additions & 3 deletions wiki/Install.md
Expand Up @@ -40,13 +40,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.67.65/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.65/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.67.66/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@1.67.66/dist/ccxt.browser.js

You can obtain a live-updated version of the bundle by removing the version number from the URL (the `@a.b.c` thing) — however, we do not recommend to do that, as it may break your app eventually. Also, 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.67.65/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@1.67.66/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down

0 comments on commit 9433f5b

Please sign in to comment.