Use external library (ALGLIB) in my code
Author: Marko.Bender
Creation Date: 11/16/2012 7:20 AM
profile picture

Marko.Bender

#1
Hi,

I am trying to use an external library (ALGLIB) in my strategy code. The library package comes with an alglibnet2.dll and several .cs files located in an "src" folder.

So far I have set a reference ("Other Assemblies to Reference") and pointed to the .dll file. Now I am trying to use methods from the package by using eg. alglib.pearsoncorr2(...) in my code.

The strategy compiles without errors. However, I receive a runtime error stating that the file or assembly "alglibnet2, Version..." or an instance of it was not found and that the system can not find the file.

What am I doing wrong and how do I include the library correctly?
Thanks a lot in advance!
profile picture

Eugene

#2
Hi,

Start here: Error using AlgLib library. Hope that helps.
profile picture

Marko.Bender

#3
Thx., that worked! (after a restart of Wealth-Lab)
Best, Marko
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).