format_CDC_wallet: Format CDC wallet file

View source: R/format_CDC_wallet.R

format_CDC_walletR Documentation

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)

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).

Value

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

Examples

format_CDC_wallet(data_CDC_wallet)

cryptoTax documentation built on March 7, 2023, 7:46 p.m.