Incorrect TickValue for all ZAR instruments
Incorrect TickValue for all ZAR instruments
04 Dec 2024, 11:22
Hello,
I am observing an incorrect TickValue on all ZAR instruments (where ZAR is a quote currency) in my cTrader platform. For example, on SA40 the correct TickValue should be 0.0005511819269650876, while built-in Symbol.TickVaue returns 42.89603347931487. It is the same on EURZAR, USDZAR, etc.
Am I missing something or is it a database error that can be fixed?
Best regards,
Alexei
Replies
alexei.kuntysh
05 Dec 2024, 07:30
RE: Incorrect TickValue for all ZAR instruments
Hi Panagiotis,
Sure! I run the following code on USDZAR instrument:
Print("Symbol.TickValue = "+Symbol.TickValue);
As a result, in the Logs console I receive this:
Symbol.TickValue = 0.04297296253166513
It means that for 1 tick (0.00001) of USDZAR with a $1 trade I will earn or lose ~$0.043, which is obviously incorrect, as it should be somewhere around ~$0.000000552.
Best regards,
Alexei
@alexei.kuntysh
alexei.kuntysh
05 Dec 2024, 08:05
RE: Incorrect TickValue for all ZAR instruments
Hi Panagiotis,
Hm, indeed on your side it is correct… My account is in USD, it is a usual Pepperstone demo account. Is it possible that “TickValue” value is filled in in the database by the broker and not by Spotware? Here is the full screenshot from my side:
@alexei.kuntysh
PanagiotisCharalampous
05 Dec 2024, 08:10
RE: RE: Incorrect TickValue for all ZAR instruments
alexei.kuntysh said:
Hi Panagiotis,
Hm, indeed on your side it is correct… My account is in USD, it is a usual Pepperstone demo account. Is it possible that “TickValue” value is filled in in the database by the broker and not by Spotware? Here is the full screenshot from my side:
Hi Alexey,
Since it is a demo account, can you share access with me? Also share the full cBot code. I will try to reproduce this using your account.
Best regards,
Panagiotis
@PanagiotisCharalampous
alexei.kuntysh
05 Dec 2024, 08:29
RE: RE: RE: Incorrect TickValue for all ZAR instruments
Hi Panagiotis,
Sorry, I am not able to do this. However, I have tried the same code on a different demo from Pepperstone and it worked correctly. So it is definitely a problem with my demo account. Will try to reload or reset it somehow and see if this will work. Thank you for your help!
Best regards,
Alexei
@alexei.kuntysh
PanagiotisCharalampous
05 Dec 2024, 07:06
Hi there,
Unfortunately this issue in not very clear to me. Can you please explain to us how we can reproduce what you are looking at?
Best regards,
Panagiotis
@PanagiotisCharalampous