How to use the "Repair Ledger" button (Ledger repair wizard)

This page explains how to use the "Repair Ledger" button (Ledger repair wizard).

 

・For details on how to correct invalid transactions, please refer to here.

・For details on how to correct over-sell violations, please refer to here (currently only in Japanese).

 

■What is the "Repair Ledger" button (Ledger repair wizard)?

Starting from the invalid transaction with the oldest date, it takes you through the invalid transactions step by step and helps you to fix them. If you still have invalid transactions even after you uploaded as much history as you can remember, please use this function.

* Please note that if you upload transactions that do not reflect the actual history for the purpose of fixing invalid transactions, the PNL calculation will not be 100% accurate

* The "Repair Ledger" wizard does not handle invalid transactions in DeFi. These need to be fixed separately by manually entering custom trades.

 

■How to use the "Repair Ledger" button (Ledger repair wizard)

There are different types of invalid transactions and each type is fixed differently.

 

1. Invalid transactions due to insufficient positions

This type of invalid transaction means that you have missing transaction history.

In the example below, a sell history of 1BTC was uploaded when there was no history of acquiring any BTC position. In SPOT trades, it is not possible to sell coins that you do not own, which means some transactions are missing that contributed to acquiring at least 1BTC before the sell transaction.

The wizard helps you to upload the necessary transaction step by step, to acquire the position you need to fix the invalid transaction.

ledger-repair1.png

 

Impact to the PNL for each option

Option Impact to the PNL
I received it as part of an airdrop or from an exchange as part of a campaign Create the position at the market value of the transaction date and also consider it as a profit.
I received it from mining Create the position at the market value of the transaction date and also consider it as a profit.
A hard fork occurred and I receive coins as part of the split Purchase at 0 JPY
I participated in an ICO and received the coins Purchase with the number of coins used
I bought it from an unsupported exchange

Purchase at the transaction price

* Turn the "Perform price lookup" switch on to reference the market value of the transaction date

* You can check if the price is available from here.

I don't know when / at what price I received these coins

Purchase at the transaction price

* Turn the "Perform price lookup" switch on to reference the market value of the transaction date

* You can check if the price is available from here.

 

2. Invalid transactions due to missing prices

In order to calculate the PNL in a given reporting currency (the default is JPY), the price of the coin in the reporting currency at the time of transaction is often required. Cryptact collects price data for each coin on a minute-by-minute basis.

For each coin, you can check if the price is available from here.

If Cryptact does not have the price, the transaction becomes invalid with a missing price. Please look up the unit price for the base currency in JPY and enter it.

ledger-repair2.png

 

3. Invalid transactions due to unsupported currency

When you upload transactions via custom files, you need to select from the list of coin symbols supported by Cryptact. If you upload transactions using unsupported coin symbols, they become invalid transactions. The wizard does not handle this case. You need to click the relevant transaction and click "Edit" to edit the transaction detail.

For the list of coin symbols supported by Cryptact, please refer to here.

ledger-repair3.png

 

4. Invalid transactions that are not supported by the "Repair Ledger" button

If the oldest invalid transaction is one of the transaction types not supported by the "Repair Ledger" button, e.g. Return Borrow/Lend/DeFi/etc., the "Repair Ledger" button cannot be used.

Please fix the relevant invalid transactions without using the "Repair Ledger" button.

ledger-repair4.png