Post
Topic
Re: Log message question
by
btsnacker
on 24/08/2017, 08:41:17 UTC
Quote
2017-08-23 18:16:40| BSP : BUY Pool Lookup
2017-08-23 18:16:40| PPC(NO-BUY-PI) : Check Limit Rule PING LIMIT (Adequate:false) - Never BUY OVER Your Last PONG SELL Price - 1.5% VS Calculated Price 270.67002 Dynamic Comparing Value Is : 274.58451 Limit Is Ok.

BSP = Buy sell Pool

PPC = Ping Pong Calculator

(NO-BUY-PI)   NEW ORDER BUY PING

Then there's a Check on Ping OVer Limit [Never BUY OVER Your Last PONG SELL Price - 1.5%] VS Calculated Price 270.67002

Your LAST PONG SELL PRICE - 1.5% IS the Dynamic Comparing Value : 274.58451
Calculated Price 270.67002 is the price calculated by the Ping Pong Calculator

So NEVER BUY OVER is OK, because 270 is < 274

So LIMIT IS OK (otherwise you will get LIMIT APPLIED!)


Quote
If you have a ping buy, from what pong sell is it created?
From what I understood, each ping is related to its own pong.
I would be nice to have an ID in above log message, which shows against which pong sell price the ping buy price is matched.


If you have a ping buy (and a trade occurs over that ping) you will have a ping sell of price that will make you have (when a trade will occur over that pong) a gain of X% (where X is you GAIN Parameter)

Each pong is related to a trader over the ping.

The price you're talking about is the REFERENCE PRICE (The ping trade price)

My last sell price was 277.92316
So, the limit price (last sell - 2.5%) should be 270.975081.

my three last sell prices-> minus 2.5%
277.92316 -> 270.975081
277.8582  -> 270.911745
275.930   -> 269.032062


Where do I find the 270.975 from my last sell - 2.5%?
It does not match the calculated price and it does not match the comparing value.
Why is the calculated price changing?

2017-08-24 10:13:50| BSP : BUY Pool Lookup
2017-08-24 10:13:50| PPC(NO-BUY-PI) : Check Limit Rule PING LIMIT (Adequate:false) - Never BUY OVER Your Last PONG SELL Price - 2.5% VS Calculated Price 274.39895 Dynamic Comparing Value Is : 273.92859 Limit Applied! No price Adequation
2017-08-24 10:13:50| BSP : BUY Pool Must Wait, No Condition For New Ping Order Creation.


2017-08-24 10:17:18| BSP : BUY Pool Lookup
2017-08-24 10:17:18| PPC(NO-BUY-PI) : Check Limit Rule PING LIMIT (Adequate:false) - Never BUY OVER Your Last PONG SELL Price - 2.5% VS Calculated Price 274.18002 Dynamic Comparing Value Is : 273.92859 Limit Applied! No price Adequation
2017-08-24 10:17:18| BSP : BUY Pool Must Wait, No Condition For New Ping Order Creation.


2017-08-24 10:20:48| BSP : BUY Pool Lookup
2017-08-24 10:20:48| PPC(NO-BUY-PI) : Check Limit Rule PING LIMIT (Adequate:false) - Never BUY OVER Your Last PONG SELL Price - 2.5% VS Calculated Price 274.40001 Dynamic Comparing Value Is : 273.92859 Limit Applied! No price Adequation
2017-08-24 10:20:48| BSP : BUY Pool Must Wait, No Condition For New Ping Order Creation.



Thanks!