Skip to content

Commit 121ac3a

Browse files
author
github-actions
committed
test [TRANSFER]
1 parent 5a526c0 commit 121ac3a

File tree

293 files changed

+12
-75240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

293 files changed

+12
-75240
lines changed

.github/workflows/build-single-exchange.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build
1+
name: build-single-exchange
22
on:
33
push:
44
branches:
@@ -37,7 +37,7 @@ jobs:
3737
git add README.md
3838
git add .
3939
git commit -m "pushback" || echo "No changes to commit"
40-
git push
40+
git push origin HEAD:main
4141
4242
- name: Set up Python
4343
if: contains(github.event.head_commit.message, '[PUBLISH]')
@@ -51,7 +51,7 @@ jobs:
5151
python -m pip install --upgrade pip
5252
pip install build twine
5353
54-
- name: PyPi packager
54+
- name: PyPi package
5555
if: contains(github.event.head_commit.message, '[PUBLISH]')
5656
env:
5757
PYPI_API_SECRET_SP: ${{ secrets.PYPI_API_SECRET_SP }}

README.md

Lines changed: 0 additions & 523 deletions
This file was deleted.

build/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"build-single-exchange": "tsx build.ts",
88
"pypi-packager": "tsx pypi-packager.ts",
9+
910
"sample-generate": "cd ../.github/scripts/ && bash generate-exchange-skeleton.sh ../../../tmp_folder kucoin",
1011
"sample-build": "cd ../../tmp_folder/build && npm run build-single-exchange",
1112
"sample-pypi": "cd ../../tmp_folder/build && npm run pypi-packager",
@@ -16,8 +17,7 @@
1617
"dependencies": {
1718
"fs": "*",
1819
"path": "*",
19-
"semver": "^7.7.1",
20-
"typescript": "^5.8.2"
20+
"semver": "^7.7.1"
2121
},
2222
"devDependencies": {
2323
"tsx": "^4.19.3"

build/templates/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# __exchangeName__-python
22
Python SDK (sync and async) for __ExchangeName__ cryptocurrency exchange with Rest and WS capabilities.
33

4-
You can check the SDK docs here: [SDK](https://docs.ccxt.com/#/exchanges/__exchangeName__)
5-
You can check __ExchangeName__'s docs here: [Docs](__LINK_TO_OFFICIAL_EXCHANGE_DOCS__)
4+
- You can check the SDK docs here: [SDK](https://docs.ccxt.com/#/exchanges/__exchangeName__)
5+
- You can check __ExchangeName__'s docs here: [Docs](__LINK_TO_OFFICIAL_EXCHANGE_DOCS__)
6+
- Github repo: https://github.com/ccxt/__exchangeName__-python
7+
- Pypi package: https://pypi.org/project/__PYTHON_PACKAGE_NAME__
68

79

810
## Installation
@@ -25,6 +27,8 @@ def main():
2527
#
2628
# balance = instance.fetch_balance()
2729
# order = instance.create_order("__EXAMPLE_SYMBOL__", "limit", "buy", 1, 100000)
30+
31+
main()
2832
```
2933

3034
### Async

ccxt_version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.2.2

examples/async.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/sync.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

examples/websockets.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

gate/__init__.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

gate/ccxt/__init__.py

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)