ccz-0.3.2
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ccz-0.3.2 |
| نام | ccz |
| نسخه کتابخانه | 0.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ccz/ |
| مجوز | - |
# ccz
Intuitive cryptocurrency trading.
Quote currency is fixed.
## Installation
```
pip install ccz
```
## Setup
Create a `config.json` with the exchange configuration:
```json
{
"exchange": "binance",
"quote": "cad",
"auth": {
"apiKey": "foo",
"secret": "bar"
}
}
```
- `exchange` is the [CCXT exchange ID](https://github.com/ccxt/ccxt/wiki/Exchange-Markets).
- See [CCXT docs](https://github.com/ccxt/ccxt/wiki/Manual#api-keys-setup) for the `auth` structure.
## Trading
### Show balance
```bash
ccz balance
```
```
ada 74.11
bch 0.00
btc 43.71
doge 94.06
dot 0.00
eos 0.00
eth 127.98
link 0.00
ltc 0.82
usdt 20.34
xlm 0.00
xrp 5.22
unused 154.27
total 520.51
```
### Buy currency
Buy in quote currency:
```
ccz buy btc 50
```
Buy with percentage of available quote currency:
```
ccz buy btc 50 -p
```
### Sell currency
Sell by equivalent in quote currency:
```
ccz sell btc 50
```
Sell by percentage of available base currency:
```
ccz sell btc 50 -p
```
نیازمندی
| مقدار | نام |
|---|---|
| - | ccxt |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ccz-0.3.2:
pip install ccz-0.3.2.whl
نصب پکیج tar.gz ccz-0.3.2:
pip install ccz-0.3.2.tar.gz