SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sat Oct 24, 2020 2:20 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Custom chart
PostPosted: Wed Mar 24, 2010 7:26 pm 
Offline

Joined: Mon Mar 09, 2009 3:49 pm
Posts: 42
I think, I saw some sample code on how to create a custom chart with custom data in OQ which pops up as a seperate form. Is this possible?
Thanks, bill


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 24, 2010 7:51 pm 
Offline

Joined: Mon Mar 09, 2009 3:49 pm
Posts: 42
I was searching the forum for hours, and then realised that there's a script samples. Sorry lads.
One thing though, I cannot see any logic behind the Divide method.
How would I let's say show two different charts in one window using the Divide method?
Bill


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 25, 2010 12:05 am 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6817
Hi,

I think we forgot to add Canvas.cd(padNumber) method that allows to navigate between pads. Will do in the next update.

Basically you call

Canvas.Divide(1, 2);

to divide Canvas into two pads and then

Canvas.cd(1);

Canvas.Add(series1);

Canvas.cd(2);

Canvas.Add(series2);

Regards,
Anton


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 25, 2010 4:02 pm 
Offline

Joined: Wed Sep 23, 2009 10:05 am
Posts: 66
Location: The Netherlands
Hi Anton,

When I add a BarSeries on a canvas, after Run(), I can right click on the BarSeries and get a properties window.

Of course I want to set these BarSeries properties programmatically. I can't find support for this on the forum or documentation.

Can you help me?

Thanks,
Rob.


Last edited by RSC on Thu Mar 25, 2010 8:56 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 25, 2010 5:51 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6817
Hi Rob,

actually you see properties of data series from underlying framework and not OpenQuant API series. If you want more details, I can tell you but basically the answer is no, it's not possible to change these properties programmatically.

Regards,
Anton


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 25, 2010 6:39 pm 
Offline

Joined: Mon Mar 09, 2009 3:49 pm
Posts: 42
Dear Anton, for the next release could you please correct the label for the Sortino Ratio? It should read Sortino and not Sotrino...
It's a little detail...
Keep up the good work!


Top
 Profile  
 
 Post subject: Re: Custom chart
PostPosted: Sat Apr 16, 2011 1:18 am 
Offline

Joined: Tue Jun 09, 2009 5:07 pm
Posts: 10
Location: Belgium
Quote:
Hi,

I think we forgot to add Canvas.cd(padNumber) method that allows to navigate between pads. Will do in the next update.

Basically you call

Canvas.Divide(1, 2);

to divide Canvas into two pads and then

Canvas.cd(1);

Canvas.Add(series1);

Canvas.cd(2);

Canvas.Add(series2);

Regards,
Anton


Anton ,
Can you please add Canvas.cd(padNumber) method that allows to navigate between pads. In OQ 3.1.2 it is still not there.
Thanks
Roedies


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

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
Powered by phpBB® Forum Software © phpBB Group