Post
Topic
Board Project Development
Re: Haasonline Simple Trade Bot For BTCe and Bitstamp[Main topic]
by
throwaway222
on 05/01/2014, 14:25:45 UTC
I can't figure out how the minimum raise and drop are calculated.

I'm using BTCe with 0.2% trade fees.

I would expect the minimum raise would be a factor of 1/(1-0.002^2) = 1.004012 times (or 0.4012% higher than) the buy price *just* to break even on the two 0.2% fees. If you were to split this into buying and selling then I'd expect factors equal to 1/0.998 or close to 0.2% on each.
The minimum raise and drop appearing in the bot are significantly lower than 0.2% for me.

I had a play around and it looks like your minimum raise/drop is based on my trade amount and twice the 0.2% fee. If this is the case, could you explain why? I'm having trouble understanding how this works.

I had the bot make unprofitable trades with higher sell than buy prices due to fees, hence the question.

Thanks