SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sat Mar 25, 2023 1:39 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Charts : Overflow Error
PostPosted: Tue Nov 19, 2019 1:19 pm 
Offline

Joined: Mon Apr 02, 2018 1:39 pm
Posts: 22
I have problems plotting more than 1 months worth of data for my alphas.
Up to 1 month, using the Log function works fine.
However, after a certain amount of data to plot, OQ has the following "overflow error" : (see trace below)

It obviously has something to do with the amount of data to plot. I have a 32GB machine with 4GB video card .. memory is not an issue
The standard algos work correctly ; indeed so does my system up to a point.

Any ideas?

Thanks



See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Overflow error.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawLine(Pen pen, Single x1, Single y1, Single x2, Single y2)
at SmartQuant.ChartViewers.TimeSeriesViewer.Paint(Object obj, Pad pad)
at SmartQuant.Charting.Pad.PaintAll(Graphics Graphics)
at SmartQuant.Charting.Pad.Update(Graphics Graphics)
at SmartQuant.Charting.Chart.UpdatePads(Graphics g)
at SmartQuant.Charting.Chart.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Top
 Profile  
 
PostPosted: Wed Nov 20, 2019 2:34 pm 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 583
Hi,
1) what type and version of software do you use?
2) how many times have you approximately called the Log (...) function?


Top
 Profile  
 
PostPosted: Fri Nov 22, 2019 10:56 am 
Offline

Joined: Mon Apr 02, 2018 1:39 pm
Posts: 22
Version 1.0.7223.32819 64bit

Each alpha calls the function approx 5500 times per day for a backtest ..

I have at least 2 alphas that I would like to graph ...


Top
 Profile  
 
PostPosted: Fri Nov 22, 2019 11:09 am 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 583
zbxxxx wrote:
Version 1.0.7223.32819 64bit

Each alpha calls the function approx 5500 times per day for a backtest ..

I have at least 2 alphas that I would like to graph ...

5500 logs per day is not a heavy value for charts.
Can you provide sample solution which can reproduce this problem?
You can send it PM


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group