To receive a report, please follow these steps:
Prepare a ZIP file containing all the trade data CSV files (without sub directories). Name files after exchanges (e.g. include the name of the exchange somewhere in the file name):
my_trades_bitstamp_2018.csv=> Will be interpreted as Bitstamp trades.
coinbasepro_2019.csv=> Will be interpreted as Coinbase Pro trades.
trades.csv=> Will be interpreted as the generic file format.
Include all trades going back to when you first acquired each individual coin.
Upload the ZIP:
curl --header "Content-Type:application/octet-stream" --data-binary @input.zip \ https://api.cryptogains.io/api/v1/reports/ --output report.zip
(note that this is a single command — the backslash can be removed)
If everything goes well, this will result in an output ZIP file in
report.zip. In case of errors during the processing,
report.zipwill instead be a normal text file and contain error messages.
Always sanity check the calculated results. We make absolutely no guarantees about the validity of the results (see Legal).