StrategyProfit value return to zero
02/13/2018 at 2:17 PM #62597
If I temporary stop my live Algo from ProOrder Auto Trading, (not delete, StrategyProfit value is $7,000 before stop) and re-start it a moment later.
The value of StrategyProfit value return to zero or still $7,000?MM Example12345678910111213141516PositionSize = 1Once Size = PositionSizeOnce Capital = (5000*Size)Equity = Capital + StrategyProfit// Position size calculationif equity<=Capital thenPositionSize = Size*1endifif equity>=Capital*2 thenPositionSize = Size*2endifif equity>=Capital*3 thenPositionSize = Size*3endif
?02/13/2018 at 2:37 PM #62599
If you stop the program (not delete), the strategy profit will be kept in the memory of ProrealOrder, until you START it again, then you should see your 7.000$ again in the general profit. When you STOP the program it is like you put it in stand-by, rather than stop it.
A different case is if you DELETE it from Prorealorder to change something in the code, then when you upload it again, even if you didnt change anything, it will be treat it as a completely new one and will start from 0$.02/13/2018 at 2:39 PM #6260002/13/2018 at 2:42 PM #6260102/13/2018 at 11:51 PM #6267202/14/2018 at 6:56 AM #62675
Please help me move this post to platform support, and hope Prorealtime helpdesk can verify my case, because I found my code is correct, backtest also 2 positions when strategyprofit was over $7,000.
THX02/14/2018 at 11:34 AM #6271102/14/2018 at 11:13 PM #6279202/15/2018 at 12:36 PM #6282302/15/2018 at 2:08 PM #6283202/19/2018 at 10:49 AM #63122
Had the same problem this weekend.
Stopped 3 strategies on friday, started then again on sunday. Profits still appear in proorder Window but less positions then supposed are taken. Strange thing is that one of them took 1,5 contracts instead of 1 (if SP=0).
Henrik02/19/2018 at 12:11 PM #6314002/19/2018 at 1:38 PM #6314702/20/2018 at 8:17 AM #6325402/21/2018 at 8:30 AM #63340