From 04e863b83c383febe1082a764363050398b1190d Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 1 Jul 2023 08:29:26 +0000 Subject: [PATCH] 4.0.3 [ci skip] --- README.md | 6 +++--- dist/ccxt.browser.js | 2 +- dist/ccxt.browser.min.js | 2 +- dist/ccxt.bundle.cjs | 2 +- dist/cjs/ccxt.js | 2 +- js/ccxt.d.ts | 2 +- js/ccxt.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- php/Exchange.php | 4 ++-- php/async/Exchange.php | 4 ++-- python/README.md | 6 +++--- python/ccxt/__init__.py | 2 +- python/ccxt/async_support/__init__.py | 2 +- python/ccxt/async_support/base/exchange.py | 2 +- python/ccxt/base/exchange.py | 2 +- python/ccxt/pro/__init__.py | 2 +- python/package.json | 2 +- ts/ccxt.ts | 2 +- wiki/Install.md | 6 +++--- 20 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 5adfbaed97de..df3d24e6cb15 100644 --- a/README.md +++ b/README.md @@ -210,13 +210,13 @@ console.log(version, Object.keys(exchanges)); All-in-one browser bundle (dependencies included), served from a CDN of your choice: -* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@3.1.60/dist/ccxt.browser.js -* unpkg: https://unpkg.com/ccxt@3.1.60/dist/ccxt.browser.js +* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.0.3/dist/ccxt.browser.js +* unpkg: https://unpkg.com/ccxt@4.0.3/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 - + ``` Creates a global `ccxt` object: diff --git a/dist/ccxt.browser.js b/dist/ccxt.browser.js index 057e46f157c4..b58b54dcddc0 100644 --- a/dist/ccxt.browser.js +++ b/dist/ccxt.browser.js @@ -263859,7 +263859,7 @@ SOFTWARE. //----------------------------------------------------------------------------- // this is updated by vss.js when building -const version = '3.1.60'; +const version = '4.0.3'; _src_base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* .Exchange.ccxtVersion */ .e.ccxtVersion = version; //----------------------------------------------------------------------------- diff --git a/dist/ccxt.browser.min.js b/dist/ccxt.browser.min.js index 6a050c41f1b1..f642b837b337 100644 --- a/dist/ccxt.browser.min.js +++ b/dist/ccxt.browser.min.js @@ -25,4 +25,4 @@ Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.9.0 */ -var i={};i.lang={extend:function(e,t,s){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),s){var r;for(r in s)e.prototype[r]=s[r];var a=function(){},n=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(a=function(e,t){for(r=0;r{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{s.r(i),s.d(i,{AccountNotEnabled:()=>a.AccountNotEnabled,AccountSuspended:()=>a.AccountSuspended,AddressPending:()=>a.AddressPending,ArgumentsRequired:()=>a.ArgumentsRequired,AuthenticationError:()=>a.AuthenticationError,BadRequest:()=>a.BadRequest,BadResponse:()=>a.BadResponse,BadSymbol:()=>a.BadSymbol,BaseError:()=>a.BaseError,CancelPending:()=>a.CancelPending,DDoSProtection:()=>a.DDoSProtection,DuplicateOrderId:()=>a.DuplicateOrderId,Exchange:()=>e.e,ExchangeError:()=>a.ExchangeError,ExchangeNotAvailable:()=>a.ExchangeNotAvailable,InsufficientFunds:()=>a.InsufficientFunds,InvalidAddress:()=>a.InvalidAddress,InvalidNonce:()=>a.InvalidNonce,InvalidOrder:()=>a.InvalidOrder,MarginModeAlreadySet:()=>a.MarginModeAlreadySet,NetworkError:()=>a.NetworkError,NotSupported:()=>a.NotSupported,NullResponse:()=>a.NullResponse,OnMaintenance:()=>a.OnMaintenance,OrderImmediatelyFillable:()=>a.OrderImmediatelyFillable,OrderNotCached:()=>a.OrderNotCached,OrderNotFillable:()=>a.OrderNotFillable,OrderNotFound:()=>a.OrderNotFound,PermissionDenied:()=>a.PermissionDenied,Precise:()=>t.O,RateLimitExceeded:()=>a.RateLimitExceeded,RequestTimeout:()=>a.RequestTimeout,ace:()=>n.Z,alpaca:()=>o.Z,ascendex:()=>d.Z,bequant:()=>h.Z,bigone:()=>c.Z,binance:()=>u.Z,binancecoinm:()=>l.Z,binanceus:()=>f.Z,binanceusdm:()=>p.Z,bit2c:()=>m.Z,bitbank:()=>g.Z,bitbay:()=>v.Z,bitbns:()=>y.Z,bitcoincom:()=>b.Z,bitfinex:()=>w.Z,bitfinex2:()=>S.Z,bitflyer:()=>k.Z,bitforex:()=>O.Z,bitget:()=>T.Z,bithumb:()=>I.Z,bitmart:()=>x.Z,bitmex:()=>P.Z,bitopro:()=>M.Z,bitpanda:()=>E.Z,bitrue:()=>C.Z,bitso:()=>A.Z,bitstamp:()=>_.Z,bitstamp1:()=>B.Z,bittrex:()=>N.Z,bitvavo:()=>V.Z,bkex:()=>R.Z,bl3p:()=>L.Z,blockchaincom:()=>D.Z,btcalpha:()=>q.Z,btcbox:()=>F.Z,btcmarkets:()=>G.Z,btctradeua:()=>H.Z,btcturk:()=>U.Z,bybit:()=>W.Z,cex:()=>j.Z,coinbase:()=>K.Z,coinbaseprime:()=>Z.Z,coinbasepro:()=>z.Z,coincheck:()=>X.Z,coinex:()=>Q.Z,coinfalcon:()=>Y.Z,coinmate:()=>J.Z,coinone:()=>$.Z,coinsph:()=>ee.Z,coinspot:()=>te.Z,cryptocom:()=>se.Z,currencycom:()=>ie.Z,default:()=>cs,delta:()=>re.Z,deribit:()=>ae.Z,digifinex:()=>ne.Z,errors:()=>a,exchanges:()=>ds,exmo:()=>oe.Z,fmfwio:()=>de.Z,functions:()=>r,gate:()=>he.Z,gateio:()=>ce.Z,gemini:()=>ue.Z,hitbtc:()=>le.Z,hitbtc3:()=>fe.Z,hollaex:()=>pe.Z,huobi:()=>me.Z,huobijp:()=>ge.Z,huobipro:()=>ve.Z,idex:()=>ye.Z,independentreserve:()=>be.Z,indodax:()=>we.Z,kraken:()=>Se.Z,krakenfutures:()=>ke.Z,kucoin:()=>Oe.Z,kucoinfutures:()=>Te.Z,kuna:()=>Ie.Z,latoken:()=>xe.Z,lbank:()=>Pe.Z,lbank2:()=>Me.Z,luno:()=>Ee.Z,lykke:()=>Ce.Z,mercado:()=>Ae.Z,mexc:()=>_e.Z,mexc3:()=>Be.Z,ndax:()=>Ne.Z,novadax:()=>Ve.Z,oceanex:()=>Re.Z,okcoin:()=>Le.Z,okex:()=>De.Z,okex5:()=>qe.Z,okx:()=>Fe.Z,paymium:()=>Ge.Z,phemex:()=>He.Z,poloniex:()=>Ue.Z,poloniexfutures:()=>We.Z,pro:()=>hs,probit:()=>je.Z,tidex:()=>Ke.Z,timex:()=>Ze.Z,tokocrypto:()=>ze.Z,upbit:()=>Xe.Z,version:()=>os,wavesexchange:()=>Qe.Z,wazirx:()=>Ye.Z,whitebit:()=>Je.Z,woo:()=>$e.Z,yobit:()=>et.Z,zaif:()=>tt.Z,zonda:()=>st.Z});var e=s(3043),t=s(2194),r=s(7100),a=s(6689),n=s(9869),o=s(5660),d=s(9612),h=s(2049),c=s(7679),u=s(9987),l=s(9212),f=s(2723),p=s(3254),m=s(7691),g=s(7820),v=s(668),y=s(7790),b=s(1819),w=s(6537),S=s(730),k=s(8429),O=s(2035),T=s(9051),I=s(5305),x=s(3718),P=s(7077),M=s(172),E=s(2737),C=s(854),A=s(4388),_=s(4667),B=s(1242),N=s(8963),V=s(9943),R=s(2574),L=s(9476),D=s(182),q=s(6246),F=s(7796),G=s(1776),H=s(8776),U=s(6304),W=s(3527),j=s(6445),K=s(437),Z=s(1741),z=s(8856),X=s(2117),Q=s(332),Y=s(5585),J=s(9816),$=s(7811),ee=s(5782),te=s(7794),se=s(9129),ie=s(3214),re=s(1753),ae=s(24),ne=s(8846),oe=s(1729),de=s(5788),he=s(7290),ce=s(7036),ue=s(6743),le=s(4714),fe=s(4815),pe=s(8422),me=s(8146),ge=s(7034),ve=s(5547),ye=s(8232),be=s(9570),we=s(1605),Se=s(9922),ke=s(4470),Oe=s(3583),Te=s(1924),Ie=s(7732),xe=s(2545),Pe=s(3944),Me=s(8601),Ee=s(1758),Ce=s(3803),Ae=s(9013),_e=s(6641),Be=s(2305),Ne=s(4531),Ve=s(2449),Re=s(6749),Le=s(3007),De=s(5322),qe=s(7826),Fe=s(4042),Ge=s(7082),He=s(79),Ue=s(8891),We=s(6877),je=s(3657),Ke=s(4224),Ze=s(1067),ze=s(5261),Xe=s(7584),Qe=s(3853),Ye=s(6536),Je=s(5467),$e=s(517),et=s(3850),tt=s(5934),st=s(5140),it=s(2467),rt=s(2383),at=s(8848),nt=s(8764),ot=s(5078),dt=s(1326),ht=s(1230),ct=s(453),ut=s(9772),lt=s(588),ft=s(1885),pt=s(7504),mt=s(2302),gt=s(2191),vt=s(1297),yt=s(3005),bt=s(3623),wt=s(2883),St=s(6977),kt=s(2519),Ot=s(5030),Tt=s(5272),It=s(3848),xt=s(8368),Pt=s(204),Mt=s(6820),Et=s(2952),Ct=s(1788),At=s(9004),_t=s(8335),Bt=s(1465),Nt=s(9488),Vt=s(5189),Rt=s(8559),Lt=s(8384),Dt=s(9021),qt=s(4625),Ft=s(3484),Gt=s(1311),Ht=s(736),Ut=s(449),Wt=s(2387),jt=s(7181),Kt=s(627),Zt=s(6484),zt=s(5351),Xt=s(8080),Qt=s(7105),Yt=s(1530),Jt=s(2214),$t=s(4360),es=s(7924),ts=s(3541),ss=s(9782),is=s(7614),rs=s(4828),as=s(5630),ns=s(3910);const os="3.1.59";e.e.ccxtVersion=os;const ds={ace:n.Z,alpaca:o.Z,ascendex:d.Z,bequant:h.Z,bigone:c.Z,binance:u.Z,binancecoinm:l.Z,binanceus:f.Z,binanceusdm:p.Z,bit2c:m.Z,bitbank:g.Z,bitbay:v.Z,bitbns:y.Z,bitcoincom:b.Z,bitfinex:w.Z,bitfinex2:S.Z,bitflyer:k.Z,bitforex:O.Z,bitget:T.Z,bithumb:I.Z,bitmart:x.Z,bitmex:P.Z,bitopro:M.Z,bitpanda:E.Z,bitrue:C.Z,bitso:A.Z,bitstamp:_.Z,bitstamp1:B.Z,bittrex:N.Z,bitvavo:V.Z,bkex:R.Z,bl3p:L.Z,blockchaincom:D.Z,btcalpha:q.Z,btcbox:F.Z,btcmarkets:G.Z,btctradeua:H.Z,btcturk:U.Z,bybit:W.Z,cex:j.Z,coinbase:K.Z,coinbaseprime:Z.Z,coinbasepro:z.Z,coincheck:X.Z,coinex:Q.Z,coinfalcon:Y.Z,coinmate:J.Z,coinone:$.Z,coinsph:ee.Z,coinspot:te.Z,cryptocom:se.Z,currencycom:ie.Z,delta:re.Z,deribit:ae.Z,digifinex:ne.Z,exmo:oe.Z,fmfwio:de.Z,gate:he.Z,gateio:ce.Z,gemini:ue.Z,hitbtc:le.Z,hitbtc3:fe.Z,hollaex:pe.Z,huobi:me.Z,huobijp:ge.Z,huobipro:ve.Z,idex:ye.Z,independentreserve:be.Z,indodax:we.Z,kraken:Se.Z,krakenfutures:ke.Z,kucoin:Oe.Z,kucoinfutures:Te.Z,kuna:Ie.Z,latoken:xe.Z,lbank:Pe.Z,lbank2:Me.Z,luno:Ee.Z,lykke:Ce.Z,mercado:Ae.Z,mexc:_e.Z,mexc3:Be.Z,ndax:Ne.Z,novadax:Ve.Z,oceanex:Re.Z,okcoin:Le.Z,okex:De.Z,okex5:qe.Z,okx:Fe.Z,paymium:Ge.Z,phemex:He.Z,poloniex:Ue.Z,poloniexfutures:We.Z,probit:je.Z,tidex:Ke.Z,timex:Ze.Z,tokocrypto:ze.Z,upbit:Xe.Z,wavesexchange:Qe.Z,wazirx:Ye.Z,whitebit:Je.Z,woo:$e.Z,yobit:et.Z,zaif:tt.Z,zonda:st.Z},hs={alpaca:it.Z,ascendex:rt.Z,bequant:at.Z,binance:nt.Z,binancecoinm:ot.Z,binanceus:dt.Z,binanceusdm:ht.Z,bitcoincom:ct.Z,bitfinex:ut.Z,bitfinex2:lt.Z,bitget:ft.Z,bitmart:pt.Z,bitmex:mt.Z,bitopro:gt.Z,bitpanda:vt.Z,bitrue:yt.Z,bitstamp:bt.Z,bittrex:wt.Z,bitvavo:St.Z,blockchaincom:kt.Z,bybit:Ot.Z,cex:Tt.Z,coinbaseprime:It.Z,coinbasepro:xt.Z,coinex:Pt.Z,cryptocom:Mt.Z,currencycom:Et.Z,deribit:Ct.Z,exmo:At.Z,gate:_t.Z,gateio:Bt.Z,gemini:Nt.Z,hitbtc:Vt.Z,hollaex:Rt.Z,huobi:Lt.Z,huobijp:Dt.Z,huobipro:qt.Z,idex:Ft.Z,independentreserve:Gt.Z,kraken:Ht.Z,krakenfutures:Ut.Z,kucoin:Wt.Z,kucoinfutures:jt.Z,luno:Kt.Z,mexc:Zt.Z,mexc3:zt.Z,ndax:Xt.Z,okcoin:Qt.Z,okex:Yt.Z,okx:Jt.Z,phemex:$t.Z,poloniex:es.Z,poloniexfutures:ts.Z,probit:ss.Z,upbit:is.Z,wazirx:rs.Z,whitebit:as.Z,woo:ns.Z};for(const e in hs);hs.exchanges=Object.keys(hs),hs.Exchange=e.e;const cs=Object.assign({version:os,Exchange:e.e,Precise:t.O,exchanges:Object.keys(ds),pro:hs},ds,r,a)})(),self.ccxt=i})(); \ No newline at end of file +var i={};i.lang={extend:function(e,t,s){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var i=function(){};if(i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),s){var r;for(r in s)e.prototype[r]=s[r];var a=function(){},n=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(a=function(e,t){for(r=0;r{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{s.r(i),s.d(i,{AccountNotEnabled:()=>a.AccountNotEnabled,AccountSuspended:()=>a.AccountSuspended,AddressPending:()=>a.AddressPending,ArgumentsRequired:()=>a.ArgumentsRequired,AuthenticationError:()=>a.AuthenticationError,BadRequest:()=>a.BadRequest,BadResponse:()=>a.BadResponse,BadSymbol:()=>a.BadSymbol,BaseError:()=>a.BaseError,CancelPending:()=>a.CancelPending,DDoSProtection:()=>a.DDoSProtection,DuplicateOrderId:()=>a.DuplicateOrderId,Exchange:()=>e.e,ExchangeError:()=>a.ExchangeError,ExchangeNotAvailable:()=>a.ExchangeNotAvailable,InsufficientFunds:()=>a.InsufficientFunds,InvalidAddress:()=>a.InvalidAddress,InvalidNonce:()=>a.InvalidNonce,InvalidOrder:()=>a.InvalidOrder,MarginModeAlreadySet:()=>a.MarginModeAlreadySet,NetworkError:()=>a.NetworkError,NotSupported:()=>a.NotSupported,NullResponse:()=>a.NullResponse,OnMaintenance:()=>a.OnMaintenance,OrderImmediatelyFillable:()=>a.OrderImmediatelyFillable,OrderNotCached:()=>a.OrderNotCached,OrderNotFillable:()=>a.OrderNotFillable,OrderNotFound:()=>a.OrderNotFound,PermissionDenied:()=>a.PermissionDenied,Precise:()=>t.O,RateLimitExceeded:()=>a.RateLimitExceeded,RequestTimeout:()=>a.RequestTimeout,ace:()=>n.Z,alpaca:()=>o.Z,ascendex:()=>d.Z,bequant:()=>h.Z,bigone:()=>c.Z,binance:()=>u.Z,binancecoinm:()=>l.Z,binanceus:()=>f.Z,binanceusdm:()=>p.Z,bit2c:()=>m.Z,bitbank:()=>g.Z,bitbay:()=>v.Z,bitbns:()=>y.Z,bitcoincom:()=>b.Z,bitfinex:()=>w.Z,bitfinex2:()=>S.Z,bitflyer:()=>k.Z,bitforex:()=>O.Z,bitget:()=>T.Z,bithumb:()=>I.Z,bitmart:()=>x.Z,bitmex:()=>P.Z,bitopro:()=>M.Z,bitpanda:()=>E.Z,bitrue:()=>C.Z,bitso:()=>A.Z,bitstamp:()=>_.Z,bitstamp1:()=>B.Z,bittrex:()=>N.Z,bitvavo:()=>V.Z,bkex:()=>R.Z,bl3p:()=>L.Z,blockchaincom:()=>D.Z,btcalpha:()=>q.Z,btcbox:()=>F.Z,btcmarkets:()=>G.Z,btctradeua:()=>H.Z,btcturk:()=>U.Z,bybit:()=>W.Z,cex:()=>j.Z,coinbase:()=>K.Z,coinbaseprime:()=>Z.Z,coinbasepro:()=>z.Z,coincheck:()=>X.Z,coinex:()=>Q.Z,coinfalcon:()=>Y.Z,coinmate:()=>J.Z,coinone:()=>$.Z,coinsph:()=>ee.Z,coinspot:()=>te.Z,cryptocom:()=>se.Z,currencycom:()=>ie.Z,default:()=>cs,delta:()=>re.Z,deribit:()=>ae.Z,digifinex:()=>ne.Z,errors:()=>a,exchanges:()=>ds,exmo:()=>oe.Z,fmfwio:()=>de.Z,functions:()=>r,gate:()=>he.Z,gateio:()=>ce.Z,gemini:()=>ue.Z,hitbtc:()=>le.Z,hitbtc3:()=>fe.Z,hollaex:()=>pe.Z,huobi:()=>me.Z,huobijp:()=>ge.Z,huobipro:()=>ve.Z,idex:()=>ye.Z,independentreserve:()=>be.Z,indodax:()=>we.Z,kraken:()=>Se.Z,krakenfutures:()=>ke.Z,kucoin:()=>Oe.Z,kucoinfutures:()=>Te.Z,kuna:()=>Ie.Z,latoken:()=>xe.Z,lbank:()=>Pe.Z,lbank2:()=>Me.Z,luno:()=>Ee.Z,lykke:()=>Ce.Z,mercado:()=>Ae.Z,mexc:()=>_e.Z,mexc3:()=>Be.Z,ndax:()=>Ne.Z,novadax:()=>Ve.Z,oceanex:()=>Re.Z,okcoin:()=>Le.Z,okex:()=>De.Z,okex5:()=>qe.Z,okx:()=>Fe.Z,paymium:()=>Ge.Z,phemex:()=>He.Z,poloniex:()=>Ue.Z,poloniexfutures:()=>We.Z,pro:()=>hs,probit:()=>je.Z,tidex:()=>Ke.Z,timex:()=>Ze.Z,tokocrypto:()=>ze.Z,upbit:()=>Xe.Z,version:()=>os,wavesexchange:()=>Qe.Z,wazirx:()=>Ye.Z,whitebit:()=>Je.Z,woo:()=>$e.Z,yobit:()=>et.Z,zaif:()=>tt.Z,zonda:()=>st.Z});var e=s(3043),t=s(2194),r=s(7100),a=s(6689),n=s(9869),o=s(5660),d=s(9612),h=s(2049),c=s(7679),u=s(9987),l=s(9212),f=s(2723),p=s(3254),m=s(7691),g=s(7820),v=s(668),y=s(7790),b=s(1819),w=s(6537),S=s(730),k=s(8429),O=s(2035),T=s(9051),I=s(5305),x=s(3718),P=s(7077),M=s(172),E=s(2737),C=s(854),A=s(4388),_=s(4667),B=s(1242),N=s(8963),V=s(9943),R=s(2574),L=s(9476),D=s(182),q=s(6246),F=s(7796),G=s(1776),H=s(8776),U=s(6304),W=s(3527),j=s(6445),K=s(437),Z=s(1741),z=s(8856),X=s(2117),Q=s(332),Y=s(5585),J=s(9816),$=s(7811),ee=s(5782),te=s(7794),se=s(9129),ie=s(3214),re=s(1753),ae=s(24),ne=s(8846),oe=s(1729),de=s(5788),he=s(7290),ce=s(7036),ue=s(6743),le=s(4714),fe=s(4815),pe=s(8422),me=s(8146),ge=s(7034),ve=s(5547),ye=s(8232),be=s(9570),we=s(1605),Se=s(9922),ke=s(4470),Oe=s(3583),Te=s(1924),Ie=s(7732),xe=s(2545),Pe=s(3944),Me=s(8601),Ee=s(1758),Ce=s(3803),Ae=s(9013),_e=s(6641),Be=s(2305),Ne=s(4531),Ve=s(2449),Re=s(6749),Le=s(3007),De=s(5322),qe=s(7826),Fe=s(4042),Ge=s(7082),He=s(79),Ue=s(8891),We=s(6877),je=s(3657),Ke=s(4224),Ze=s(1067),ze=s(5261),Xe=s(7584),Qe=s(3853),Ye=s(6536),Je=s(5467),$e=s(517),et=s(3850),tt=s(5934),st=s(5140),it=s(2467),rt=s(2383),at=s(8848),nt=s(8764),ot=s(5078),dt=s(1326),ht=s(1230),ct=s(453),ut=s(9772),lt=s(588),ft=s(1885),pt=s(7504),mt=s(2302),gt=s(2191),vt=s(1297),yt=s(3005),bt=s(3623),wt=s(2883),St=s(6977),kt=s(2519),Ot=s(5030),Tt=s(5272),It=s(3848),xt=s(8368),Pt=s(204),Mt=s(6820),Et=s(2952),Ct=s(1788),At=s(9004),_t=s(8335),Bt=s(1465),Nt=s(9488),Vt=s(5189),Rt=s(8559),Lt=s(8384),Dt=s(9021),qt=s(4625),Ft=s(3484),Gt=s(1311),Ht=s(736),Ut=s(449),Wt=s(2387),jt=s(7181),Kt=s(627),Zt=s(6484),zt=s(5351),Xt=s(8080),Qt=s(7105),Yt=s(1530),Jt=s(2214),$t=s(4360),es=s(7924),ts=s(3541),ss=s(9782),is=s(7614),rs=s(4828),as=s(5630),ns=s(3910);const os="4.0.2";e.e.ccxtVersion=os;const ds={ace:n.Z,alpaca:o.Z,ascendex:d.Z,bequant:h.Z,bigone:c.Z,binance:u.Z,binancecoinm:l.Z,binanceus:f.Z,binanceusdm:p.Z,bit2c:m.Z,bitbank:g.Z,bitbay:v.Z,bitbns:y.Z,bitcoincom:b.Z,bitfinex:w.Z,bitfinex2:S.Z,bitflyer:k.Z,bitforex:O.Z,bitget:T.Z,bithumb:I.Z,bitmart:x.Z,bitmex:P.Z,bitopro:M.Z,bitpanda:E.Z,bitrue:C.Z,bitso:A.Z,bitstamp:_.Z,bitstamp1:B.Z,bittrex:N.Z,bitvavo:V.Z,bkex:R.Z,bl3p:L.Z,blockchaincom:D.Z,btcalpha:q.Z,btcbox:F.Z,btcmarkets:G.Z,btctradeua:H.Z,btcturk:U.Z,bybit:W.Z,cex:j.Z,coinbase:K.Z,coinbaseprime:Z.Z,coinbasepro:z.Z,coincheck:X.Z,coinex:Q.Z,coinfalcon:Y.Z,coinmate:J.Z,coinone:$.Z,coinsph:ee.Z,coinspot:te.Z,cryptocom:se.Z,currencycom:ie.Z,delta:re.Z,deribit:ae.Z,digifinex:ne.Z,exmo:oe.Z,fmfwio:de.Z,gate:he.Z,gateio:ce.Z,gemini:ue.Z,hitbtc:le.Z,hitbtc3:fe.Z,hollaex:pe.Z,huobi:me.Z,huobijp:ge.Z,huobipro:ve.Z,idex:ye.Z,independentreserve:be.Z,indodax:we.Z,kraken:Se.Z,krakenfutures:ke.Z,kucoin:Oe.Z,kucoinfutures:Te.Z,kuna:Ie.Z,latoken:xe.Z,lbank:Pe.Z,lbank2:Me.Z,luno:Ee.Z,lykke:Ce.Z,mercado:Ae.Z,mexc:_e.Z,mexc3:Be.Z,ndax:Ne.Z,novadax:Ve.Z,oceanex:Re.Z,okcoin:Le.Z,okex:De.Z,okex5:qe.Z,okx:Fe.Z,paymium:Ge.Z,phemex:He.Z,poloniex:Ue.Z,poloniexfutures:We.Z,probit:je.Z,tidex:Ke.Z,timex:Ze.Z,tokocrypto:ze.Z,upbit:Xe.Z,wavesexchange:Qe.Z,wazirx:Ye.Z,whitebit:Je.Z,woo:$e.Z,yobit:et.Z,zaif:tt.Z,zonda:st.Z},hs={alpaca:it.Z,ascendex:rt.Z,bequant:at.Z,binance:nt.Z,binancecoinm:ot.Z,binanceus:dt.Z,binanceusdm:ht.Z,bitcoincom:ct.Z,bitfinex:ut.Z,bitfinex2:lt.Z,bitget:ft.Z,bitmart:pt.Z,bitmex:mt.Z,bitopro:gt.Z,bitpanda:vt.Z,bitrue:yt.Z,bitstamp:bt.Z,bittrex:wt.Z,bitvavo:St.Z,blockchaincom:kt.Z,bybit:Ot.Z,cex:Tt.Z,coinbaseprime:It.Z,coinbasepro:xt.Z,coinex:Pt.Z,cryptocom:Mt.Z,currencycom:Et.Z,deribit:Ct.Z,exmo:At.Z,gate:_t.Z,gateio:Bt.Z,gemini:Nt.Z,hitbtc:Vt.Z,hollaex:Rt.Z,huobi:Lt.Z,huobijp:Dt.Z,huobipro:qt.Z,idex:Ft.Z,independentreserve:Gt.Z,kraken:Ht.Z,krakenfutures:Ut.Z,kucoin:Wt.Z,kucoinfutures:jt.Z,luno:Kt.Z,mexc:Zt.Z,mexc3:zt.Z,ndax:Xt.Z,okcoin:Qt.Z,okex:Yt.Z,okx:Jt.Z,phemex:$t.Z,poloniex:es.Z,poloniexfutures:ts.Z,probit:ss.Z,upbit:is.Z,wazirx:rs.Z,whitebit:as.Z,woo:ns.Z};for(const e in hs);hs.exchanges=Object.keys(hs),hs.Exchange=e.e;const cs=Object.assign({version:os,Exchange:e.e,Precise:t.O,exchanges:Object.keys(ds),pro:hs},ds,r,a)})(),self.ccxt=i})(); \ No newline at end of file diff --git a/dist/ccxt.bundle.cjs b/dist/ccxt.bundle.cjs index 36ef6b4fedbb..af5045b9c4e1 100644 --- a/dist/ccxt.bundle.cjs +++ b/dist/ccxt.bundle.cjs @@ -256072,7 +256072,7 @@ class woo extends woo$1 { //----------------------------------------------------------------------------- // this is updated by vss.js when building -const version = '3.1.60'; +const version = '4.0.3'; Exchange$1r.ccxtVersion = version; const exchanges = { 'ace': ace, diff --git a/dist/cjs/ccxt.js b/dist/cjs/ccxt.js index 3c21c7f60273..b95c623bd307 100644 --- a/dist/cjs/ccxt.js +++ b/dist/cjs/ccxt.js @@ -178,7 +178,7 @@ var woo$1 = require('./src/pro/woo.js'); //----------------------------------------------------------------------------- // this is updated by vss.js when building -const version = '3.1.60'; +const version = '4.0.3'; Exchange["default"].ccxtVersion = version; const exchanges = { 'ace': ace, diff --git a/js/ccxt.d.ts b/js/ccxt.d.ts index 50345cfb63aa..505c0289be62 100644 --- a/js/ccxt.d.ts +++ b/js/ccxt.d.ts @@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js'; import * as errors from './src/base/errors.js'; import { Market, Trade, Fee, Ticker, OrderBook, Order, Transaction, Tickers, Currency, Balance, DepositAddress, WithdrawalResponse, DepositAddressResponse, OHLCV, Balances, PartialBalances, Dictionary, MinMax } from './src/base/types.js'; import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending } from './src/base/errors.js'; -declare const version = "3.1.59"; +declare const version = "4.0.2"; import ace from './src/ace.js'; import alpaca from './src/alpaca.js'; import ascendex from './src/ascendex.js'; diff --git a/js/ccxt.js b/js/ccxt.js index d919790fb894..2ff7c53d643c 100644 --- a/js/ccxt.js +++ b/js/ccxt.js @@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js'; import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, MarginModeAlreadySet, BadResponse, NullResponse, InsufficientFunds, InvalidAddress, InvalidOrder, OrderNotFound, OrderNotCached, CancelPending, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, NotSupported, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, RequestTimeout, AuthenticationError, AddressPending } from './src/base/errors.js'; //----------------------------------------------------------------------------- // this is updated by vss.js when building -const version = '3.1.60'; +const version = '4.0.3'; Exchange.ccxtVersion = version; //----------------------------------------------------------------------------- import ace from './src/ace.js'; diff --git a/package-lock.json b/package-lock.json index bef3f1d3aca3..f955c7c098c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ccxt", - "version": "4.0.2", + "version": "4.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ccxt", - "version": "4.0.2", + "version": "4.0.3", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 6117428ef185..afc312ec0cd8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ccxt", - "version": "4.0.2", + "version": "4.0.3", "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges", "unpkg": "dist/ccxt.browser.js", "type": "module", diff --git a/php/Exchange.php b/php/Exchange.php index 55d542cab9ab..e109e18d45f8 100644 --- a/php/Exchange.php +++ b/php/Exchange.php @@ -36,7 +36,7 @@ use BN\BN; use Exception; -$version = '3.1.60'; +$version = '4.0.3'; // rounding mode const TRUNCATE = 0; @@ -55,7 +55,7 @@ class Exchange { - const VERSION = '3.1.60'; + const VERSION = '4.0.3'; private static $base58_alphabet = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; private static $base58_encoder = null; diff --git a/php/async/Exchange.php b/php/async/Exchange.php index 239067cd2e70..0c39a97441c3 100644 --- a/php/async/Exchange.php +++ b/php/async/Exchange.php @@ -34,11 +34,11 @@ include 'Throttle.php'; -$version = '3.1.60'; +$version = '4.0.3'; class Exchange extends \ccxt\Exchange { - const VERSION = '3.1.60'; + const VERSION = '4.0.3'; public $browser; public $marketsLoading = null; diff --git a/python/README.md b/python/README.md index 5adfbaed97de..df3d24e6cb15 100644 --- a/python/README.md +++ b/python/README.md @@ -210,13 +210,13 @@ console.log(version, Object.keys(exchanges)); All-in-one browser bundle (dependencies included), served from a CDN of your choice: -* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@3.1.60/dist/ccxt.browser.js -* unpkg: https://unpkg.com/ccxt@3.1.60/dist/ccxt.browser.js +* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.0.3/dist/ccxt.browser.js +* unpkg: https://unpkg.com/ccxt@4.0.3/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 - + ``` Creates a global `ccxt` object: diff --git a/python/ccxt/__init__.py b/python/ccxt/__init__.py index 571b1683eaca..051308e4a576 100644 --- a/python/ccxt/__init__.py +++ b/python/ccxt/__init__.py @@ -22,7 +22,7 @@ # ---------------------------------------------------------------------------- -__version__ = '3.1.60' +__version__ = '4.0.3' # ---------------------------------------------------------------------------- diff --git a/python/ccxt/async_support/__init__.py b/python/ccxt/async_support/__init__.py index b9ea6a8a6598..7710548dd893 100644 --- a/python/ccxt/async_support/__init__.py +++ b/python/ccxt/async_support/__init__.py @@ -4,7 +4,7 @@ # ----------------------------------------------------------------------------- -__version__ = '3.1.60' +__version__ = '4.0.3' # ----------------------------------------------------------------------------- diff --git a/python/ccxt/async_support/base/exchange.py b/python/ccxt/async_support/base/exchange.py index c9955cc7ab25..d5055f937664 100644 --- a/python/ccxt/async_support/base/exchange.py +++ b/python/ccxt/async_support/base/exchange.py @@ -2,7 +2,7 @@ # ----------------------------------------------------------------------------- -__version__ = '3.1.60' +__version__ = '4.0.3' # ----------------------------------------------------------------------------- diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index b04d4922f367..048e6538c323 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -4,7 +4,7 @@ # ----------------------------------------------------------------------------- -__version__ = '3.1.60' +__version__ = '4.0.3' # ----------------------------------------------------------------------------- diff --git a/python/ccxt/pro/__init__.py b/python/ccxt/pro/__init__.py index 22f62d6f067b..bf91eddc58c3 100644 --- a/python/ccxt/pro/__init__.py +++ b/python/ccxt/pro/__init__.py @@ -4,7 +4,7 @@ # ---------------------------------------------------------------------------- -__version__ = '3.1.60' +__version__ = '4.0.3' # ---------------------------------------------------------------------------- diff --git a/python/package.json b/python/package.json index 752bad7c8c1b..afc312ec0cd8 100644 --- a/python/package.json +++ b/python/package.json @@ -1,6 +1,6 @@ { "name": "ccxt", - "version": "3.1.60", + "version": "4.0.3", "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges", "unpkg": "dist/ccxt.browser.js", "type": "module", diff --git a/ts/ccxt.ts b/ts/ccxt.ts index b1f77a894128..20703b3c4beb 100644 --- a/ts/ccxt.ts +++ b/ts/ccxt.ts @@ -40,7 +40,7 @@ import { BaseError, ExchangeError, PermissionDenied, AccountNotEnabled, AccountS //----------------------------------------------------------------------------- // this is updated by vss.js when building -const version = '3.1.60'; +const version = '4.0.3'; (Exchange as any).ccxtVersion = version diff --git a/wiki/Install.md b/wiki/Install.md index 69c7b029943a..d3587702c419 100644 --- a/wiki/Install.md +++ b/wiki/Install.md @@ -40,14 +40,14 @@ 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@3.1.60/dist/ccxt.browser.js -* unpkg: https://unpkg.com/ccxt@3.1.60/dist/ccxt.browser.js +* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.0.3/dist/ccxt.browser.js +* unpkg: https://unpkg.com/ccxt@4.0.3/dist/ccxt.browser.js * ccxt: https://cdn.ccxt.com/latest/ccxt.min.js You can obtain a live-updated version of the bundle by removing the version number from the URL (the `@a.b.c` thing) or the /latest/ on our cdn — 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 - + ``` We also provide webpack minified and tree-shaken versions of the library starting from version 3.0.35 - Visit https://cdn.ccxt.com to browse the prebundled versions we distribute.