Hello CAT users.
I've alerted Sampey to a possible bug within the software but he won't read the PDF document I took the time compiling and presenting, preferring plain text instead.
https://www.dropbox.com/s/jobbojejywewbzr/20180326%20AMP-BTC%20Wrong%20Gain%20trade.pdf?dl=0In the pdf I created I present all the evidence of a possible bug, screenshots from exchanges, log files etc.
If someone can replicate or confirm this possible bug, I'll rewrite it in plain text and go back to Sampey with it.
Cheers, Mark.
i've taken a look from a sandbox environment (sorry for that, but i cannot open some kind of files, it's too risky, nothing personal of course)
it seems that a PRICE LIMIT with adequate = true rules was triggered.
2018-03-26 02:05:32| PPC(NO-BUY-PO) : Always Create Pong Order : Ref Price Is 0.00004142 Price Calculated is 0.00003790
2018-03-26 02:05:34| PPC(NO-BUY-PO) : Check Limit Rule PING-PONG LIMIT (Adequate:true) - Never BUY UNDER Low 24H Market Price +
5% VS Calculated Price 0.00003790 Comparing Value : 0.00004135 Limit Applied! Price is Adequate to 0.0000413595
2018-03-26 02:05:35| PPC(NO-BUY-PO) : New Order Data Last Check Ok, With Roundings :
Warning : Rounded Price : 0.0000413595 -> 0.00004135
Warning : Rounded Quantity : 93.0412447055 -> 93.04124470
Order was executed at :
2018-03-26 02:06:45| Dynamic-PONG(CAT-ef64/38871629620) BUY
[email protected] Current 93.04124470 | PPO : A Trade Has Occured : BUY
[email protected] With real price of 0.00003960 (there was a match at 0.00003960 price instead of 00004135, and this is at your advantage)
Considering this event your gain was 4.4% (Net Gain In BTC : 0.00015432 / Gain in % : 4.3940125)
About your questions :
- Why does a Static Trade then turn into a Dynamic Trade?
because you're trading in dynamic mode. And you create a STATIC Ping inside a dynamic algorithm.
In that case only your PING order (Created from GUI) are static
- Why does a Static Trade starting a 8.500% gain, turn into a Net Gain In BTC : 0.00015432 / Gain in % : 4.39401255?
That's the answer above.
- Why does it appear that “Create Ping Orders Only If % Market Spread is >” set to “0.500” create a ping trade at 0.500% instead of the 8.500%?
That options means "If % Spread between Best Buy/Best Sell Current Orders book prices is > 0.5" then create pings.
this is not related in any way with your % gains.
4. Isn’t the purpose of “Create Ping Orders Only If % Market Spread is >” to stop a ping creation until the Market Spread conditions are met?
yes, but we are talking about current % Spread between order books. Nothing more than this.
5 Are these bugs?
No, this is exactly what it was expected to happens.