Comments (7)
Thanks. sent an email
from bittytax.
New branch added for Kraken parser (https://github.com/BittyTax/BittyTax/tree/features/kraken-parser).
This parser supports both the "trades" and "ledger" exports. The ledger data file is used only for deposits/withdrawals, trades are ignored and taken from the trades data file which contains more detail.
from bittytax.
Thanks @nanonano it's working well now: recognises my Kraken trades csv file and 'USDC' shows up as the buy asset.
from bittytax.
Hi @viktortnk,
At the moment Kraken is not supported.
You can see all the supported parsers using the help command.
bittytax_conv --help
I've had someone else ask for this too. I've not used Kraken myself so don't have any example data files to work the parser. If you are willing to share your exported data for this, please email me privately. Thanks.
from bittytax.
Hello, I tested out your new parser with my data, works perfectly for the deposits/withdrawals but it doesn't recognise my trades file.
WARNING File format is unrecognised: kraken_2020-11-25_trades.csv
After looking at your commit, I think the issue is that my file doesn't have as many columns as your code is expecting.
The first line of my trades file from Kraken (obtained from https://www.kraken.com/u/history/export) is:
"txid","ordertxid","pair","time","type","ordertype","price","cost","fee","vol","margin","misc","ledgers"
I'm not sure why I don't have the post...
or c...
columns. Perhaps they are related to futures or margin trading which I haven't done.
from bittytax.
I have truncated bittytax/conv/parsers/kraken.py line 98 to
['txid', 'ordertxid', 'pair', 'time', 'type', 'ordertype', 'price', 'cost', 'fee', 'vol','margin', 'misc', 'ledgers']
Then run again and it works.
The output is mostly correct except my trades in the USDC/USD market show up as assets C
and USD
.
Example line from my CSV file:
"TZFNJN-ZX7AI-AZFWOJ","O5IMKL-MMYWN-7LQ6I4","USDCUSD","2020-10-08 17:22:57.9366","buy","limit",1.00010000,126.72853389,0.25345707,126.71586230,0.00000000,"","LL4VBF-JH2DU-OG3P6Q,LDMNZX-GYVSO-GOQY3S"
Which BittyTax has converted to:
Trade | 126.7158623 | C | | 126.72853389 | USD | | 0.25345707 | USD | | Kraken | 2020-10-08 17:22:58
Interestingly, trades in the USDCEUR
market have converted correctly to USDC
and EUR
.
from bittytax.
Hi @curtailment, I've just pushed a fix for this in the (https://github.com/BittyTax/BittyTax/tree/features/kraken-parser) branch (f85ad0a) are you able to test it?
from bittytax.
Related Issues (20)
- Error with Bittytax 0.5.3.dev0 HOT 2
- Nexo time / date format changed HOT 1
- adalite.py typo HOT 2
- Process stuck due to memory and disk usage HOT 6
- Accounting tool not processing sheets correctly HOT 29
- bscscan has changed its datetime format HOT 4
- binance unrecognised transactions HOT 8
- Can't convert Binance US yearly tax report HOT 22
- How to upgrade unreleased version? HOT 2
- Imports from relative paths fail HOT 4
- Bitpanda CSV format has changed HOT 2
- Koinly USA header HOT 3
- Kraken format change HOT 12
- Crypto.com change of Transaction Kind HOT 3
- Add support for ByBit?
- Crypto.com bittytax_conv: new transaction kinds HOT 2
- Problem with STRK symbol - This has two token associated with it, how to define the correct one?
- Unnecessary price lookup for Gift-Spouse and Charity-Sent HOT 1
- ImportError: attempted relative import with no known parent package
- year-end balance and average annual stock. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bittytax.