Support Board
Date/Time: Sun, 09 Feb 2025 04:09:48 +0000
Post From: Datatypes double not int on 64 bit version, here s_SCPositionData
[2020-08-05 16:43:48] |
ForgivingComputers.com - Posts: 999 |
I have noticed this change also as it showed up in Brett Johnson's ToolKit (which is full of great examples of ACSIL). I ended up casting the PositionData.PositionQuantity to int: sc.GetTradePosition(PositionData);
int OpenQty = (int)PositionData.PositionQuantity; I think this was done to support fractional orders for Forex and other markets. |