format_binance_withdrawals: Format Binance withdrawal file

View source: R/format_binance_withdrawals.R

format_binance_withdrawalsR Documentation

Format Binance withdrawal file

Description

Format a .xlsx withdrawal history file from Binance for later ACB processing.

Usage

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

Details

To get this file, connect to your Binance account on desktop, click "Wallet" (top right), "Transaction History", then in the "Type" column, choose "Withdraw". Next, click on "Export Withdrawal History" on the right and choose your time frame (you will probably need to choose "Customized"). You are only allowed to choose up to 3 months, so you might have to download more than one file and merge them before using this function.

Warning: This does NOT process TRADES See the format_binance_trades() function for this purpose.

Value

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

Examples

format_binance_withdrawals(data_binance_withdrawals)

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