Hi Again,

I took the latest build here : https://github.com/vinsom68/Zorro-BitTrex-Plugin/tree/master/LatestBuild

and did some testing :


Enter 2L XLM/BTC at 21:43:37
!Trade id: - Price: 0.00000458
!Type: buy Price: 0.00000458 Amount: 438
!Quantity: 438 QRemaining: 0 Commission: 0.00000502
BrokerBuy XLM/BTC: 2751 ms
[XLM/BTC::L1418] Long 2@0.00000 at 21:43:37
Units: 438 Margin: 0.00 MCost: 0.0010 PCost: 0.00000
Asset : XLM/BTC
pip cost : 0.00000217
lot : 2.00000000


[Sun 17-11-19 00:42]
Exit [XLM/BTC::L1418]
!Trade id: - Price: 0.00000474
!Type: sell Price: 0.00000474 Amount: 421
!Quantity: 421 QRemaining: 0 Commission: 0.00000499
BrokerSell XLM/BTC: 2832 ms
[XLM/BTC::L1418] Sell 2@0.000004750: -0.00 at 00:42:07
Entr 0.0000 Exit 0.0000 Spr 0.0000 Slp -0.00 Rol 0.00 Com 0.00

Asset : XLM/BTC
price : 0.00000473
pip cost : 0.00000217
lot : 2.00000000


Seems that the PIPCost is correctly fixed but the quantity is still not the good one. I suspect that the lot amount is varying as well. I believe it shall be fixed at the init of the strategy as well.
Will do some more testing.

Johan

Last edited by JohanAu; 11/19/17 09:43.