Coder Social home page Coder Social logo

chralt98 / kryptosteuertool Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 97 KB

Binance FIFO Einzeltransaktionsaufstellung für den Handel mit Kryptowährungen Steuer Tool (german tax trading single transaction lineup for crypto currencies)

License: GNU General Public License v3.0

Python 100.00%

kryptosteuertool's People

Contributors

chralt98 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

kryptosteuertool's Issues

new format

Hi,

Thanks for sharing your project, good job.
Nevertheless, I try it with Binance, and the format is quite different to what the script expect.

  1. my trade file is a csv file. (If I save the file into Excel, somehow the date are saved into Timestamp format and no more 'str' and this mess up the sorting.
    binance_csv_handler.py line 57.
    transactions = sorted(transactions, key=lambda tx: tx[0])
    I then use read_csv from Pandas instead. This seems fine.

  2. The columns are very different, I started to change the columns but then figure it out that this will probably not work for Trade.
    deposit_withdrawal_input_column_names = {'Date': 0, 'Coin': 1, 'Amount': 2, 'TransactionFee': 6, 'Address': 7,
    'TXID': 1, 'SourceAddress': 7, 'PaymentID': 7, 'Status': 3}
    trading_input_column_names = {'Date(UTC)': 0, 'Market': 1, 'Type': 2, 'Price': 3, 'Amount': 4,
    'Total': 5, 'Fee': 6, 'Fee Coin': 7}

This is the format I got for the "trade":

<style> </style>
UTC_Time Account Operation Coin Change Remark
1/27/2021 14:34 Spot Deposit EUR xxxx  
1/28/2021 20:47 Spot Buy BTC xxxxx  
1/28/2021 20:47 Spot Transaction Related EUR xxxxx  
1/28/2021 20:47 Spot Fee BTC xxxxx  
1/28/2021 20:47 Spot Fee BTC xxxxx  
1/28/2021 20:47 Spot Transaction Related EUR xxxxx  
1/28/2021 20:47 Spot Buy BTC xxxxx  

Which is quite different from a 1 line trade you had.

I am happy to support and help. I have relatively good python skills.
I just did not wanted to start from scratch if there is open source project out there.

Best regards,
Jonathan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.