1
Technical Support & Development / v5.0.5.5 + BOUGHT_PRICE + DOUBLE_UP = Sell at loss
« on: October 10, 2017, 05:47:15 AM »
Hey all,
I've yet another instance of the bot selling at a loss... this time on v5.0.5.5.
(previous time was on v3.3.2: https://gunthy.org/index.php/topic,1552.0.html)
I had a bag of coins that I've been holding for a while, I start the bot to try to sell them and it tells me that it can't find the bought price and to manually enter it.
....I'm not sure why it can't get the price, as I can see the bought price when I browse to the transactions of the coin, but w/e.
So, I entered the buy price: "BOUGHT_PRICE": 0.00923000
Everything was going good... it bought a 2nd time to average the price down....
Then BAM! Sold for a LOSS!!!!!!
https://imgur.com/Vtuit8O
The average cost of the coin should have been 0.00759250, and should have waited to sell until ~0.00763806 (with the 2 buys that were on the books), yet the bot sold for 0.00609000
I assume it is calculating "GAIN" on price of the last BUY instead of averaging the price of the coins properly...
I've yet another instance of the bot selling at a loss... this time on v5.0.5.5.
(previous time was on v3.3.2: https://gunthy.org/index.php/topic,1552.0.html)
I had a bag of coins that I've been holding for a while, I start the bot to try to sell them and it tells me that it can't find the bought price and to manually enter it.
....I'm not sure why it can't get the price, as I can see the bought price when I browse to the transactions of the coin, but w/e.
So, I entered the buy price: "BOUGHT_PRICE": 0.00923000
Code: [Select]
"BTC-NEO": {
"strategy": "bbstepgain",
"override": {
"BOUGHT_PRICE": 0.00923000,
"DOUBLE_UP": true,
"BUY_ENABLED": true
}
}
Code: [Select]
"bbstepgain": {
"TRADING_LIMIT": 0.001,
"PERIOD": 15,
"BUY_LEVEL": 6,
"GAIN": 0.6,
"EMA1": 16,
"EMA2": 8,
"HIGH_BB": 25,
"LOW_BB": 10,
"STDV": 2,
"SMAPERIOD": 20,
"BUYLVL1": 4,
"BUYLVL2": 6,
"BUYLVL3": 70,
"SELLLVL1": 0.6,
"SELLLVL2": 2,
"SELLLVL3": 70,
"BUYLVL": 2,
"SELLLVL": 2,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"GUNTHY_API": false,
"PP_BUY": 0.00000001,
"PP_SELL": 0.12345678,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 99,
"BUY_ENABLED": false,
"MIN_VOLUME_TO_BUY": 0.0001,
"MIN_VOLUME_TO_SELL": 0.0001
}
Everything was going good... it bought a 2nd time to average the price down....
Then BAM! Sold for a LOSS!!!!!!
https://imgur.com/Vtuit8O
The average cost of the coin should have been 0.00759250, and should have waited to sell until ~0.00763806 (with the 2 buys that were on the books), yet the bot sold for 0.00609000
I assume it is calculating "GAIN" on price of the last BUY instead of averaging the price of the coins properly...