https://github.com/m-kus/cctool
CryptoCompare.com portfolio import command line tool
https://github.com/m-kus/cctool
bittrex cryptocompare cryptocompare-api cryptocurrency import poloniex portfolio
Last synced: about 1 year ago
JSON representation
CryptoCompare.com portfolio import command line tool
- Host: GitHub
- URL: https://github.com/m-kus/cctool
- Owner: m-kus
- License: mit
- Created: 2018-12-15T10:31:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-16T13:32:31.000Z (over 7 years ago)
- Last Synced: 2025-02-02T09:26:13.284Z (about 1 year ago)
- Topics: bittrex, cryptocompare, cryptocompare-api, cryptocurrency, import, poloniex, portfolio
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CCTool
[](https://www.codacy.com/app/m-kus/cctool)
[](https://codeclimate.com/github/m-kus/cctool/maintainability?)
[](https://www.python.org)
[](https://opensource.org/licenses/MIT)
Import your trade history to the CryptoCompare.com, a portfolio tracking service.
## Supported exchanges
* Poloniex
* Bittrex
## Requirements
* git
* account on cryptocompare.com
## Installation
```
$ pip3 install git+https://github.com/m-kus/cctool --user
```
## Usage
### Export trades
#### Poloniex
1. Login into your Poloniex Account
2. Open the tab "ORDERS" -> "MY TRADE HISTORY & ANALYSIS" in the top navigation (https://www.poloniex.com/tradeHistory)
3. Click on "Export Complete Trade History" in the top right corner
4. Save the CSV file on your PC
#### Bittrex
1. Login into your Bittrex Account
2. Open "Orders" over the top navigation (https://bittrex.com/History)
3. Click on the "Download History" button at the top of the "MY ORDER HISTORY" table.
4. Save the CSV file on your PC
### Import trades
```
$ cctool
```
#### Portfolio name
You can specify an existing portfolio by full or partial name
```
$ cctool --portfolio "My portfolio"
```
#### Ignore errors
There are two kind of logical errors that might happen, if you sell more than you have, or if you add an existing item.
There is an option allowing to suppress these errors and simply skip such items.
```
$ cctool --ignore-errors
```