Hive Tax CSV – Free and Open Source Application

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@mightpossibly·
0.000 HBD
Hive Tax CSV – Free and Open Source Application
 https://img.inleo.io/DQmX16KueFke7y9acDfVRsMnBufp7KBvC4Ad1PNmM6o3k6u/image.png 

As I was doing my taxes last week I wanted to eliminate as much manual work as possible, so with the help of AI I attempted to develop a very simple application that would scan my account for all relevant L1 transactions of Hive throughout the year and output them in a tidy CSV. And what do you know, after only an hour or so of prompting and testing, I had a working program.

The application is open source and available on my github account:  
- https://github.com/mp-hive/Hive-Tax-CSV

### How it works (copy/paste from the Readme)
**Hive Tax CSV** is a simple Python application that will fetch tax relevant L1 transactions for a specific Hive account within a given [time](https://inleo.io/@leoglossary/leoglossary-time) period. The application will scan your Hive account between the dates you set and output a .csv file that can be further processed and then imported into the tax [software](https://inleo.io/@leoglossary/leoglossary-software) of your choice.

The application will fetch the following transactions:
- Claimed rewards (HP)
- Claimed rewards (HBD)
- HIVE/HBD Conversions
- HIVE/HBD Internal Market Trades
 
### How to use
1. Download and edit the file **fetchTransactions.py** and input your username and the desired time period.
```
account_name = "your-account-name"  # Replace with your Hive account name
start_date = datetime.strptime("2024-01-01", "%Y-%m-%d")
end_date = datetime.strptime("2024-4-11", "%Y-%m-%d")
```
2. Run the script. It will take a few seconds to a few minutes to complete, depending on the amount of transactions you've done in the selected time period. When the script is done it will output a CSV file to the same directory as where you placed/ran the script.

*If you don't know how to run a Python script, don't worry it's super easy. Ask ask any LLM (for instance ChatGPT) and you'll have it set up in no time*

### Here's an example output
 https://img.inleo.io/DQmTUa5dKhiZMqXviX5Dco6SjgQEM7A7TNrUg226habFZfv/image.png 

### Got questions?
If you have any questions at all, have no idea how to run a Python [script](https://inleo.io/@leoglossary/leoglossary-script) or whatever else, make sure to reach out in the comments' section below, and I'll try to help out as best I can.

---

<center> If you found this useful, feel free to leave a comment, upvote or reblog.

https://i.imgur.com/r815k0y.gif

Thank you for reading!</center>

---

### What is Hive?
To learn more about Hive, this article is a good place to start: [What is Hive?](https://inleo.io/@leoglossary/leoglossary-what-is-hive). If you don't already own a Hive account, [go here to get one](https://inleo.io/signup?referral=mightpossibly).

---

@leoglossary links added using [LeoLinker](https://inleo.io/@kendewitt/what-is-leolinker).




Posted Using [InLeo Alpha](https://inleo.io/@mightpossibly/hive-tax-csv-free-and-open-source-application)
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,