Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 10:43:51 +0000



Post From: ACSIL: sc.SetDefaults and sc.TickSize

[2020-09-29 06:00:42]
BrMa - Posts: 80
Dear ladies and gentlemen,

I'd like to do some initialization in the sc.SetDefaults-section using sc.TickSize.
When doing so, sc.TickSize returns a wrong value - using sc.TickSize later on in the code returns the correct figure.
However - sc.UserName() for example, seems to work without any issues in the sc.SetDefaults-section...

Question: is there a possibilty to get the correct ticksize in the sc.SetDefaults-section?

I'd like to provide you with an example so that you can reproduce the issue:
Symbol F.US.FDXMZ20 returns 0.01 for the ticksize in the sc.SetDefaults-section (which is wrong) and 1 later on (which is right)