Krypto-trading-bot: BUG: Only selling "min size" when using PingPong

Created on 15 Feb 2018  路  11Comments  路  Source: ctubio/Krypto-trading-bot

Hi Carles,

I've noticed a bug in the latest version, that is not on the other version I run: 6fb8d78e1edfccd12e37ec1fc01501e0fd178a6a

It seems that my bot can only sell min size :s, here is a screenshot of me trying to sell some LTC:

capture d ecran 2018-02-15 a 12 17 16

My bot is configured to sell 25% of what I have at once, so like at least a few LTC, and here it's only selling min size!

I think it maybe due to some update in the security no?

Carles can you check if you have the same problem too ?

Thanks and have a nice day,

Camille

acknowledged in the lab bug

All 11 comments

Update: It's not only using % option

Hum I cleaned Pings and now it's fine...
I don't get it

Ok turning safety off in comparison of PingPong is solving the issue.

Boomerang and the rest are not affected.

same here.... only mini orders are taking place. both buy and sell orders.
it looks like the ewmatrend is always on?

Here too...

same problem here.

Boomerang also has this issue.

yea i see, i messed the size value of both sides at QE::applyRoundSize() at https://github.com/ctubio/Krypto-trading-bot/commit/999af6c0fbf74646dbacb396bb16b20499af5370
thanks for the report :(

well maybe is somewhere else :dancer:

Not only PingPong. Same troubles without safety.

seems finaly this has been always there :D cos we calculate sizes everywhere and everywhere was correct but here there was a bug.

turns out we centralized all size calculattions into a single place, the buggy one :D will fix on next commit; please lemme know how feels in your body @Camille92, many thanks''''隆

in any case, this next commit fixes size calculation ONLY for PingPong safety, cos was the only one buggy (the consequence was that new orders had always the price of the last completed trade of the SAME side; after next commit the price will be the same as in the last completed trade but from the opposite side while using PingPong but if a trade in the opposite side does not exists then size is respected from user settings)

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Camille92 picture Camille92  路  8Comments

Camille92 picture Camille92  路  6Comments

Camille92 picture Camille92  路  7Comments

nonkreon picture nonkreon  路  5Comments

juaxix picture juaxix  路  4Comments