SmartQuant Discussion

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

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Exporting data
PostPosted: Mon Apr 23, 2007 5:33 am 
Offline

Joined: Fri Jul 25, 2003 7:34 pm
Posts: 12
Location: Greenwich, CT, USA
Is it possible to export market data out of OpenQuant? If so, can you tell me how?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 23, 2007 8:38 am 
Offline

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

we can add a button to the data explorer window, but meanwhile you can do this yourself in a strategy. Remember that you can use any .NET library, inlucding System.IO (Input-Output)

OnStrategyStart()
{
// open a text file

foreach(Bar bar in DataManager.GetHistoricalBars(instrument, date1, date2)
// write this bar to the file

// close file
}

Regards.
Anton


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Group