Post
Topic
Board Project Development
Re: Qt Bitcoin Trader [Open Source secure trading client for Mac/Windows/Linux]
by
mindrust
on 12/02/2014, 21:42:49 UTC
I'm a little confused. Here is what I want to do but I'm not sure how to do it becuse of the way things are worded. I'd like to buy BTC if the market ask price drops .6% and sell BTC if the current value is .6% more than what I bought the BTC for.

If I did something like this would it work?

- If market ask price <0.06%(trailing) buy amount .01 BTC at market ask price
- if my orders Last Buy price > 0.6% (trailing) sell amount .01btc at market bid price.

If this doesn't work then can you explain what I should be using?

This should works, you can test it by adding rule to play specific sound. So you just hear sound and you will know how it works.
Please note, you should add fee to % value to get profit.

So the "my orders last buy price" will be compared to the current asking price? That's the part I'm confused about. So for example if the first rule triggers and I buy in at 655 but then the market drops to 640 but then shoots back up to 655 would it trigger the next rule or would it wait until the price is .6% over my buy in price (655).


i am also wondering the answer of this.

lets say i bought 0.1btc when the price dropped %0.6 from 650$ (the current price) to  646,1$. i want to keep buying 0,1btc if it still keeps dropping %0,6. and after this,,

to be more clear:

1) buy price: 650$
2) price drops to 646,1$ (at this point bot should buy another 0.1btc)
3) price drops another %0,6 = ~642$ (bot should buy another 0,1 btc)
4) its a black someday,,, price drops another %0,6 to  ~638,5  (bot should buy again)
5) and voila! Price goes up!! when the price moves up more than %0,6 (back to ~642) bot should SELL 0,1 of my total btc's.
6) lets assume it still keeps going up, so bot should keep selling 0.1 and 0.1.
7) in the end,, to make %0.6$ profit i have to wait until the price goes ~654$ or more...

so what should be the order setup? any clever answer?