|
Jeremia
|
Posted Thursday, July 22, 2010
|
|
Group: Forum Members
Last Active: Saturday, October 16, 2010
Posts: 7,
Visits: 29
|
Hi,
I'm new to the algorithm trading and I'm just playing around to find out how thinks work. Everytime I use the tester I got a range check error after a while.
First everything works fine and then the error occurs. This doesn't depend on the strategy which I'm testingt. It happens with all strategies. Also the standard strategies which are delivered with actfx.
Has anybody an idea why this happens or how I can solve this? I just want to simulate more than a few minutes. I want to simulate a hole day or week.
Best regards
Jeremia
|
|
|
|
|
Den
|
Posted Thursday, July 22, 2010
|
|
Group: Forum Members
Last Active: Tuesday, September 07, 2010
Posts: 24,
Visits: 36
|
Hi Jeremia. Could you tell me what exactly is. It will be good if you make a screenshot. It can help me to solve your problem. Regards, Den
|
|
|
|
|
Jeremia
|
Posted Sunday, July 25, 2010
|
|
Group: Forum Members
Last Active: Saturday, October 16, 2010
Posts: 7,
Visits: 29
|
Hi Den,
no problem I'll upload a screenshot if the chart data is available again. I can't do this at the weekend since the platform only is available during week.
All I can say until now, that I got a pop up message which says "Range check error". I'll give the full stack trace during week.
Best regards
Jeremia
|
|
|
|
|
Jeremia
|
Posted Tuesday, July 27, 2010
|
|
Group: Forum Members
Last Active: Saturday, October 16, 2010
Posts: 7,
Visits: 29
|
Hi,
after the last update from yesterday the problem seems to be fixed. But there is another very anoying problem. I only can use the tester for one timer. If i use it a second time I get almost everytime a runtime acception.
Steps to reproduce:
1. Start trader
2. Open strategy list
3. Open any strategy for testing (for example EntryOrders)
4. Start test (runs to the end in a few seconds)
5. Start test again -> crash
Here is the stack trace
EXCEPTION
EAccessViolation in TTimer
CODE
MESSAGE
Access violation at address 004097E9 in module 'fx_client.exe'. Read of address 00000004
DETAILS
CALL STACK
fx_client.exe=>System.pas=>_IntfCopy=>21653
fx_client.exe=>System.pas=>_IntfCopy=>21647
fx_client.exe=>Classes.pas=>TInterfaceList.Get=>3840
fx_client.exe=>Classes.pas=>TInterfaceList.Get=>3835
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.GetInterface=>132
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.GetInterface=>131
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.SendCommand=>110
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.SendCommand=>108
fx_client.exe=>DataContainer.pas=>TDataContainer.SetIsMultipleUpdate=>358
fx_client.exe=>DataContainer.pas=>TDataContainer.SetIsMultipleUpdate=>353
fx_client.exe=>OrderData.pas=>TOrderData.RecalcForNewRates=>331
fx_client.exe=>OrderData.pas=>TOrderData.RecalcForNewRates=>314
fx_client.exe=>PairData.pas=>TPairData.NewRateForUpdatedPairs=>353
fx_client.exe=>PairData.pas=>TPairData.NewRateForUpdatedPairs=>332
fx_client.exe=>AbstractMessageDataProvider.pas=>TAbstractMessageDataProvider.OnRecalculateTimer=>270
fx_client.exe=>ExtCtrls.pas=>TTimer.Timer=>2979
fx_client.exe=>System.pas=>_CallDynaInst=>10209
fx_client.exe=>ExtCtrls.pas=>TTimer.WndProc=>2937
fx_client.exe=>Classes.pas=>StdWndProc=>12703
fx_client.exe=>AppEvnts.pas=>TCustomApplicationEvents.DoMessage=>244
fx_client.exe=>Forms.pas=>TApplication.ProcessMessage=>9660
fx_client.exe=>Forms.pas=>TApplication.ProcessMessage=>9630
fx_client.exe=>Forms.pas=>TApplication.HandleMessage=>9690
fx_client.exe=>Forms.pas=>TApplication.HandleMessage=>9689
fx_client.exe=>Forms.pas=>TCustomForm.ShowModal=>6579
fx_client.exe=>SmartException.pas=>TForm_SmartException.ShowSimple=>291
fx_client.exe=>SmartException.pas=>TForm_SmartException.ShowSimple=>278
fx_client.exe=>Main.pas=>TForm_Main.OnException=>581
fx_client.exe=>System.pas=>_FreeMem=>3455
fx_client.exe=>System.pas=>_LStrArrayClr=>13960
fx_client.exe=>Forms.pas=>TApplication.HandleException=>9876
fx_client.exe=>Forms.pas=>TApplication.HandleException=>9862
fx_client.exe=>ExtCtrls.pas=>TTimer.WndProc=>2939
ntdll.dll=>=>KiUserExceptionDispatcher=>0
fx_client.exe=>System.pas=>_IntfCopy=>21647
fx_client.exe=>Classes.pas=>TInterfaceList.Get=>3840
fx_client.exe=>Classes.pas=>TInterfaceList.Get=>3835
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.GetInterface=>132
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.GetInterface=>131
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.SendCommand=>110
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.SendCommand=>108
fx_client.exe=>DataContainer.pas=>TDataContainer.SetIsMultipleUpdate=>357
fx_client.exe=>DataContainer.pas=>TDataContainer.SetIsMultipleUpdate=>353
fx_client.exe=>OrderData.pas=>TOrderData.RecalcForNewRates=>317
fx_client.exe=>OrderData.pas=>TOrderData.RecalcForNewRates=>314
fx_client.exe=>PairData.pas=>TPairData.NewRateForUpdatedPairs=>353
fx_client.exe=>PairData.pas=>TPairData.NewRateForUpdatedPairs=>332
fx_client.exe=>AbstractMessageDataProvider.pas=>TAbstractMessageDataProvider.OnRecalculateTimer=>270
fx_client.exe=>ExtCtrls.pas=>TTimer.Timer=>2979
fx_client.exe=>System.pas=>_CallDynaInst=>10209
fx_client.exe=>ExtCtrls.pas=>TTimer.WndProc=>2937
fx_client.exe=>Classes.pas=>StdWndProc=>12703
USER32.dll=>=>DispatchMessageW=>0
USER32.dll=>=>DispatchMessageW=>0
fx_client.exe=>Forms.pas=>TApplication.ProcessMessage=>9660
fx_client.exe=>Forms.pas=>TApplication.ProcessMessage=>9630
fx_client.exe=>Forms.pas=>TApplication.HandleMessage=>9690
fx_client.exe=>Forms.pas=>TApplication.HandleMessage=>9689
fx_client.exe=>Forms.pas=>TApplication.Run=>9827
fx_client.exe=>Forms.pas=>TApplication.Run=>9801
fx_client.exe=>Fx_Client.dpr=>=>343
kernel32.dll=>=>BaseThreadInitThunk=>0
WINDOWS VERSION
5.1.2600 Service Pack 2
APPLICATION INFO
fx_client.exe 4.2.63/4.2.0
http://demo10.sysfx.com:8118/xml/; edforex118; HÄNDLER: USERNAME
RISE TIME
2010-07-27 18:52:44
Server Time: 12:52:45
I hope someone can help me with this.
Best regards
Jeremia
|
|
|
|
|
Jeremia
|
Posted Monday, August 16, 2010
|
|
Group: Forum Members
Last Active: Saturday, October 16, 2010
Posts: 7,
Visits: 29
|
Hi,
as described above the "Range check error" was gone for the last few versions. Today I got a new update and now the error is present again. So the test mode is useless again.
Here is the actual stack trace:
EXCEPTION
ERangeError in TFeedEmulator
CODE
MESSAGE
Range check error
DETAILS
CALL STACK
fx_client.exe=>SeparatingLine.pas=>TSeparatingLine.ChartEvent=>91
GDI32.dll=>=>D3DKMTDestroyContext=>0
fx_client.exe=>RateLine.pas=>TRateLine.ChartEvent=>83
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.ScaleCurrentPage=>1728
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.ScaleCurrentPage=>1713
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.ScrollBarChange=>1144
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.UpdateUI=>1192
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.UpdateUI=>1161
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.UpdateRow=>1546
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.UpdateRow=>1539
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.IVisualizerCommand=>2301
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.SendCommand=>110
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.SendCommand=>108
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.Update=>147
fx_client.exe=>DataVisualizer.pas=>TDataVisualizer.Update=>147
fx_client.exe=>DataContainer.pas=>TDataContainer.UpdateRow=>214
fx_client.exe=>FeedEmulator.pas=>TFeedEmulator.UpdateRowMethod=>274
fx_client.exe=>Fx_Client.dpr=>=>343
kernel32.dll=>=>BaseThreadInitThunk=>0
...
fx_client.exe=>FeedEmulator.pas=>TFeedEmulator.Execute=>302
kernel32.dll=>=>BaseThreadInitThunk=>0
WINDOWS VERSION
5.1.2600 Service Pack 2
APPLICATION INFO
fx_client.exe 4.2.63.12/4.2.63
http://demo10.sysfx.com:8118/xml/; edforex118; HÄNDLER: USER
RISE TIME
2010-08-16 18:56:06
Server Time: 12:56:06
Best regards
Jeremia
|
|
|
|
|
Den
|
Posted Tuesday, August 17, 2010
|
|
Group: Forum Members
Last Active: Tuesday, September 07, 2010
Posts: 24,
Visits: 36
|
Hi, Jeremia. I have just launched two strategies in a tester and I have not experienced any problems. Could you describe in more details what exactly happens. I have Windows XP on my PC, version of program is 4.2.63. I have attached a picture which shows two strategies working at the same time. Try to turn off antivirus and redo it. When I did it, I used two different instruments. Anyway describe all your manipulations. I will try to help you. Bye, Den
|
|
|
|
|
Jeremia
|
Posted Tuesday, August 17, 2010
|
|
Group: Forum Members
Last Active: Saturday, October 16, 2010
Posts: 7,
Visits: 29
|
Hi Den,
thank you for your reply. I just started a test and after a few seconds i get the described error.
I played a little with the tester and maybe found a possible reason for the problem.
First I started an existing strategy and everything works fine without an error. Then i started my strategy and after a few seconds I got the error.
I thought there must be something wrong with my strategy. But after looking in more detail I found out, that the problem only happens if I use a function which is called when a new value on a TickHistory is created.
The error also occurs if the function is empty. So there must be a problem with the tick history. Without the tick history everything works fine.
Best regards
Jeremia
|
|
|
|