Ideosphere Forum

fx-devel: Bug in Trading History code?

Author: Kerry Whisnant
Conversation: fx-devel: Bug in Trading History code? ( prev | next ) reply!
Topic: fx-devel ( prev | next )
Date: Fri Feb 24, 2006 09:51 am

Kerry Whisnant




I was just looking at my trading history and found a minor error. It
doesn't affect the accounting, i.e., the number of claims held and cost
are correct, it just appears to be an error in the number of claims sold
in one line of the Trading History listing.

The listings on my Trading History page have the following for the
TomT08 claim:

Date Buy Price Held Balance BEP
2006/02/02 -5 @ 5 -5 -4.75 0.05
2006/02/02 -5 @ 5 -10 -9.50 0.05
2006/02/02 -20 @ 5 -50 -47.50 0.05
Cost: $ 47.50 ; Income: $ 0.00 ; Held Value: $ 49.00 Return: 3.16%

Note that the last line says I sold 20 claims, but I actually sold
40, in two lots of 20 each. The Held and Balance columns have the
correct amounts. The ticker on the TomT08 page has:

Quant Price Date GMT Pairs People Buyer Seller
----- ----- ---------- -------- ----- ------ ----- ------
20 5 2006/02/02 15:29:22 128 12 6829 150
20 5 2006/02/02 15:29:22 108 11 4844 150
5 5 2006/02/02 15:26:25 108 12 3465 150
5 5 2006/02/02 15:24:36 103 12 4844 150

which is correct.

Since this is not cheating me or giving me any advantage, maybe it's
not worth tracking down, but I thought it should be mentioned.

--
Kerry Whisnant High Energy Physics Group
whisnant@iastate.edu Department of Physics and Astronomy
(515)294-3735 Iowa State University, Ames, IA 50011




--
Kerry Whisnant High Energy Physics Group
whisnant@iastate.edu Department of Physics and Astronomy
(515)294-3735 Iowa State University, Ames, IA 50011

source



All trademarks, copyrights, and messages on this page are owned by their respective owners.
Forum: Copyright (c) 2000-2001 Javien Inc All rights reserved. Distributed under the GPL