SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Wed Nov 21, 2018 3:42 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Apr 26, 2007 6:11 am 
Offline

Joined: Wed Apr 25, 2007 4:15 pm
Posts: 7
I created a project and add SPY to the instruments and the code below to the OnBar so as to capture 1minute real time data.

public override void OnBar(Bar bar)
{
DataManager.Add(Instrument, bar);
}

I right click on the instrument in the Instruments list and select "chart" and get an empty chart.

I try to open the chart via the instrument list in the project and get an exception. The details of the exception are attached.

How can I see the data in a chart?


Attachments:
Exception - view chart via project context menu.zip [2.49 KiB]
Downloaded 149 times
Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 26, 2007 8:44 am 
Offline

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

do you see any data for 1min bars in the data explorer window (table)?

Regards,
Anton


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 26, 2007 2:24 pm 
Offline

Joined: Wed Apr 25, 2007 4:15 pm
Posts: 7
I have created a series of screen shots detailing the issue.

1 - Viewing Data View.JPG
I can right click on SPY in the instruments window and open the Data view and I have data from about 1p to 4p in 1minute bars.

2 - Viewing Chart via Data View.JPG
If I try to view a chart by switching tabs on the data view I can see the data in that Chart but I cannot add indicators etc.

3 - Opening Chart Via Context Menu.JPG
4 - Empty Chart.JPG
if I right click on SPY in the instrument window and select chart I get an empty window

5 - Opening Chart via Project Instrument's Context Menu.JPG
6 - Exception.JPG
If I try to open the chart via the context menu in the project instruments list I get an exception of which I posted the detail earlier.

I hope this is enough detail. Any help you can provide is greatly appreciated.

ps. i had to split up the images b.c it was slightly larger than 512. Picture #5 is separated into Issues 2.zip


Attachments:
ChartIssues2.zip [74.95 KiB]
Downloaded 125 times
ChartIssues.zip [465.17 KiB]
Downloaded 121 times
Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 26, 2007 2:27 pm 
Offline

Joined: Wed Apr 25, 2007 4:15 pm
Posts: 7
In the data view there are 2 empty series.

I had this same problem before those were created.

If I delete both the empty series I still have the same 2 problems
a. empty chart
b. exception

thank you


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: Baidu [Spider] 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