Skip to content

Commit 176a791

Browse files
author
github-actions
committed
[BUILD]: dd088fbbbfe1c0d53ef342b0d5f0ea5ac09b50fb
1 parent 33055e9 commit 176a791

File tree

8 files changed

+5
-290
lines changed

8 files changed

+5
-290
lines changed

.github/scripts/push-to-repo.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ GITHUB_SHA=$3
99
TEMP_DIR=$(mktemp -d)
1010
TEMP_DIR_GIT="$TEMP_DIR/$EXCHANGE_NAME-python"
1111
git clone https://x-access-token:$API_TOKEN@github.com/ccxt/$EXCHANGE_NAME-python.git $TEMP_DIR_GIT
12+
# at first, clean th directory (except .git directory) and copy all files
13+
rm -rf $TEMP_DIR_GIT/*
14+
rm -rf $TEMP_DIR_GIT/.github/*
1215
rsync -av --exclude='.git' ./ $TEMP_DIR_GIT
1316
# remove all yml files except remote
1417
dir $TEMP_DIR_GIT/.github/workflows/

.github/workflows/remote-build.yml

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

README.md

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,3 @@
1-
# kucoin-python
2-
Python SDK (sync and async) for Kucoin with Rest and WS capabilities.
3-
4-
You can check Kucoin's docs here: [Docs](https://example.com)
5-
6-
7-
You can check the SDK docs here: [SDK](https://docs.ccxt.com/#/exchanges/kucoin)
8-
9-
*This package derives from CCXT and allows you to call pretty much every endpoint by either using the unified CCXT API or calling the endpoints directly*
10-
11-
## Installation
12-
13-
```
14-
pip install kucoin-api
15-
```
16-
17-
## Usage
18-
19-
### Async
20-
21-
```Python
22-
from kucoin-api import KucoinAsync
23-
24-
async def main():
25-
instance = KucoinAsync({})
26-
order = await instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)
27-
```
28-
29-
### Sync
30-
31-
```Python
32-
from kucoin-api import KucoinSync
33-
34-
def main():
35-
instance = KucoinSync({})
36-
order = instance.create_order(__EXAMPLE_SYMBOL__, "limit", "buy", 1, 100000)
37-
```
38-
39-
### Websockets
40-
41-
```Python
42-
from kucoin-api import KucoinWs
43-
44-
async def main():
45-
instance = KucoinWs({})
46-
while True:
47-
orders = await instance.watch_orders(__EXAMPLE_SYMBOL__)
48-
```
1+
# central repo for single exchanges
492

3+
this is dev.repo, not meant to be used by end users.

build/sources/README.md

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

build/sources/examples/async.py

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

build/sources/examples/sync.py

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

build/sources/examples/websockets.py

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

build/update-readme.sh

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

0 commit comments

Comments
 (0)