Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
661 commits
Select commit Hold shift + click to select a range
414744c
[Automated changes] GO files
github-actions[bot] Apr 20, 2026
934ad10
[Automated changes] Python files
github-actions[bot] Apr 20, 2026
e3c3166
[Automated changes] JS files
github-actions[bot] Apr 20, 2026
885ae51
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 20, 2026
61ab283
[Automated changes] PHP files
github-actions[bot] Apr 20, 2026
8324157
[Automated changes] GO files
github-actions[bot] Apr 20, 2026
0bbabcc
[Automated changes] 4.5.50
github-actions[bot] Apr 20, 2026
0404db2
Update changelog for v4.5.50
carlosmiei Apr 20, 2026
3bb1d1e
fix(blofin): createOrder TPSL (#28432)
ttodua Apr 21, 2026
05aee98
[Automated changes] JS files
github-actions[bot] Apr 21, 2026
307f62b
[Automated changes] Python files
github-actions[bot] Apr 21, 2026
ce4ece9
[Automated changes] PHP files
github-actions[bot] Apr 21, 2026
4724045
[Automated changes] C# files
github-actions[bot] Apr 21, 2026
14647e2
[Automated changes] GO files
github-actions[bot] Apr 21, 2026
45f4336
fix(whitebit): error mapping (#28435)
ndubel Apr 21, 2026
97fb3a1
[Automated changes] JS files
github-actions[bot] Apr 21, 2026
e188537
[Automated changes] Python files
github-actions[bot] Apr 21, 2026
6c135e8
[Automated changes] PHP files
github-actions[bot] Apr 21, 2026
a7fc914
[Automated changes] C# files
github-actions[bot] Apr 21, 2026
75cd39f
[Automated changes] GO files
github-actions[bot] Apr 21, 2026
14a988c
fix(binance): parse spot order type (#28437)
sc0Vu Apr 23, 2026
7e3715a
[Automated changes] Python files
github-actions[bot] Apr 23, 2026
162f309
[Automated changes] JS files
github-actions[bot] Apr 23, 2026
37aaf64
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 23, 2026
7dcd6a0
[Automated changes] PHP files
github-actions[bot] Apr 23, 2026
8b823f9
[Automated changes] GO files
github-actions[bot] Apr 23, 2026
b956b04
fix(aster): multi watchOrderBook sub (#28447)
carlosmiei Apr 23, 2026
795341b
[Automated changes] Python files
github-actions[bot] Apr 23, 2026
1b333e0
[Automated changes] JS files
github-actions[bot] Apr 23, 2026
43eb283
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 23, 2026
3312d96
[Automated changes] PHP files
github-actions[bot] Apr 23, 2026
70f885c
[Automated changes] GO files
github-actions[bot] Apr 23, 2026
69f671a
feat(kucoin): update WS with uta endpoints (#28213)
yzh-pelle Apr 24, 2026
c746b21
Kucoinfutures - remove default `uta = false` (#28439)
yzh-pelle Apr 24, 2026
d7458d8
[Automated changes] Python files
github-actions[bot] Apr 24, 2026
efde9e2
[Automated changes] JS files
github-actions[bot] Apr 24, 2026
aaf9db8
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 24, 2026
b9857a2
[Automated changes] PHP files
github-actions[bot] Apr 24, 2026
1b26b52
[Automated changes] GO files
github-actions[bot] Apr 24, 2026
01f356a
fix(tests): kucoin uta false (#28450)
ttodua Apr 24, 2026
852af9c
feat: remove cicular dependencies (#28451)
sc0Vu Apr 24, 2026
6746c8a
[Automated changes] JS files
github-actions[bot] Apr 24, 2026
54d0446
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 24, 2026
96a5f38
[Automated changes] Python files
github-actions[bot] Apr 24, 2026
a3dc946
[Automated changes] JS files
github-actions[bot] Apr 24, 2026
bfb704b
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 24, 2026
1cbeeda
[Automated changes] PHP files
github-actions[bot] Apr 24, 2026
feed0dd
[Automated changes] GO files
github-actions[bot] Apr 24, 2026
19aa0d1
lighter: update skip nonce (#28443)
sc0Vu Apr 25, 2026
abf5388
[Automated changes] Python files
github-actions[bot] Apr 25, 2026
54aef9d
[Automated changes] JS files
github-actions[bot] Apr 25, 2026
c2827d7
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 25, 2026
32f8762
[Automated changes] PHP files
github-actions[bot] Apr 25, 2026
481391f
[Automated changes] GO files
github-actions[bot] Apr 25, 2026
5052fc8
fix(binance): c# build (#28454)
carlosmiei Apr 26, 2026
e05f8d3
[Automated changes] JS files
github-actions[bot] Apr 26, 2026
f8bcd33
[Automated changes] Python files
github-actions[bot] Apr 26, 2026
b1ab560
[Automated changes] PHP files
github-actions[bot] Apr 26, 2026
bfacbe0
[Automated changes] GO files
github-actions[bot] Apr 26, 2026
09612b0
chore: fix cs action (#28458)
carlosmiei Apr 27, 2026
fa7fc7b
chore(deps-dev): bump postcss from 8.4.31 to 8.5.10 in /examples/ts/n…
dependabot[bot] Apr 27, 2026
f89caae
[Automated changes] C# files
github-actions[bot] Apr 27, 2026
0ff0aa5
fix(gate): new spot OB channel (spot.obu) V2 (#28453)
carlosmiei Apr 27, 2026
1af1c1c
[Automated changes] JS files
github-actions[bot] Apr 27, 2026
87f7c06
[Automated changes] Python files
github-actions[bot] Apr 27, 2026
85dc1b2
[Automated changes] PHP files
github-actions[bot] Apr 27, 2026
995ac42
fix(bitget): guard symbols.length in fetchTickers UTA path (#28457)
mshavliuk Apr 27, 2026
33ccef8
[Automated changes] C# files
github-actions[bot] Apr 27, 2026
8755ad1
[Automated changes] Python files
github-actions[bot] Apr 27, 2026
98200bd
[Automated changes] JS files
github-actions[bot] Apr 27, 2026
d188d08
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 27, 2026
daee8fc
[Automated changes] GO files
github-actions[bot] Apr 27, 2026
b494269
[Automated changes] PHP files
github-actions[bot] Apr 27, 2026
27ba1e9
[Automated changes] C# files
github-actions[bot] Apr 27, 2026
eea8e66
[Automated changes] GO files
github-actions[bot] Apr 27, 2026
0b83f29
fix(hyperliquid): skip empty builder (#28460)
carlosmiei Apr 27, 2026
481eca5
fix(grvt): clientOrderId reading and postOnly orders, and watchOrders…
carlosmiei Apr 27, 2026
fa63b62
[Automated changes] Python files
github-actions[bot] Apr 27, 2026
c4ddd7d
[Automated changes] JS files
github-actions[bot] Apr 27, 2026
9b9aaec
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 27, 2026
221c2d0
[Automated changes] PHP files
github-actions[bot] Apr 27, 2026
967ca97
[Automated changes] C# files
github-actions[bot] Apr 27, 2026
92e817b
[Automated changes] GO files
github-actions[bot] Apr 27, 2026
9e4848a
[Automated changes] 4.5.51
github-actions[bot] Apr 27, 2026
cb087ba
Update changelog for v4.5.51
carlosmiei Apr 27, 2026
02cf201
feat: isDictionary (#28465)
ttodua Apr 27, 2026
ceb1e3f
[Automated changes] Python files
github-actions[bot] Apr 27, 2026
eed4f81
[Automated changes] PHP files
github-actions[bot] Apr 27, 2026
6c48f83
[Automated changes] C# files
github-actions[bot] Apr 27, 2026
39d62ad
[Automated changes] GO files
github-actions[bot] Apr 27, 2026
486ef7e
test: watchOrderBookForSymbols & watchTradesForSymbols - ensure all s…
ttodua Apr 28, 2026
491daa9
[Automated changes] JS files
github-actions[bot] Apr 28, 2026
418519f
[Automated changes] Python files
github-actions[bot] Apr 28, 2026
b8c91dd
[Automated changes] PHP files
github-actions[bot] Apr 28, 2026
f18423e
[Automated changes] C# files
github-actions[bot] Apr 28, 2026
c202dc8
[Automated changes] GO files
github-actions[bot] Apr 28, 2026
15e0d72
fix(grvt): fix clientOrderId in python (#28470)
carlosmiei Apr 29, 2026
da308fc
doc: sl tp feature (#28468)
ttodua Apr 29, 2026
0c02f88
[Automated changes] JS files
github-actions[bot] Apr 29, 2026
3543822
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 29, 2026
20242c8
[Automated changes] JS files
github-actions[bot] Apr 29, 2026
62eb29f
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] Apr 29, 2026
5b5987f
[Automated changes] Python files
github-actions[bot] Apr 29, 2026
1634f9e
[Automated changes] PHP files
github-actions[bot] Apr 29, 2026
5d120fb
[Automated changes] C# files
github-actions[bot] Apr 29, 2026
7426784
[Automated changes] GO files
github-actions[bot] Apr 29, 2026
4f74570
feat(kraken): skip synthetic markets unification (#28472)
yzh-pelle Apr 30, 2026
6b32609
[Automated changes] JS files
github-actions[bot] Apr 30, 2026
bf4f5e7
[Automated changes] Python files
github-actions[bot] Apr 30, 2026
44e817d
[Automated changes] PHP files
github-actions[bot] Apr 30, 2026
6943263
[Automated changes] C# files
github-actions[bot] Apr 30, 2026
10ccadc
[Automated changes] GO files
github-actions[bot] Apr 30, 2026
033f0ff
test: fix cs tests (#28473)
ttodua Apr 30, 2026
7cb1308
fix(go): ValueIsDefined (#28489)
ttodua May 1, 2026
fe02b03
fix(kraken): fetchMarkets `symbol` in Python fixed (#28496)
yzh-pelle May 3, 2026
2c61b7e
[Automated changes] Python files
github-actions[bot] May 3, 2026
71054ba
[Automated changes] JS files
github-actions[bot] May 3, 2026
a5f202a
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 3, 2026
3fbbe09
[Automated changes] PHP files
github-actions[bot] May 3, 2026
87661a3
[Automated changes] C# files
github-actions[bot] May 3, 2026
ed443f5
fix(binanceusdm): inheritance (#28493)
ttodua May 3, 2026
2ac05b8
fix(bequant): inheritance fix (#28495)
ttodua May 3, 2026
6c18b49
doc: grvt authentication related (#28491)
ttodua May 3, 2026
8b80416
test: remove timestamp check (#28492)
ttodua May 3, 2026
5e055dc
[Automated changes] GO files
github-actions[bot] May 3, 2026
59930c0
[Automated changes] JS files
github-actions[bot] May 3, 2026
1b20b3f
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 3, 2026
11551d1
[Automated changes] Python files
github-actions[bot] May 3, 2026
2ea12c6
[Automated changes] Python files
github-actions[bot] May 3, 2026
59688cf
[Automated changes] PHP files
github-actions[bot] May 3, 2026
2ebfc2e
[Automated changes] PHP files
github-actions[bot] May 3, 2026
af25a55
[Automated changes] C# files
github-actions[bot] May 3, 2026
c9b1314
[Automated changes] C# files
github-actions[bot] May 3, 2026
e12b320
[Automated changes] GO files
github-actions[bot] May 3, 2026
95c930e
[Automated changes] GO files
github-actions[bot] May 3, 2026
5757644
[Automated changes] GO files
github-actions[bot] May 3, 2026
4abefad
test: exchange properties tests (#27877)
ttodua May 4, 2026
8e26f6f
[Automated changes] JS files
github-actions[bot] May 4, 2026
4a93dd0
[Automated changes] Python files
github-actions[bot] May 4, 2026
0e16473
[Automated changes] PHP files
github-actions[bot] May 4, 2026
c490c95
[Automated changes] C# files
github-actions[bot] May 4, 2026
38a7de2
[Automated changes] GO files
github-actions[bot] May 4, 2026
09f4d2f
`costToPrecision` - fix (#14269)
ttodua May 4, 2026
189ea30
refactor: c# remove unreached line (#28140)
ttodua May 4, 2026
0ca0282
pre push hooks - Windows addition & bash updates (#23924)
ttodua May 4, 2026
26872c1
test: add check that last price is not too far (#28102)
ttodua May 4, 2026
dcb0294
test: skip go changes (#28237)
ttodua May 4, 2026
b95cdcb
[Automated changes] Python files
github-actions[bot] May 4, 2026
128ab83
[Automated changes] JS files
github-actions[bot] May 4, 2026
75d9649
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 4, 2026
b82fedc
[Automated changes] JS files
github-actions[bot] May 4, 2026
cf23a23
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 4, 2026
00bbc4f
[Automated changes] PHP files
github-actions[bot] May 4, 2026
5d6d306
[Automated changes] C# files
github-actions[bot] May 4, 2026
74cf3c3
fix(binance): fetchCurrencies reorg (#25721)
ttodua May 4, 2026
c287dc4
[Automated changes] GO files
github-actions[bot] May 4, 2026
4bec815
[Automated changes] JS files
github-actions[bot] May 4, 2026
df0d726
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 4, 2026
23010d9
[Automated changes] Python files
github-actions[bot] May 4, 2026
3e54363
[Automated changes] PHP files
github-actions[bot] May 4, 2026
d39a790
[Automated changes] C# files
github-actions[bot] May 4, 2026
cc3f3b8
binance cancelAllOrders requires symbol (#28507)
ndubel May 4, 2026
d763c81
[Automated changes] JS files
github-actions[bot] May 4, 2026
f412343
[Automated changes] Python files
github-actions[bot] May 4, 2026
dd18b90
[Automated changes] PHP files
github-actions[bot] May 4, 2026
5389330
[Automated changes] C# files
github-actions[bot] May 4, 2026
839ef4f
test: fix go skip (#28512)
ttodua May 5, 2026
7c32186
[Automated changes] Python files
github-actions[bot] May 5, 2026
407445b
[Automated changes] JS files
github-actions[bot] May 5, 2026
c5bc6cb
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 5, 2026
15fc6d4
[Automated changes] PHP files
github-actions[bot] May 5, 2026
10779d8
[Automated changes] C# files
github-actions[bot] May 5, 2026
950f0c8
[Automated changes] GO files
github-actions[bot] May 5, 2026
6fb1500
fix(grvt): integer to string (#28513)
ttodua May 5, 2026
38806de
fix(base): avoid params={} mutation in trigger/SL/TP wrappers (Python…
pcriadoperez May 5, 2026
9292128
[Automated changes] JS files
github-actions[bot] May 5, 2026
f6942ba
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 5, 2026
fa9c1ff
[Automated changes] Python files
github-actions[bot] May 5, 2026
9c8a874
[Automated changes] PHP files
github-actions[bot] May 5, 2026
f36eed8
[Automated changes] C# files
github-actions[bot] May 5, 2026
09b0cd4
[Automated changes] GO files
github-actions[bot] May 5, 2026
0a46790
[Automated changes] GO files
github-actions[bot] May 5, 2026
d454649
feat(aster): v3 (#28394)
ttodua May 5, 2026
36c2576
[Automated changes] JS files
github-actions[bot] May 5, 2026
1b82369
[Automated changes] Python files
github-actions[bot] May 5, 2026
a2d1f5c
[Automated changes] PHP files
github-actions[bot] May 5, 2026
5efd655
[Automated changes] C# files
github-actions[bot] May 5, 2026
51caa00
[Automated changes] GO files
github-actions[bot] May 5, 2026
1415367
[Automated changes] 4.5.52
github-actions[bot] May 5, 2026
bfb8a42
Update changelog for v4.5.52
carlosmiei May 5, 2026
33dce18
refactor(go): change `interface{}` to `any` (#27939)
ttodua May 5, 2026
60a4a32
[Automated changes] GO files
github-actions[bot] May 5, 2026
c4a22c2
feat(blofin): fetchPositionsHistory (#28516)
ttodua May 6, 2026
44493cf
[Automated changes] Python files
github-actions[bot] May 6, 2026
15823f8
[Automated changes] JS files
github-actions[bot] May 6, 2026
55f53de
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 6, 2026
b923c4f
[Automated changes] PHP files
github-actions[bot] May 6, 2026
7f15e6f
[Automated changes] C# files
github-actions[bot] May 6, 2026
7468532
[Automated changes] GO files
github-actions[bot] May 6, 2026
f608871
feat(phemex): fetchPositionHistory (#28517)
ttodua May 6, 2026
a44ae87
test: remove ts check for watchTrades (#28515)
ttodua May 6, 2026
ff55b72
[Automated changes] Python files
github-actions[bot] May 6, 2026
a825686
[Automated changes] JS files
github-actions[bot] May 6, 2026
602323d
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 6, 2026
df9e95e
[Automated changes] Python files
github-actions[bot] May 6, 2026
9ed644a
[Automated changes] PHP files
github-actions[bot] May 6, 2026
dfcd025
[Automated changes] PHP files
github-actions[bot] May 6, 2026
cff7e88
[Automated changes] C# files
github-actions[bot] May 6, 2026
5093e1f
[Automated changes] GO files
github-actions[bot] May 6, 2026
3f8b343
[Automated changes] GO files
github-actions[bot] May 6, 2026
8b88dd0
chore: skip aftermath again (#28527)
ttodua May 7, 2026
04925f8
chore: btcbox extend skip 1 month (#28525)
ttodua May 7, 2026
ccda525
[Automated changes] JS files
github-actions[bot] May 7, 2026
99454d0
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 7, 2026
1154659
[Automated changes] JS files
github-actions[bot] May 7, 2026
40cb495
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 7, 2026
fd10d5d
feat(okx): added a new demo account endpoint (#28534)
Dan-krm May 8, 2026
e253d31
fix(bitfinex): tickers parsing fix (#28526)
ttodua May 8, 2026
171bf5f
chore: lighter contracts skip (#28523)
ttodua May 8, 2026
a1a578a
doc: fix ccxt doc site links (#28530)
ttodua May 8, 2026
2d78f76
fix(upbit): fetchTickers (#28522)
ttodua May 8, 2026
55bd005
fix(gate): created timestamp for unlisted options (#28524)
ttodua May 8, 2026
5e21ecc
fix(safeInteger): default value bug (#28521)
ttodua May 8, 2026
9b9fbdb
[Automated changes] Python files
github-actions[bot] May 8, 2026
7103f80
[Automated changes] JS files
github-actions[bot] May 8, 2026
01f2b2e
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 8, 2026
a3ce5a9
[Automated changes] Python files
github-actions[bot] May 8, 2026
00a533a
[Automated changes] PHP files
github-actions[bot] May 8, 2026
1938120
[Automated changes] PHP files
github-actions[bot] May 8, 2026
0851797
[Automated changes] C# files
github-actions[bot] May 8, 2026
150fe49
[Automated changes] C# files
github-actions[bot] May 8, 2026
dedc73e
[Automated changes] GO files
github-actions[bot] May 8, 2026
f2577f1
[Automated changes] GO files
github-actions[bot] May 8, 2026
43f1da8
fix(bitmart): ws subscriptions fix (#28514)
ttodua May 8, 2026
b5cace7
fix(krakenfutures): watch unique subscriptions (#28529)
ttodua May 8, 2026
edfa10e
[Automated changes] Python files
github-actions[bot] May 8, 2026
e78a782
[Automated changes] PHP files
github-actions[bot] May 8, 2026
3c092ce
[Automated changes] JS files
github-actions[bot] May 8, 2026
5cb1973
Merge branch 'master' of https://github.com/ccxt/ccxt
github-actions[bot] May 8, 2026
acfabc0
[Automated changes] Python files
github-actions[bot] May 8, 2026
dd24687
[Automated changes] PHP files
github-actions[bot] May 8, 2026
8ba1e6f
[Automated changes] C# files
github-actions[bot] May 8, 2026
2b108d0
[Automated changes] C# files
github-actions[bot] May 8, 2026
baada1a
[Automated changes] GO files
github-actions[bot] May 8, 2026
ccd2104
[Automated changes] GO files
github-actions[bot] May 8, 2026
1af1aef
refactor: safe dict first value (#28506)
ttodua May 9, 2026
321341b
[Automated changes] JS files
github-actions[bot] May 9, 2026
8c204ac
[Automated changes] C# files
github-actions[bot] May 9, 2026
712d842
Merge upstream ccxt/ccxt master (v4.5.47 → v4.5.52)
ntemireyeva May 10, 2026
77f5764
CORE-446: fix LoadMarkets marketsLoaded invariant
ntemireyeva May 10, 2026
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .git-templates/hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [ $ESLINT_EXIT_CODE -ne 0 ]; then
fi

# Run python linting
ruff ./python/ccxt
npm run check-python-ruff
PYTHON_EXIT_CODE=$?

if [ $PYTHON_EXIT_CODE -ne 0 ]; then
Expand All @@ -52,4 +52,4 @@ if [ $PHP_EXIT_CODE -ne 0 ]; then
fi

echo "All checks passed, pushing..."
exit 0
exit 0
10 changes: 10 additions & 0 deletions .git-templates/hooks/pre-push-windows.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
:: Note, you can either:
:: A) run this file
:: or
:: B) directly add the last line (with double backslashed absolute paths) in your Windows preferred Git's pre-push command

set current_dir=%~dp0
:: need to double backslash it before passing into arg of command
set current_dir=%current_dir:\=\\\\%
:: in case of exit-code is not 0, we should prevent the window from auto-closing immediately
"%ProgramFiles%\Git\git-bash.exe" -c "%current_dir%pre-push; exit_code=$?; if [ $exit_code -ne 0 ]; then read; fi;"
2 changes: 1 addition & 1 deletion .github/workflows/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: npm run pre-transpile-cs
- name: Transpile to C#
if: env.important_modified == 'true'
run: npm run transpileCS
run: npm run transpileCS && npm run transpileCSWs
- name: Transpile to C# (specific)
if: env.important_modified == 'false'
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ jobs:
run: |
cd build/ccxt.wiki
cp -R ../../wiki/* .
git add .
git commit -a -m "[Automated changes] ${{ github.event.head_commit.message }}" || true
git remote remove origin
git remote add origin https://${GITHUB_TOKEN}@github.com/ccxt/ccxt.wiki.git
Expand Down
227 changes: 227 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

242 changes: 123 additions & 119 deletions README.md

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions build/csharpTranspiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@ class NewTranspiler {

const file = fileHeader + baseMethods + "\n";
fs.writeFileSync (csharpExchangeBase, file);
log.green ('Transpiled base methods to', (csharpExchangeBase as any).yellow)
}
}

Expand Down Expand Up @@ -1234,7 +1235,7 @@ class NewTranspiler {
[/assert/g, 'Assert'],
[ /object exchange(?=[,)])/g, 'Exchange exchange' ],
[ /\s*public\sobject\sequals(([^}]|\n)+)+}/gm, '' ], // remove equals
[ /testSharedMethods.AssertDeepEqual/gm, 'AssertDeepEqual' ], // deepEqual added
[ /testSharedMethods\./gm, '' ], // deepEqual added
// Match ArrayCache variables and cast to appropriate type based on variable name
// Order matters: check most specific types first
[/(\w*ArrayCacheBySymbolBySide\w*)\.hashmap/g, '(($1 as ArrayCacheBySymbolBySide).hashmap)'],
Expand Down Expand Up @@ -1450,13 +1451,16 @@ async function runMain () {
const examples = process.argv.includes ('--examples');
const force = process.argv.includes ('--force')
const child = process.argv.includes ('--child')
const baseClassOnly = process.argv.includes ('--baseClass')
const multiprocess = process.argv.includes ('--multiprocess') || process.argv.includes ('--multi')
shouldTranspileTests = process.argv.includes ('--noTests') ? false : true
if (!child && !multiprocess) {
log.bright.green ({ force })
}
const transpiler = new NewTranspiler ();
if (ws) {
if (baseClassOnly) {
transpiler.transpileBaseMethods ('./ts/src/base/Exchange.ts')
} else if (ws) {
await transpiler.transpileWS (force)
} else if (test) {
transpiler.transpileTests ()
Expand Down
2 changes: 2 additions & 0 deletions build/dummy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ build
!
go
.
!!
.
!!
8 changes: 4 additions & 4 deletions build/generateImplicitAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ function createImplicitMethodsGo(){
const methodNames = storedCamelCaseMethods[exchange];

// const reusableMethod = [
// `func (this *${exchange}) callEndpointAsync(endpointName string, args ...interface{}) <-chan interface{} {`,
// `func (this *${exchange}) callEndpointAsync(endpointName string, args ...any) <-chan any {`,
// ` parameters := GetArg(args, 0, nil)`,
// ` ch := make(chan interface{})`,
// ` ch := make(chan any)`,
// ` go func() {`,
// ` defer close(ch)`,
// ` defer func() {`,
Expand All @@ -237,13 +237,13 @@ function createImplicitMethodsGo(){

const methods = methodNames.map(method=> {
return [
`func (this *${capitalize(exchange)}Core) ${capitalize(method)} (args ...interface{}) <-chan interface{} {`,
`func (this *${capitalize(exchange)}Core) ${capitalize(method)} (args ...any) <-chan any {`,
` return this.callEndpointAsync("${method}", args...)`,
`}`,
``,
].join('\n')
// return [
// `${IDEN}func (this *${exchange}) ${capitalize(method)} (args ...interface{}) <-chan interface{} {`,
// `${IDEN}func (this *${exchange}) ${capitalize(method)} (args ...any) <-chan any {`,
// `${IDEN}${IDEN}parameters := GetArg(args, 0, nil)`,
// `${IDEN}${IDEN}return this.callEndpoint ("${method}", parameters);`,
// `${IDEN}}`,
Expand Down
Loading
Loading