Hi Jcl,

I have done a new test while printing the differents Zorro variable :

[FUN/BTC::L1401] Sell 1@0.00000317: -0.00317460
pip cost : 0.00000318
pip UNIT : 0.00000001
lot : 1.00000000
lot amount : 318.47133758
spread : 0.00001000 => HUGE !


This is caused by the spread. For the profit calculation, the roundturn cost is subtracted : Spread*PIPCost/PIP which in fact is the cause of the drift!

However the plugin seems to return a correct spread : 0.00000003.
It seems that Zorro do not take it into account in the same way as the commission. Will try to investigate why.

Vincenzo, to sum up, it seems that Commission and spread from the plugin are ignored by Zorro. It is however still possible to recompute them and set them with custom code.

BR, Johan

Last edited by JohanAu; 10/23/17 16:13.