Learn R Programming

cryptoTax (version 0.0.5)

format_CDC_wallet: Format CDC wallet file

Description

Format a .csv transaction history file from the Crypto.com DeFi wallet for later ACB processing.

One way to download the CRO staking rewards data from the blockchain is to visit http://crypto.barkisoft.de/ and input your CRO address. Keep the default export option ("Koinly"). It will output a CSV file with your transactions. Note: the site does not use a secure connection: use at your own risks. The file is semi-column separated; when using read.csv, add the sep = ";" argument.

Usage

format_CDC_wallet(data, list.prices = NULL, force = FALSE)

Value

A data frame of exchange transactions, formatted for further processing.

Arguments

data

The dataframe

list.prices

A list.prices object from which to fetch coin prices.

force

Whether to force recreating list.prices even though it already exists (e.g., if you added new coins or new dates).

Examples

Run this code
format_CDC_wallet(data_CDC_wallet)

Run the code above in your browser using DataLab