ccxt 4.2.36 → 4.2.38
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 +8 -7
- package/dist/ccxt.browser.js +3085 -602
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +4 -1
- package/dist/cjs/src/abstract/blofin.js +9 -0
- package/dist/cjs/src/binance.js +147 -65
- package/dist/cjs/src/bitfinex2.js +122 -122
- package/dist/cjs/src/bitmex.js +22 -3
- package/dist/cjs/src/blofin.js +2103 -0
- package/dist/cjs/src/bybit.js +13 -4
- package/dist/cjs/src/pro/gemini.js +190 -3
- package/dist/cjs/src/pro/kucoin.js +93 -40
- package/js/ccxt.d.ts +5 -2
- package/js/ccxt.js +4 -2
- package/js/src/abstract/blofin.d.ts +36 -0
- package/js/src/abstract/blofin.js +11 -0
- package/js/src/base/types.d.ts +2 -0
- package/js/src/binance.js +147 -65
- package/js/src/bitfinex2.js +122 -122
- package/js/src/bitmex.js +22 -3
- package/js/src/blofin.d.ts +124 -0
- package/js/src/blofin.js +2104 -0
- package/js/src/bybit.js +13 -4
- package/js/src/pro/gemini.d.ts +5 -0
- package/js/src/pro/gemini.js +191 -4
- package/js/src/pro/kucoin.js +93 -40
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CCXT – CryptoCurrency eXchange Trading Library
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.com/ccxt/ccxt) [](https://npmjs.com/package/ccxt) [](https://pypi.python.org/pypi/ccxt) [](https://www.npmjs.com/package/ccxt) [](https://discord.gg/ccxt) [](https://travis-ci.com/ccxt/ccxt) [](https://npmjs.com/package/ccxt) [](https://pypi.python.org/pypi/ccxt) [](https://www.npmjs.com/package/ccxt) [](https://discord.gg/ccxt) [](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) [](https://twitter.com/ccxt_official)
|
|
4
4
|
|
|
5
5
|
A JavaScript / Python / PHP / C# library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
|
|
6
6
|
|
|
@@ -54,7 +54,7 @@ Current feature list:
|
|
|
54
54
|
|
|
55
55
|
## Supported Cryptocurrency Exchange Markets
|
|
56
56
|
|
|
57
|
-
The CCXT library currently supports the following
|
|
57
|
+
The CCXT library currently supports the following 95 cryptocurrency exchange markets and trading APIs:
|
|
58
58
|
|
|
59
59
|
| logo | id | name | ver | certified | pro |
|
|
60
60
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|-------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
|
|
@@ -87,6 +87,7 @@ The CCXT library currently supports the following 94 cryptocurrency exchange mar
|
|
|
87
87
|
| [](https://bitvavo.com/?a=24F34952F7) | bitvavo | [Bitvavo](https://bitvavo.com/?a=24F34952F7) | [](https://docs.bitvavo.com/) | | [](https://ccxt.pro) |
|
|
88
88
|
| [](https://bl3p.eu) | bl3p | [BL3P](https://bl3p.eu) | [](https://github.com/BitonicNL/bl3p-api/tree/master/docs) | | |
|
|
89
89
|
| [](https://blockchain.com) | blockchaincom | [Blockchain.com](https://blockchain.com) | [](https://api.blockchain.com/v3) | | [](https://ccxt.pro) |
|
|
90
|
+
| [](https://blofin.com/register?referral_code=jBd8U1) | blofin | [BloFin](https://blofin.com/register?referral_code=jBd8U1) | [](https://blofin.com/docs) | | |
|
|
90
91
|
| [](https://btc-alpha.com/?r=123788) | btcalpha | [BTC-Alpha](https://btc-alpha.com/?r=123788) | [](https://btc-alpha.github.io/api-docs) | | |
|
|
91
92
|
| [](https://www.btcbox.co.jp/) | btcbox | [BtcBox](https://www.btcbox.co.jp/) | [](https://blog.btcbox.jp/en/archives/8762) | | |
|
|
92
93
|
| [](https://btcmarkets.net) | btcmarkets | [BTC Markets](https://btcmarkets.net) | [](https://api.btcmarkets.net/doc/v3) | | |
|
|
@@ -166,7 +167,7 @@ The easiest way to install the CCXT library is to use a package manager:
|
|
|
166
167
|
- [ccxt in **NPM**](https://www.npmjs.com/package/ccxt) (JavaScript / Node v7.6+)
|
|
167
168
|
- [ccxt in **PyPI**](https://pypi.python.org/pypi/ccxt) (Python 3.7.0+)
|
|
168
169
|
- [ccxt in **Packagist/Composer**](https://packagist.org/packages/ccxt/ccxt) (PHP 7.0+)
|
|
169
|
-
- [ccxt in **
|
|
170
|
+
- [ccxt in **Nuget**](https://www.nuget.org/packages/ccxt) (netstandard 2.0)
|
|
170
171
|
|
|
171
172
|
This library is shipped as an all-in-one module implementation with minimalistic dependencies and requirements:
|
|
172
173
|
|
|
@@ -209,13 +210,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
209
210
|
|
|
210
211
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
211
212
|
|
|
212
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.
|
|
213
|
-
* unpkg: https://unpkg.com/ccxt@4.2.
|
|
213
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.2.38/dist/ccxt.browser.js
|
|
214
|
+
* unpkg: https://unpkg.com/ccxt@4.2.38/dist/ccxt.browser.js
|
|
214
215
|
|
|
215
216
|
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
217
|
|
|
217
218
|
```HTML
|
|
218
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.
|
|
219
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.2.38/dist/ccxt.browser.js"></script>
|
|
219
220
|
```
|
|
220
221
|
|
|
221
222
|
Creates a global `ccxt` object:
|
|
@@ -264,7 +265,7 @@ The library supports concurrent asynchronous mode using tools from [RecoilPHP](h
|
|
|
264
265
|
|
|
265
266
|
### .net/C#
|
|
266
267
|
|
|
267
|
-
[ccxt in C# with **
|
|
268
|
+
[ccxt in C# with **Nuget**](https://www.nuget.org/packages/ccxt) (netstandard 2.0 and netstandard 2.1)
|
|
268
269
|
```c#
|
|
269
270
|
using ccxt;
|
|
270
271
|
Console.WriteLine(ccxt.Exchanges) // check this later
|