SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sat Nov 25, 2017 12:43 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Delete DataSeries
PostPosted: Thu May 11, 2017 5:03 pm 
Offline

Joined: Tue Oct 13, 2009 12:19 pm
Posts: 204
Dear Team,

is it possible, to delete a Tick DataSeries from the DB?

Can you let me know, how I could delete a tick data series (Ask, Bid, Trade) - in all or only certain daterange - with a command?

If that is currently not possible via DataManager, could you add this member to the class?

Regards
Mike


Top
 Profile  
 
 Post subject: Re: Delete DataSeries
PostPosted: Thu Jun 29, 2017 2:52 pm 
Offline

Joined: Wed May 05, 2010 9:49 pm
Posts: 386
Hello mikembb,
try this code for deleting dataseries:
Code:
         DataManager.DeleteDataSeries("IBM", DataObjectType.Bar, SmartQuant.BarType.Time, 60);

You cannot delete part of dataseries programmatically.
So you can create new tickseries, fill necessary amount of data from initial dataseries, delete this dataseries and finally write remaining data from tickseries to DataManager.


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 3 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