Bitcoin Forum
November 02, 2024, 11:44:49 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Just created a program to help compute taxes for mtgox trades (in the US)  (Read 1599 times)
conroe64 (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
March 08, 2013, 09:48:28 PM
 #1

I just created a program to help convert mtgox history files to usable format for entering in the Schedule D Form 8949 format. It even handles wash sales.

It's a little rough, but it works.

Take a look: http://www.rareventure.com/bitcoin-tax-calculator.html

Questions, comments welcome. If you want to tip, you can do so here: 18KdqGFvAqGgLxAL9KxjC8LWiUhs8Kbim9
Bitobsessed
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
March 08, 2013, 09:54:30 PM
 #2

Sorry for the ignorance, but where is this run from?  Probably not just a Dos prompt.  Can you explain more please?
flavius
Full Member
***
Offline Offline

Activity: 154
Merit: 100


welcome to riches


View Profile
March 08, 2013, 10:02:26 PM
 #3

I can't even imagine the messed up person that would use this.

Quote
crime generates tenfold more money then real businesses do in bitcoin. the fact you cant accept this just makes you a kike

A reply of yours, quoted below, was deleted by the starter of a self-moderated topic. There are no rules of self-moderation, so this deletion cannot be appealed. Do not continue posting in this topic if the topic-starter has requested that you leave.

You can create a new topic if you are unsatisfied with this one. If the topic-starter is scamming, post about it in Scam Accusations.
deadweasel
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
March 08, 2013, 10:04:46 PM
 #4

I can't even imagine the messed up person that would use this.

Accountants and would-be accountants.

conroe64 (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
March 08, 2013, 10:42:38 PM
 #5

Sorry for the ignorance, but where is this run from?  Probably not just a Dos prompt.  Can you explain more please?
Yes, it's just from the dos prompt. You'll need to install perl to use it: http://www.perl.org/
conroe64 (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
March 08, 2013, 10:47:01 PM
 #6

I can't even imagine the messed up person that would use this.

Accountants and would-be accountants.

Personally, if I get audited, and didn't report this, I wouldn't want to have to explain a bunch of mysterious deposits coming from dwolla due to sales of bitcoin. I figured there may be other people with similar concerns.

Besides, it's free.
jasinlee
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


Its as easy as 0, 1, 1, 2, 3


View Profile
March 08, 2013, 10:48:58 PM
 #7

Meh may as well contribute tweaked trade fee rates I swiped off usingbitcoin.com a while back and updated to what I wanted.

Code:
<!DOCTYPE html>
<html>

<!-- Mirrored from usingbitcoin.com/mtgox-fee-calculator.html by HTTrack Website Copier/3.x [XR&CO'2010], Sat, 01 Sep 2012 21:04:03 GMT -->
<head>
<meta charset="UTF-8" />
<title>Mt.Gox Fee Calculator</title>
<link rel="stylesheet" type="text/css" media="all" href="style.css" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<script src="files/js/jquery-1.7.1.min.js"></script>
<script src="files/js/jquery-ui-1.8.16.custom.min.js"></script>

</head>
<body class="bg-btc-drawing">
<h1>Mt.Gox Fee Calculator</h1>
<h2 class="byline">Calculate what price you would have to buy or sell at to cover round-trip Mt.Gox fees and make a profit</h2> <p class="back"><a href="index.html">Back to UsingBitcoin.com Index</a></p>


<form id="calc-form">

<div id="buy-btc-pane" class="btc-calc-pane">
<h3 style="margin:0 0 10px 0">Mt.Gox Profit/Loss Calculator</h3>

<div style="margin-bottom:10px;">
Your Mt.Gox fee:
<select id="f-fee-percent" name="f-fee-percent">
<option value="0.006">0.6</option>
<option value="0.0055">0.55</option>
<option value="0.0053">0.53</option>
<option value="0.0050">0.50</option>
<option value="0.0046">0.46</option>
<option value="0.0043">0.43</option>
<option value="0.0040">0.40</option>
<option value="0.0030">0.30</option>
<option value="0.0029">0.29</option><option value="0.0028">0.28</option><option value="0.0027">0.27</option><option value="0.0026">0.26</option>
<option value="0.0025">0.25</option>
</select>%
</div>

<table>
<tr>
<td align="center" width="115">Buy BTC</td>
<td align="center" width="25"></td>
<td align="center" width="115">Price (USD)</td>
<td align="center" width="25"></td>
<td align="center" width="115">Total Paid (USD)</td>
<td align="center" width="25"></td>
<td align="center" width="115">Fee (BTC)</td>
<td align="center" width="25"></td>
<td align="center" width="115">BTC (Received)</td>
</tr>
<tr>
<td align="center">&#3647;<input type="text" id="f-btc" name="f-btc" /></td>
<td align="center">*</td>
<td align="center">$<input type="text" id="f-price" name="f-price" /></td>
<td align="center">=</td>
<td align="center">$<input class="disable" type="text" id="f-paid" name="f-paid" /></td>
<td align="center">&ndash;</td>
<td align="center">&#3647;<input class="disable" type="text" id="f-fee-btc" name="f-fee-btc" /></td>
<td align="center">=</td>
<td align="center">&#3647;<input class="disable" type="text" id="f-net-btc" name="f-net-btc" /></td>
</tr>

<tr>
<td align="center" width="115">Sell BTC</td>
<td align="center" width="25"></td>
<td align="center" width="115">Price (USD)</td>
<td align="center" width="25"></td>
<td align="center" width="115">Amount (USD)</td>
<td align="center" width="25"></td>
<td align="center" width="115">Fee (USD)</td>
<td align="center" width="25"></td>
<td align="center" width="115">USD (Received)</td>
</tr>
<tr>
<td align="center">&#3647;<input class="disable" type="text" id="s-btc" name="s-btc" /></td>
<td align="center">*</td>
<td align="center">$<input type="text" id="s-price" name="s-price" /></td>
<td align="center">=</td>
<td align="center">$<input class="disable" type="text" id="s-paid" name="s-paid" /></td>
<td align="center">&ndash;</td>
<td align="center">$<input class="disable" type="text" id="s-fee-usd" name="s-fee-usd" /></td>
<td align="center">=</td>
<td align="center">$<input class="disable" type="text" id="s-net-usd" name="s-net-usd" /></td>
</tr>

<tr>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center">Profit/Loss (USD)</td>
</tr>
<tr>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center">$<input class="disable" type="text" id="profit-loss" name="profit-loss" /></td>
</tr>

</table>

</div>
<br />


</form>

<script type="text/javascript">
(function()
{
var calculatePrice = function()
{
var
btc = $('#f-btc').val(),
price = $('#f-price').val(),
paid = btc * price,
percent = $('#f-fee-percent').val(),
fee = btc * percent,
btcPurchased = btc - fee,
btcSold = btcPurchased,
sellFee = (paid / btcSold) * btcSold * percent,
breakevenPrice = (paid / btcSold) + sellFee,
totalBreakevenAmount = (btcSold * breakevenPrice) - sellFee;


if (btc <= 0 || price <= 0 || percent <= 0)
{
paid = fee = btcPurchased = 0.0;
}

$('#f-paid').val(paid);
$('#f-gross-btc').val(paid);
$('#f-fee-btc').val(fee);
$('#f-net-btc').val(btcPurchased);

$('#s-btc').val(btcPurchased);


var
sBtc = $('#s-btc').val(),
sPrice = $('#s-price').val(),
sPaid = sBtc * sPrice,
sFee = sPaid * percent,
sNet = sPaid - sFee;

if (sBtc <= 0 || sPrice <= 0)
{
sPaid = sFee = sNet = 0.0;
}

$('#s-paid').val(sPaid);
$('#s-fee-usd').val(sFee);
$('#s-net-usd').val(sNet);

var profitLoss = sNet - paid;
$('#profit-loss').val(profitLoss);

if (profitLoss < 0)
{
$('#profit-loss').removeClass('positive').addClass('negative');
}
else
{
$('#profit-loss').removeClass('negative').addClass('positive');
}


//alert('btc: ' + btc + ' ' + ' price: ' + price + ' percent: ' + percent + ' fee: ' + fee + ' btcPurchased: ' + btcPurchased);

};

$(document).ready(function()
{
$('#calc-form').submit(function()
{
return false;
});

$('#calc-form input').keyup(function()
{
calculatePrice();
});

$('#calc-form select').change(function()
{
calculatePrice();
});

});
})();
</script>

<div class="footer">
<a href="sitemap.html">Sitemap</a><br />
All content including images  Copyright &copy; 2001 UsingBitcoins.com
</div>
</body>

<!-- Mirrored from usingbitcoin.com/mtgox-fee-calculator.html by HTTrack Website Copier/3.x [XR&CO'2010], Sat, 01 Sep 2012 21:04:04 GMT -->
</html>

BTC 1JASiNZxmAN1WBS4dmGEDoPpzN3GV7dnjX DVC 1CxxZzqcy7YEVXfCn5KvgRxjeWvPpniK3                     Earn Devcoins Devtome.com
flavius
Full Member
***
Offline Offline

Activity: 154
Merit: 100


welcome to riches


View Profile
March 08, 2013, 10:56:56 PM
 #8

I can't even imagine the messed up person that would use this.

Accountants and would-be accountants.

Personally, if I get audited, and didn't report this, I wouldn't want to have to explain a bunch of mysterious deposits coming from dwolla due to sales of bitcoin. I figured there may be other people with similar concerns.

Besides, it's free.
Your first error was depositing your bitcoin sales into your real bank account.

Quote
crime generates tenfold more money then real businesses do in bitcoin. the fact you cant accept this just makes you a kike

A reply of yours, quoted below, was deleted by the starter of a self-moderated topic. There are no rules of self-moderation, so this deletion cannot be appealed. Do not continue posting in this topic if the topic-starter has requested that you leave.

You can create a new topic if you are unsatisfied with this one. If the topic-starter is scamming, post about it in Scam Accusations.
Bitobsessed
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
March 08, 2013, 11:08:16 PM
 #9

Thanks conroe64 I might try it later tonight and let you know.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!