Krypto-trading-bot: PingPong: False sell/buy price after some hours runtime

Created on 30 Jun 2019  路  8Comments  路  Source: ctubio/Krypto-trading-bot

Hi!

I discovered a general false buy/sell price after several hours of runtime in PingPong safety mode.
The bot doesnt recognize the actual orderbook and tries to buy/sell to outdated prices. Therefore all trading stops, except the prices reach the outdated one...

Here is one example, look on the buy order on the top right and the actual order book prices on the left:
https://ibb.co/37bhF2W

It happens on HitBTC as well as on Coinbase.

One workaround is to restart every bot 4-5 times a day. Can we please take a look at it?

THX zmb!

question

All 8 comments

ok! i'll try! thx

[10:10] <zmb|wrk> https://github.com/ctubio/Krypto-trading-bot/issues/955
[10:10] <zmb|wrk> it seems it is still there
[10:10] <zmb|wrk> the bot try orders that would fit the order book hours ago
[10:12] <angelone> in other words: the orderbook is totally fine, but the bot places quotes way off
[10:12] <angelone> i think thats a problem of the pingat setting
[10:12] <zmb|wrk> i recognized something: botruntime ^^ <-> buyorder accuracy \/
[10:12] <angelone> i noticed this on all my bots on several exchanges
[10:13] <zmb|wrk> if you turn safety off and switch back to pingpong it works a again for sometime...
[10:13] <angelone> the longer the bot runs, the more off the buy orders get

iSee what you mean now, sorry i was thinking you were talking about random disconnects leaving freezed the book

i belive the problem in your screenshot are the buyPing and sellPing values, that you would like for them to be 0 or something not so out of date

the problem is:
the buy & sell orders are more and more out of width if the bot runtime goes higher
after some time, the bot cant get any buys or sells, because it is totally out of width

i would say that this is the expected behaviour of PingPong (see the description in the manual)

what you want i think is to make use of PingPoing mode instead (see also the description in the manual)

PingPong - Always respect the calculated widthPong from the last sold or bought size, if any.

PingPoing - Same as PingPong but do not respect always the widthPong to make new Pong trades,
instead if the fair value has moved in a opposite widthPong direction,
Ping trades will be restarted with 0 price as safety. For example if last buy was at 100
and withpong is 10, last buy safety will be ignored/restarted if price becomes 90.

closing without doing nothing (but feel free to comment)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wulabs picture wulabs  路  3Comments

Camille92 picture Camille92  路  6Comments

gusiri picture gusiri  路  3Comments

mattygug picture mattygug  路  6Comments

Camille92 picture Camille92  路  7Comments