On September 30, 2021, we updated the method of reading the FTX/Borrow history file as follows.
Background
Regarding the Borrow history file of FTX, it only contains the balance and interest of the borrow, and there is no record of the repayment history. Additionally, we understand that the borrow amount is reviewed every hour.
Therefore, it is impossible for third parties to obtain information on when repayments were made.
Aggregation time of Borrow: HH:00:00 ~ HH:59:59.999
Example: Data from 3:00:00 to 3:59:59 is recorded as the history of 4:00:00
About the change in handling method
■ Previously
Due to the above background, when the borrow history was read, a new borrow was generated with that amount, and the repayment history was automatically generated one hour later.
■ After the change
When the borrow history is uploaded, it references the quantity of the previous borrow history line. If it has decreased, the repayment history for the decrease is automatically generated. If it has increased, an additional borrow history is added for the increase.
Interest payments on the borrow are also recognized as "borrow" and settled upon repayment.
Requests to users due to the change
【In the case of file reading: Request applicable】
For the last line of the borrow history in the file, an automatic repayment history for the entire amount will be generated one hour later. If no actual repayment has been made, please delete the automatically generated repayment history.
【In the case of API reading: No request】
Repayment history will only be automatically generated when an actual repayment is made. There is no additional action required from you.
In the future, you will need to consolidate all borrow histories into a single file.
If there is a borrow history, we recommend using API key linkage.
*For the method of linking with the FTX API key, click here
Disclaimer
As stated in the terms of use, we are not responsible for any changes in specifications, including calculation results.