Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
Askit2
on 04/12/2014, 09:20:16 UTC
First I know there was no update yet to fix the bugs I have tried to explain. One of the bugs stuck its head up again today.

12/2
5:25 B 0.010000  Sold       380        manual
8:30 B 0.010000  Sold       382        manual
11:31 B 0.010025 Bought  378        automatic
11:31 B 0.010025 Bought  378        automatic (I started doubling the trades for range trading)
12/3
12:52 B 0.010022 bought  375        manual
12:59 B 0.010022 bought  372.9     manual
4:43   B 0.010022 bought  370        manual
7:29   B 0.010000 sold      375        automatic
7:29   B 0.010000 sold      375        automatic
7:30   B 0.010025 bought  375.013 automatic (The last one that fit the price was 382. The calculated value for That price - (that price * (0.004 + 0.004)) was 378.
7:30   B 0.010025 bought  375.013 automatic (duplicate trade was my plan)

The sell at 375 was profitable. The sell at 375 was 36 seconds before the Buy at 375.013.

Because of this  last sell price being wrong the bot traded wrong. Maybe another way to look at it is if the bot hadn't just sold at 375 the buy at 375 would have been profitable. This mistake isn't new to me. When the mistake happens the bot seems to be in a profitable range. This time the range lasted more then 12 hours. I did not wait for 375 to come up again and sell then. I sold after watching the price come up from 367 to 370 at 370 hoping it would start moving into a range there. The rest of the day being wrong was my fault.

When I get another sell at 375 I doubt the range will still be between 370 and 375. I don't mind that I am not seeing many trades happen per day. It does bother me when the bot gets both a sell and a buy at the same price. With enough cash waiting to trade I could just manually put in a buy at 370 or so and have had the bot back on track. I didn't have enough left. I should have as it is only supposed to buy 2 times if the USD balance / price is > 3 * 0.010025. This should always leave me one trade to make.

Except for the range trading portion taking 1 trade to break even for each mistake it works great. If it could trade more often at that same profit margin I would be happy. As is I am losing money frequently on bad trades. Given enough time it would make the money back. My thought on the above trades is that I only use 1 buy or sell to move the automatic scripts into a new range. This was so that the initial trade was wrong and small. The later trades would be profitable and are larger. It should have a bad trade at a loss. Then 2 good trades at a profit. Making 1 trade of profit in total for 3 complete trades. This is not ideal. Ideal would be each trade was profitable by calculation based on correct data. Since I am not getting correct data I can not get to ideal results.