Login Page - Create Account

Support Board


Date/Time: Mon, 13 May 2024 10:07:01 +0000



Post From: is there any ACSIL function that rounds

[2018-08-11 19:18:01]
User61576 - Posts: 418
floats and double to to be by tick size?
trying to send a limit order which will not be lower than the stop price and both prices are double.
lvl1OrderPrice = sc.BaseDataIn[SC_LOW][cur - 1] + (lvl1Price.GetInt() * sc.TickSize);
I am trying to get a result which is good both for CL (65.54) and for ZB (112.034375)
pls advise
thanks
Date Time Of Last Edit: 2018-08-11 19:18:15