Post
Topic
Board Project Development
Re: Haasonline Simple Trade Bot For BTCe and Bitstamp[Main topic]
by
CryptoMaster
on 03/12/2013, 12:11:03 UTC
@CryptoMaster:
This is normal, also you might not expect it, i agree. Once the reset happens the last buy and sell prices are reset. The bot does require a last buy price and sell price to calculate any profit.

I will have a look if i can do something about it, but i am not sure.

Well, I see why it happens, but it breaks any kind of profitability analysis you might want to do. Adding 2 extra variables to store the last buy/sell prices when that function is triggered should do the trick.

Could someone explain the drop-loss feature to me? When I have a drop-loss price of 24.5 why does the programm sell at 24.988?

I assume price went below 24.5, which caused the drop-loss to trigger, and then it sold at 'market price', which was currently 24.988.