Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 15:52:59 +0000



Post From: Position Data Structure Members

[2014-03-04 11:46:16]
User82615 - Posts: 106
Thank you I already have it working , and yes the problem was that I was not programming it as a currency value , I was programming it as ticksize.

Actualy I programmed the system and does the backtest perfect, but do I have to put (double) instead of (i) in the Position structure members:

s_SCPositionData PositionData;
sc.GetTradePosition(PositionData);
double Positiondata.OpenProfitLoss ??

because it is a double type structure instead of an integer ?

Thank you very much