Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fork #4

Open
wants to merge 1,089 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1089 commits
Select commit Hold shift + click to select a range
e698700
fix(docs) - cors snippet example (#23523)
ttodua Aug 24, 2024
6aceae8
fix(docs) - cors snippet example (#23523)
Aug 24, 2024
de9cef3
fix(mexc) - remove networksById (#23534)
ttodua Aug 25, 2024
45cae10
chore: update changelog (#23531)
carlosmiei Aug 25, 2024
3dd2f09
fix(kraken,mexc): network space fix (#23532)
ttodua Aug 25, 2024
68b9e03
fix(ascendex) - remove safeNetwork (#23535)
ttodua Aug 25, 2024
8dbcad8
fix(bitrue) - remove safeNetwork (#23537)
ttodua Aug 25, 2024
ec94cfb
fix(cryptocom) - safeNetwork removal (#23536)
ttodua Aug 25, 2024
33ec19a
fix(kraken, mexc): networks (#23546)
carlosmiei Aug 25, 2024
c4cbfe6
fix(kraken, mexc): networks (#23546)
Aug 25, 2024
42d51f2
fix(base): get_object_value_from_key_list (#23549)
sc0Vu Aug 26, 2024
518dec5
fix(okcoin) - remove safeNetwork (#23544)
ttodua Aug 26, 2024
c50cb6a
fix(ascendex) - remove nbi ascendex (#23533)
ttodua Aug 26, 2024
4753f6d
feat(bybit): unWatchTrades/OrderBook/ticker (#23513)
carlosmiei Aug 26, 2024
10c197d
feat(bybit): unWatchTrades/OrderBook/ticker (#23513)
Aug 26, 2024
09a48ca
build: skip-tests (#23545)
carlosmiei Aug 26, 2024
f6c7c05
4.3.89
Aug 26, 2024
e95a9e4
4.3.89
Aug 26, 2024
5bbb7bb
fix(bitfinex2) - remove safeNetwork (#23540)
ttodua Aug 26, 2024
c74d0e3
fix(huobijp) - remove safenetwork (#23538)
ttodua Aug 26, 2024
7210e40
fix(okx) - remove safenetwork (#23539)
ttodua Aug 26, 2024
81e01c8
fix(okx) - remove safenetwork (#23539)
Aug 26, 2024
d2b4276
feat(binance): add some unSub methods (#23550)
carlosmiei Aug 26, 2024
8007207
feat(binance): add some unSub methods (#23550)
Aug 26, 2024
ec90ef8
feat(okx): add unWatchTrades/OrderBook (#23553)
carlosmiei Aug 26, 2024
1f89265
feat(okx): add unWatchTrades/OrderBook (#23553)
Aug 26, 2024
4ffc3c0
fix(coinex) - remove safeNetwork (#23542)
ttodua Aug 27, 2024
f62b35c
fix(bitget): fees signal (#23561)
carlosmiei Aug 27, 2024
6dbcef7
hitbtc transaction status (#23558)
ndubel Aug 27, 2024
724238f
latoken transaction status (#23557)
ndubel Aug 27, 2024
7359dc5
latoken transaction status (#23557)
Aug 27, 2024
55e2c18
fix(bitmart) - remove safenetwork (#23556)
ttodua Aug 27, 2024
218b2dd
fix(bitmart) - remove safenetwork (#23556)
Aug 27, 2024
efbe113
Safe value to safe dict/list/bool (#23552)
rayBastard Aug 27, 2024
8209844
Safe value to safe dict/list/bool (#23552)
Aug 27, 2024
0791975
bingx: websocket pro, inverse swap support (#23336)
Dan-krm Aug 28, 2024
9a2bbd6
bingx: websocket pro, inverse swap support (#23336)
Aug 28, 2024
db362c9
fix(whitebit) error handling (#23565)
CH-EdwinB Aug 28, 2024
8d6bff5
fix(whitebit) error handling (#23565)
Aug 28, 2024
0a3d554
feat(bingx): createOrder, add hedged param and default to one way mod…
Dan-krm Aug 29, 2024
62cfa57
feat(coinex): upgrade pro to v2 (#23189)
Dan-krm Aug 29, 2024
99234e7
feat(coinex): upgrade pro to v2 (#23189)
Aug 29, 2024
fb5fe02
bithumb: update doc (#23570)
sc0Vu Aug 29, 2024
f3e9a09
fix(bybit): update watchLiquidations (#23572)
sc0Vu Aug 29, 2024
2da8c5b
htx: update doc (#23571)
sc0Vu Aug 29, 2024
92b767a
lbank: update doc (#23569)
sc0Vu Aug 29, 2024
87c196a
build: skip-tests (#23573)
carlosmiei Aug 29, 2024
fdb3421
build: skip-tests (#23573)
Aug 29, 2024
d387bf6
4.3.90
Aug 29, 2024
9d52802
4.3.90
Aug 29, 2024
f68cac8
hitbtc transaction status (#23578)
ndubel Aug 30, 2024
27a742e
feat(kucoinfutures): add fetchBidsAsks (#23579)
carlosmiei Aug 30, 2024
eda9502
feat(woo): add active flag (#23583)
carlosmiei Aug 30, 2024
4a3ae9f
feat(woo): add active flag (#23583)
Aug 30, 2024
5fb6bf3
fix(binance): update rl for withdraw history api (#23585)
sc0Vu Aug 30, 2024
e89ea76
fix(kucoin) - handle HighFrequency (hf) accounts (#23582)
ttodua Aug 30, 2024
36de3b8
build: skip-tests (#23586)
carlosmiei Aug 30, 2024
0687a2e
build: skip-tests (#23588)
carlosmiei Aug 30, 2024
c849fef
build: skip-tests (#23588)
Aug 30, 2024
c7659d1
4.3.91
Aug 30, 2024
4ca3a23
4.3.91
Aug 30, 2024
8e7de1d
kucoin - corrections of 'safe' methods (#23590)
ttodua Aug 30, 2024
6f62e33
kucoin - corrections of 'safe' methods (#23590)
Aug 30, 2024
8e1da2d
build(deps-dev): bump webpack from 5.90.0 to 5.94.0 (#23574)
dependabot[bot] Aug 31, 2024
ed179e0
build(deps-dev): bump webpack from 5.90.0 to 5.94.0 (#23574)
Aug 31, 2024
d3fa8ee
fix(kucoin) - static tests (#23593)
ttodua Aug 31, 2024
4082f15
fix(hyperliquid): fetchOrder with clientOrderId (#23595)
carlosmiei Aug 31, 2024
5d7691a
fix(hyperliquid): fetchOrder with clientOrderId (#23595)
Aug 31, 2024
66133f4
build: skip-tests (#23598)
carlosmiei Aug 31, 2024
339247b
4.3.92
Aug 31, 2024
584b057
4.3.92
Aug 31, 2024
7a6ddf1
fix(hyperliquid): fetchTickers (#23605)
carlosmiei Sep 1, 2024
03700c7
chore: update changelog (#23603)
carlosmiei Sep 1, 2024
83cf388
feat(kucoin): add hf sync endpoints (#23604)
carlosmiei Sep 1, 2024
7e3d970
fix(hyperliquid): spot balance parsing (#23606)
carlosmiei Sep 1, 2024
3c0e59c
build: skip-tests (#23607)
carlosmiei Sep 1, 2024
8cc66bc
build: skip-tests (#23607)
Sep 1, 2024
ff3c716
4.3.93
Sep 1, 2024
7e4c95d
4.3.93
Sep 1, 2024
1f6570d
fix(bingx): swap reduceOnly order (#23608)
carlosmiei Sep 2, 2024
2c07282
feat(tests) - static data updater (#23612)
ttodua Sep 2, 2024
ee7049a
feat(tests) - static data updater (#23612)
Sep 2, 2024
6f82f08
4.3.94
Sep 2, 2024
2a3f032
4.3.94
Sep 2, 2024
bfd7019
fix(mexc): withdraw (#23611)
carlosmiei Sep 2, 2024
c31af91
fix(mexc): withdraw (#23611)
Sep 2, 2024
9107ba4
feat(okx) - bills history since 2021 (#23622)
ttodua Sep 3, 2024
71f6cfb
fix(indodax): create limit order (#23619)
jazarja Sep 3, 2024
4a5cc39
fix(indodax): create limit order (#23619)
Sep 3, 2024
5bda3af
fix(skip) - bingx skip (#23623)
ttodua Sep 3, 2024
7781a9a
exchanges - promise.all (#23600)
ttodua Sep 3, 2024
709bd13
exchanges - promise.all (#23600)
Sep 3, 2024
5e2187c
feat(hyperliquid): add fetchOrders/ClosedOrder and other fixes (#23626)
carlosmiei Sep 3, 2024
f43048c
fix(parseOHLCVs): tail cut (#23625)
carlosmiei Sep 3, 2024
aa6d1b5
fix(parseOHLCVs): tail cut (#23625)
Sep 3, 2024
97cdb7c
4.3.95
Sep 3, 2024
0587b51
4.3.95
Sep 3, 2024
291ad70
feat(hyperliquid): fetchLedger / fetchDeposits / fetchWithdrawals (#…
sc0Vu Sep 3, 2024
cfd62c9
fix(bybit): update fetchLedger endpoint for classic accounts (#23630)
carlosmiei Sep 3, 2024
734560b
fix(bybit): update fetchLedger endpoint for classic accounts (#23630)
Sep 3, 2024
2342d93
feat(binance, bybit): add unWatchOHLCVForSymbols (#23631)
carlosmiei Sep 3, 2024
c490317
feat(binance, bybit): add unWatchOHLCVForSymbols (#23631)
Sep 3, 2024
6f94014
Mexc docstring @see (#23634)
samgermain Sep 4, 2024
a3c9227
fix(hyperliquid): correct market id in fetchMytrade (#23636)
sc0Vu Sep 4, 2024
0c6a119
fix(hyperliquid): correct market id in fetchMytrade (#23636)
Sep 4, 2024
9847193
feat(bybit): add pagination to fetchLedger (#23638)
carlosmiei Sep 4, 2024
b457071
feat(bybit): add pagination to fetchLedger (#23638)
Sep 4, 2024
dbebbad
feat(okx, cryptocom): add unWatchOHLCVForSymbols/unWatchX (#23639)
carlosmiei Sep 4, 2024
bd4e1e2
feat(kucoin): remove hf detection (#23640)
carlosmiei Sep 4, 2024
9da11da
bingx OMNI > OmniCat conflict
Sep 4, 2024
ba9fcee
Merge branch 'master' of github.com:ccxt/ccxt
Sep 4, 2024
d94d9a1
Merge branch 'master' of github.com:ccxt/ccxt
Sep 4, 2024
edb48e6
fix(bitbay, hitbtc3) - remove aliases (#23641)
ttodua Sep 5, 2024
2bfea64
feat(okx): add watchBidsAsks and unwatchTickers (#23584)
sc0Vu Sep 5, 2024
37b5e53
fix(exchange) - remove fetchPermissions (#23642)
ttodua Sep 5, 2024
4349bdf
fix(exchange) - remove fetchPermissions (#23642)
Sep 5, 2024
fa84222
build: skip-tests (#23645)
carlosmiei Sep 5, 2024
910df0c
4.3.96
Sep 5, 2024
9ef96a3
feat(gate): add unWatchOrderBook/unWatchTradesForSymbols (#23647)
carlosmiei Sep 5, 2024
6a2692a
coinex parseTrade fee (#23646)
ndubel Sep 5, 2024
e8ea884
coinex parseTrade fee (#23646)
Sep 5, 2024
69baee5
feat(kucoin): add unWatchTrades (#23554)
carlosmiei Sep 5, 2024
53657d1
fix(binance): use maxLimit when using since+until (#23620)
olegtaranenko Sep 5, 2024
1ee1b30
fix(binance): use maxLimit when using since+until (#23620)
Sep 5, 2024
1b0b75d
examples/ccxt.pro/py/spot-vs-future-arbitrage-bitmart.py
Sep 6, 2024
454ca51
Merge branch 'master' of github.com:ccxt/ccxt
Sep 6, 2024
6820b99
4.3.97
Sep 6, 2024
0f0bede
4.3.97
Sep 6, 2024
406b6ee
kraken: update doc (#23651)
sc0Vu Sep 6, 2024
e5e88d2
feat(htx): update watchOrderbook levels (#23649)
zgayjjf Sep 6, 2024
1012822
fix(doc) - trigger order lines (#23643)
ttodua Sep 6, 2024
717046f
fix(gate): createOrderWs swap market orders (#23654)
carlosmiei Sep 6, 2024
a642897
fix(gate): createOrderWs swap market orders (#23654)
Sep 6, 2024
d961417
bitget error mapping (#23658)
ndubel Sep 6, 2024
358e4ca
kucoin fetchBalance funding account (#23655)
ndubel Sep 6, 2024
3bd4dc5
fix(whitebit) cross market fetchOpenOrders (#23657)
CH-EdwinB Sep 6, 2024
bb2675e
fix(whitebit) cross market fetchOpenOrders (#23657)
Sep 6, 2024
4cd02b9
feat(kucoin): add unWatchOrderBook (#23662)
carlosmiei Sep 7, 2024
8e99dcd
build: skip-tests (#23663)
carlosmiei Sep 7, 2024
471e4f7
build: skip-tests (#23663)
Sep 7, 2024
d1622cf
4.3.98
Sep 7, 2024
23697ad
4.3.98
Sep 7, 2024
ebb3d83
bitget APX > AstroPepeX conflict resolved
Sep 7, 2024
588a371
gate RED > RedLang fix
Sep 7, 2024
cc1f68d
examples/js/search-all-exchanges.js numeric currency ids fix
Sep 7, 2024
4c2589e
examples/js/search-all-exchanges.js numeric currency ids fix
Sep 8, 2024
845da9d
4.4.0
Sep 8, 2024
43c2d57
4.4.0
Sep 8, 2024
abb9b0c
chore: update changelog (#23664)
carlosmiei Sep 8, 2024
3121cbf
cli.ts and cli.js fix printout for undefined keyvalues
Sep 8, 2024
391b9e5
feat(hyperliquid): add unWatchTrades/OrderBook/OHLCV/Tickers (#23665)
carlosmiei Sep 9, 2024
7c98574
feat(hyperliquid): add unWatchTrades/OrderBook/OHLCV/Tickers (#23665)
Sep 9, 2024
b764ed4
4.4.1
Sep 9, 2024
6d6bf08
4.4.1
Sep 9, 2024
0ce4b16
fix(Unsubscription): clean subscription safely (#23667)
carlosmiei Sep 9, 2024
dfd1746
feat(kucoin): add unWatchOrderBook/unWatchTrades [wip] (#23668)
carlosmiei Sep 9, 2024
c394c03
feat(kucoin): add unWatchOrderBook/unWatchTrades [wip] (#23668)
Sep 9, 2024
3d24494
Mexc docstrings (#23672)
samgermain Sep 10, 2024
07c2cb1
bitmex: add @see (#23669)
sc0Vu Sep 10, 2024
b8f439d
fix(binance): watchBidsAsks (#23676)
sc0Vu Sep 10, 2024
e80372a
fix(cli) - readable stringify (#23674)
ttodua Sep 10, 2024
738cd3e
fix(cli) - readable stringify (#23674)
Sep 10, 2024
f2724b0
feat(binance) - margin field in fetchCurrencies & margin data in fetc…
ttodua Sep 10, 2024
9b394e5
feat(binance) - margin field in fetchCurrencies & margin data in fetc…
Sep 10, 2024
45ee090
fix(docs) - cross isolated readme ^Q (#23678)
ttodua Sep 10, 2024
f438b82
fix(currencycom,htx,mexc) - unrealized Pnl (#23679)
ttodua Sep 10, 2024
0ebfc95
fix(currencycom,htx,mexc) - unrealized Pnl (#23679)
Sep 10, 2024
3667679
wiki/Manual.md minor edits on working with dates and timestamps
Sep 10, 2024
701986d
Merge branch 'master' of github.com:ccxt/ccxt
Sep 10, 2024
85d70bb
cryptocom referral discount
Sep 11, 2024
696073d
cryptocom referral discount
Sep 11, 2024
2ffc912
build: skip-tests (#23682)
carlosmiei Sep 11, 2024
d8c1e62
fix(xt): OHLCV spot volume (#23683)
carlosmiei Sep 11, 2024
ea77915
fix(xt): OHLCV spot volume (#23683)
Sep 11, 2024
562949b
build: skip-tests (#23687)
carlosmiei Sep 11, 2024
4043cc6
4.4.2
Sep 11, 2024
837b251
4.4.2
Sep 11, 2024
a36e47b
cryptocom: update @see (#23693)
sc0Vu Sep 12, 2024
da9457b
feat(cryptocom): update ws (#23689)
sc0Vu Sep 12, 2024
5340ef3
binance - `trigger` (#23688)
ttodua Sep 12, 2024
73c8347
feat(phemex): add watchTickers (#23696)
sc0Vu Sep 12, 2024
aa29548
mexc: add watchTickers (#23670)
sc0Vu Sep 12, 2024
e0ab29d
bybit error mapping (#23697)
ndubel Sep 12, 2024
0388f6a
bybit error mapping (#23697)
Sep 12, 2024
7dcd711
feat(c#): add arrayConcat helper (#23705)
carlosmiei Sep 13, 2024
d715598
fix(okx): allow custom params in watchPositions (#23704)
sc0Vu Sep 13, 2024
d3f49b5
fix(mexc): swap watchTickers (#23702)
sc0Vu Sep 13, 2024
d4e05a3
feat(woofipro): add watchBidsAsks (#23701)
sc0Vu Sep 13, 2024
b05c516
feat(oxfun): add watchBidsAsks (#23703)
sc0Vu Sep 13, 2024
98385a0
xt parseMarket fix (#23699)
ndubel Sep 13, 2024
30004c4
bitmart cancelAllOrders new endpoint (#23707)
ndubel Sep 13, 2024
915c1b0
fix(c#): rename name (#23709)
carlosmiei Sep 13, 2024
daf3a00
fix(c#): rename name (#23709)
Sep 13, 2024
c7cf926
fetchPositionMode, setPositionMode docstrings (#23710)
samgermain Sep 14, 2024
615aa5d
bitstamp update fee tiers (#23708)
ndubel Sep 14, 2024
c5870a0
bitstamp update fee tiers (#23708)
Sep 14, 2024
10dacb6
4.4.3
Sep 14, 2024
54cbaac
4.4.3
Sep 14, 2024
1386a17
fix(mexc) - loading rl (#23698)
ttodua Sep 14, 2024
f24cbcb
kucoin handleErrors full message (#23706)
ndubel Sep 14, 2024
f81f803
kucoin handleErrors full message (#23706)
Sep 14, 2024
6ea662c
feat(okx): add error code (#23714)
carlosmiei Sep 15, 2024
5e71621
Mexc transfer method docstrings (#23717)
samgermain Sep 15, 2024
1ca5a96
Mexc transfer method docstrings (#23717)
Sep 15, 2024
fec2014
chore: update changelog (#23718)
carlosmiei Sep 15, 2024
02f2b54
docs(mexc): docstring @see links (#23722)
samgermain Sep 16, 2024
15f2859
fix(examples): update import path (#23725)
sc0Vu Sep 16, 2024
d5f29e6
added pop method to BaseCache (#23720)
cheunhong Sep 16, 2024
06fad77
added pop method to BaseCache (#23720)
Sep 16, 2024
5b67cd1
refactor(Exchange): add usage of the LedgerEntry type in fetchLedger …
Dan-krm Sep 16, 2024
a223954
feat(test) - repeat pause increase (#23727)
ttodua Sep 16, 2024
7140fc8
feat(test) - repeat pause increase (#23727)
Sep 16, 2024
3c235d1
readme - build ohlc bars !Q (#21587)
ttodua Sep 16, 2024
5a44c71
bingx NAP > $NAP (SNAP) mapping
Sep 16, 2024
071861f
bingx NAP > $NAP (SNAP) mapping
Sep 16, 2024
988b437
hyperliquid: update precision mode (#23560)
sc0Vu Sep 16, 2024
12d6302
hyperliquid: update precision mode (#23560)
Sep 16, 2024
984f7c3
fix(build) broken jsdoc syntax for mexc (#23730)
olegtaranenko Sep 17, 2024
319db89
docs(mexc): docstring @see (#23729)
samgermain Sep 17, 2024
1d2862d
feat(hyperliquid): add min cost (#23732)
carlosmiei Sep 17, 2024
cd9eb12
feat(hyperliquid): add min cost (#23732)
Sep 17, 2024
83e9aac
fix(deno): check whether self is undefined (#23733)
sc0Vu Sep 17, 2024
6204492
feat(readme): trading campaign (#23734)
carlosmiei Sep 17, 2024
70f2160
feat(readme): trading campaign (#23734)
Sep 17, 2024
bb6d1b9
feat(mexc): add watchBidsAsks (#23652)
sc0Vu Sep 17, 2024
97f4672
feat(bybit): add watchBidsAsks (#23644)
sc0Vu Sep 17, 2024
c71457b
feat(bybit): add watchBidsAsks (#23644)
Sep 17, 2024
cd7e202
p2b docstring fixes (#23736)
samgermain Sep 18, 2024
ec8b76c
build(deps): bump next from 14.1.1 to 14.2.10 in /examples/ts/nextjs-…
dependabot[bot] Sep 18, 2024
644b20a
build(deps): bump next from 14.1.1 to 14.2.10 in /examples/ts/nextjs-…
Sep 18, 2024
acd243d
fix(python) - unclosed connection leak (#23470)
ttodua Sep 18, 2024
35c7a76
build: skip-tests (#23742)
carlosmiei Sep 18, 2024
701ed19
build: skip-tests (#23742)
Sep 18, 2024
8551474
4.4.4
Sep 18, 2024
caffd34
4.4.4
Sep 18, 2024
62a6ea8
fix(paradex): update api (#23743)
sc0Vu Sep 18, 2024
76411b5
fix(paradex): update api (#23743)
Sep 18, 2024
e510864
mexc docstring @see (#23747)
samgermain Sep 19, 2024
e3dccd5
feat(bybit) - fetchOrder (#23746)
ttodua Sep 19, 2024
557cc38
feat(bybit) - fetchOrder (#23746)
Sep 19, 2024
f738c34
lykke parseBalance fix (#23752)
ndubel Sep 19, 2024
d09c04d
lykke parseBalance fix (#23752)
Sep 19, 2024
b9faeea
feat(hyperliquid): add watchTicker (#23751)
sc0Vu Sep 19, 2024
8d23f2e
feat(bitget): add margin in fetchMarkets (#23738)
sc0Vu Sep 19, 2024
879323a
feat(bitget): add margin in fetchMarkets (#23738)
Sep 19, 2024
e70d033
feat(binanceus): skip margin loading (#23749)
carlosmiei Sep 19, 2024
2df4af4
build: skip-tests (#23753)
carlosmiei Sep 19, 2024
76074d4
build: skip-tests (#23753)
Sep 19, 2024
da4dac8
4.4.5
Sep 19, 2024
ca44149
4.4.5
Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
.dockerignore
Dockerfile
node_modules
vendor
*.swp
*.pyc
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ __pycache__
bin/
obj/

.custom_gitignore
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ before_install:
- pip install twine # used to publish python package
- pip install pyopenssl aiohttp # used to run real-time tests
- pip install typing-extensions # required by python <3.11
- pip install psutil # used for python ws base test
- php -i | grep php.ini
- composer install
- sudo apt update
Expand Down
1,042 changes: 1,042 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ node run-tests --python-async kraken # test Kraken with Python async test, requi
Follow this steps to add a test:

- Create a file in [ts/tests/Exchange](ts/test/Exchange/) following syntax that can be transpiled.
- Add test to `runPrivateTests` or `runPublicTests` to [ts/src/test/test.ts](ts/src/test/test.ts#L354) or for ccxt.pro endpoints to [ts/src/pro/test/test.ts](ts/src/pro/test/test.ts#L121)
- Add test to `runPrivateTests` or `runPublicTests` to [ts/src/test/tests.ts](ts/src/test/tests.ts#L354) or for ccxt.pro endpoints to [ts/src/pro/test/tests.ts](ts/src/pro/test/tests.ts#L121)
- run `npm run transpile` to generate the test file in javascript, python and php.
- Call tests `node run-tests`

Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN pip3 install tox
RUN pip3 install aiohttp
RUN pip3 install cryptography
RUN pip3 install requests
RUN pip3 install psutil
# Dotnet
RUN curl -fsSL https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
Expand Down
265 changes: 135 additions & 130 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ install:
- set PATH=C:\Program Files\curl;%PATH%
- setx PATH "%PATH%"
- ps: Set-Service wuauserv -StartupType Manual
- cinst -y php --version 8.1.12 --allow-empty-checksums
- cinst composer -i -y
- choco install -y php --version 8.1.12 --allow-empty-checksums
- choco install composer -i -y
# - php -i | findstr "php.ini"
- cd c:\tools\php81
- copy php.ini-production php.ini
Expand Down
23 changes: 13 additions & 10 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ function run_tests {
if [ -z "$rest_pid" ]; then
if [ -z "$rest_args" ] || { [ -n "$rest_args" ] && [ "$rest_args" != "skip" ]; }; then
# shellcheck disable=SC2086
node run-tests --js --python-async --php-async --csharp --useProxy $rest_args &
npm run live-tests -- --js --python-async --php-async --csharp $rest_args &
local rest_pid=$!
fi
fi
if [ -z "$ws_pid" ]; then
if [ -z "$ws_args" ] || { [ -n "$ws_args" ] && [ "$ws_args" != "skip" ]; }; then
# shellcheck disable=SC2086
node run-tests --ws --js --python-async --php-async --csharp --useProxy $ws_args &
npm run live-tests -- --js --python-async --php-async --csharp --ws $ws_args &
local ws_pid=$!
fi
fi
Expand Down Expand Up @@ -80,9 +80,12 @@ build_and_test_all () {
# cd ..
# fi
fi
npm run test-base
npm run test-base-rest
npm run test-base-ws
node ./utils/test-commonjs.cjs
npm run id-tests
npm run request-tests
npm run response-tests
npm run commonjs-test
npm run package-test
npm run test-freshness
if [ "$IS_TRAVIS" = "TRUE" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
Expand Down Expand Up @@ -179,7 +182,7 @@ npm run check-php-syntax
# only run the python linter if exchange related files are changed
if [ ${#PYTHON_FILES[@]} -gt 0 ]; then
echo "$msgPrefix Linting python files: ${PYTHON_FILES[*]}"
ruff "${PYTHON_FILES[@]}"
ruff check "${PYTHON_FILES[@]}"
fi


Expand All @@ -197,7 +200,7 @@ npm run buildCS

# run base tests (base js,py,php, brokerId )
# npm run test-base
npm run test-js-base && npm run test-python-base && npm run test-php-base && npm run id-tests
npm run test-base-rest && npm run test-base-ws && npm run id-tests

# rest_args=${REST_EXCHANGES[*]} || "skip"
rest_args=$(IFS=" " ; echo "${REST_EXCHANGES[*]}") || "skip"
Expand All @@ -208,16 +211,16 @@ ws_args=$(IFS=" " ; echo "${WS_EXCHANGES[*]}") || "skip"
#request static tests
for exchange in "${REST_EXCHANGES[@]}"; do
npm run request-js -- $exchange
npm run request-py -- $exchange
php php/test/test_async.php $exchange --requestTests
npm run request-py-sync -- $exchange && npm run request-py-async -- $exchange
npm run request-php-sync -- $exchange && npm run request-php-async -- $exchange
npm run request-cs -- $exchange
done

#response static tests
for exchange in "${REST_EXCHANGES[@]}"; do
npm run response-js -- $exchange
npm run response-py -- $exchange
php php/test/test_async.php $exchange --responseTests
npm run response-py-sync -- $exchange && npm run response-py-async -- $exchange
npm run response-php-sync -- $exchange && npm run response-php-async -- $exchange
npm run response-cs -- $exchange
done

Expand Down
Loading