ccxt 4.2.35 → 4.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +3 -2
- package/README.md +5 -5
- package/dist/ccxt.browser.js +880 -329
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/base/Exchange.js +3 -3
- package/dist/cjs/src/base/ws/Client.js +5 -2
- package/dist/cjs/src/binance.js +395 -115
- package/dist/cjs/src/bitfinex.js +21 -0
- package/dist/cjs/src/bitfinex2.js +122 -122
- package/dist/cjs/src/bitget.js +28 -39
- package/dist/cjs/src/bithumb.js +14 -0
- package/dist/cjs/src/bitmex.js +22 -3
- package/dist/cjs/src/bybit.js +13 -4
- package/dist/cjs/src/pro/binance.js +2 -2
- package/dist/cjs/src/pro/gemini.js +190 -3
- package/dist/cjs/src/woo.js +64 -35
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/base/Exchange.d.ts +1 -0
- package/js/src/base/Exchange.js +3 -3
- package/js/src/base/types.d.ts +2 -0
- package/js/src/base/ws/Client.js +5 -2
- package/js/src/binance.js +395 -115
- package/js/src/bitfinex.js +21 -0
- package/js/src/bitfinex2.js +122 -122
- package/js/src/bitget.js +28 -39
- package/js/src/bithumb.js +14 -0
- package/js/src/bitmex.js +22 -3
- package/js/src/bybit.js +13 -4
- package/js/src/pro/binance.js +2 -2
- package/js/src/pro/gemini.d.ts +5 -0
- package/js/src/pro/gemini.js +191 -4
- package/js/src/woo.js +64 -35
- package/package.json +2 -2
package/CONTRIBUTING.md
CHANGED
|
@@ -120,7 +120,7 @@ If you're not going to develop CCXT and contribute code to the CCXT library, the
|
|
|
120
120
|
composer install ccxt
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
- [C# / Nugget](https://github.com/ccxt/ccxt/wiki/Install#
|
|
123
|
+
- [C# / Nugget](https://github.com/ccxt/ccxt/wiki/Install#netc)
|
|
124
124
|
|
|
125
125
|
```shell
|
|
126
126
|
# C# / Nugget
|
|
@@ -160,7 +160,8 @@ This way you can keep the build tools and processes isolated, not having to work
|
|
|
160
160
|
- iconv
|
|
161
161
|
- mbstring
|
|
162
162
|
- PCRE
|
|
163
|
-
- bcmath (php<7.1)
|
|
163
|
+
- bcmath (php<7.1) or gmp (this is a built-in extension as of PHP 7.2+)
|
|
164
|
+
- [C#](https://dotnet.microsoft.com/en-us/download) 7.0
|
|
164
165
|
|
|
165
166
|
#### Build Steps
|
|
166
167
|
|
package/README.md
CHANGED
|
@@ -166,7 +166,7 @@ The easiest way to install the CCXT library is to use a package manager:
|
|
|
166
166
|
- [ccxt in **NPM**](https://www.npmjs.com/package/ccxt) (JavaScript / Node v7.6+)
|
|
167
167
|
- [ccxt in **PyPI**](https://pypi.python.org/pypi/ccxt) (Python 3.7.0+)
|
|
168
168
|
- [ccxt in **Packagist/Composer**](https://packagist.org/packages/ccxt/ccxt) (PHP 7.0+)
|
|
169
|
-
- [ccxt in **
|
|
169
|
+
- [ccxt in **Nuget**](https://www.nuget.org/packages/ccxt) (netstandard 2.0)
|
|
170
170
|
|
|
171
171
|
This library is shipped as an all-in-one module implementation with minimalistic dependencies and requirements:
|
|
172
172
|
|
|
@@ -209,13 +209,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
209
209
|
|
|
210
210
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
211
211
|
|
|
212
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.
|
|
213
|
-
* unpkg: https://unpkg.com/ccxt@4.2.
|
|
212
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.37/dist/ccxt.browser.js
|
|
213
|
+
* unpkg: https://unpkg.com/ccxt@4.2.37/dist/ccxt.browser.js
|
|
214
214
|
|
|
215
215
|
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.
|
|
216
216
|
|
|
217
217
|
```HTML
|
|
218
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.
|
|
218
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.37/dist/ccxt.browser.js"></script>
|
|
219
219
|
```
|
|
220
220
|
|
|
221
221
|
Creates a global `ccxt` object:
|
|
@@ -264,7 +264,7 @@ The library supports concurrent asynchronous mode using tools from [RecoilPHP](h
|
|
|
264
264
|
|
|
265
265
|
### .net/C#
|
|
266
266
|
|
|
267
|
-
[ccxt in C# with **
|
|
267
|
+
[ccxt in C# with **Nuget**](https://www.nuget.org/packages/ccxt) (netstandard 2.0 and netstandard 2.1)
|
|
268
268
|
```c#
|
|
269
269
|
using ccxt;
|
|
270
270
|
Console.WriteLine(ccxt.Exchanges) // check this later
|