SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Fri Nov 24, 2017 1:25 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jul 18, 2012 8:21 pm 
Offline

Joined: Thu Jul 22, 2010 3:03 am
Posts: 16
Location: Montreal
We need to precalculate some data every night, and I was wondering if it is possible to call the gethistoricaldata from an outside process

I have try,

Code:
Imports OpenQuant.API

Public Class Form1

    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        Dim d As New OpenQuant.API.DataManager

        Dim i As New Instrument(InstrumentType.Stock, "MFC")
        i.Exchange = "TSE"
        i.Currency = "CAD"
        Dim qs As OpenQuant.API.ISeries
        qs = OpenQuant.API.DataManager.GetHistoricalQuotes(i, New DateTime(2012, 7, 1), Now)

    End Sub
End Class


But I get an error message stating:

Lock System, Native Protection system can't find a valid version of a protected .NET assembly

Any help would be appreciated


Top
 Profile  
 
PostPosted: Fri Jul 27, 2012 10:37 am 
Offline

Joined: Sun Oct 30, 2011 12:12 am
Posts: 220
Anton, Sergey,

Isn't the point of your new OQ offering to solve some of these issues by opening the framework?
Any comment?


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: Bing [Bot] 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