m-kus / cctool

CryptoCompare.com portfolio import command line tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CCTool

Codacy Badge Maintainability Made With License: 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 <path-to-the-csv-file>

Portfolio name

You can specify an existing portfolio by full or partial name

$ cctool <path-to-the-csv-file> --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 <path-to-the-csv-file> --ignore-errors

About

CryptoCompare.com portfolio import command line tool

License:MIT License


Languages

Language:Python 100.0%