02-25-2018, 02:05 PM
Thank you very much for answering , if I read correctly the code the strategy you wrote goes long or short when threshold are reached.
The grid trading is a little different:
starting from the current price(let's say 10.000 usd for a btc) you set for example 10 limit stop buy order and 10 limit stop sel order at different steps
so you buy at 9900 9800 9700 9600 9500 ... 9000
You sell at 10100 10200 ... 11000
There is always thsi grid o if the price goes to 10100 and you sell... you setup an order to buy at 10000 (So if price moves in any direction you profit 10100 - 10000 = 100 (minus fees)
THe starting and ending price doesn't matter because you make profit from the swings the price has. For every buy order there will be a sell at a profitabke price and vice versa (unless price goes down or up FOREVER).
Limit Stop Orders are needed to avoid big losses in case prices goes very high or very low
The reason i think it deserves a Bounty is because understanding how the grid works needs time and time has a value for the developer who will do it.
The grid trading is a little different:
starting from the current price(let's say 10.000 usd for a btc) you set for example 10 limit stop buy order and 10 limit stop sel order at different steps
so you buy at 9900 9800 9700 9600 9500 ... 9000
You sell at 10100 10200 ... 11000
There is always thsi grid o if the price goes to 10100 and you sell... you setup an order to buy at 10000 (So if price moves in any direction you profit 10100 - 10000 = 100 (minus fees)
THe starting and ending price doesn't matter because you make profit from the swings the price has. For every buy order there will be a sell at a profitabke price and vice versa (unless price goes down or up FOREVER).
Limit Stop Orders are needed to avoid big losses in case prices goes very high or very low
The reason i think it deserves a Bounty is because understanding how the grid works needs time and time has a value for the developer who will do it.