I have placed the .DLL for this library in the directory
but it does not show up in Assemblies. What am I doing wrong?
QUOTE:
C:\Program Files\Quantacula, LLC\WealthLab 8
but it does not show up in Assemblies. What am I doing wrong?
Rename
Assuming you already restarted WL, probably the dll is "Blocked" for security due to being downloaded from the internet. You can clear the lock by one of two methods:
1. Move the file to a pen drive and then back to the WL folder, or,
2. Move the file to your desktop, right click > Properties > General tab > Security > check "Unblock".... and then move it back to the WL folder
---
Update - I wasn't able to get it to work either, so sorry I couldn't help!
1. Move the file to a pen drive and then back to the WL folder, or,
2. Move the file to your desktop, right click > Properties > General tab > Security > check "Unblock".... and then move it back to the WL folder
---
Update - I wasn't able to get it to work either, so sorry I couldn't help!
Thanks Cone!
Perhaps someone else has figured out the "magic" required to make it work with WL8.
Perhaps someone else has figured out the "magic" required to make it work with WL8.
QUOTE:
does not show up in Assemblies
If you talk about WL->Tools->Assembly References then the simple answer is:
A DLL copied to WL's installation folder does not show up here.
You see such an assembly (like MathNet.Numerics.DLL) by just using it in a C# coded strategy like so:
CODE:
using System; using WealthLab.Core; using WealthLab.Backtest; using MathNet.Numerics; // use MathNet.Numerics.dll namespace WealthScript1 { public class MyStrategy : UserStrategyBase { public override void Initialize(BarHistory bars) { // access something in MathNet.Numerics double e = MathNet.Numerics.Constants.E; } ...
If you are referencing Math.NET directly from WL strategy code, then follow Post #3.
I have a policy to never introduce foreign datatypes into another application. For example, I want to avoid referencing Math.NET Vector and Matrix datatypes in WL strategy code; therefore, I reference Math.NET calls only through local VS code libraries so my WL strategy code stays clean and native to WL. You might want to do the same; this helps avoid confusion with foreign library updates. And honestly, my local code libraries don't change that much (although my WL strategy code does).
Here's the setup I use for Visual Studio.
I have a policy to never introduce foreign datatypes into another application. For example, I want to avoid referencing Math.NET Vector and Matrix datatypes in WL strategy code; therefore, I reference Math.NET calls only through local VS code libraries so my WL strategy code stays clean and native to WL. You might want to do the same; this helps avoid confusion with foreign library updates. And honestly, my local code libraries don't change that much (although my WL strategy code does).
Here's the setup I use for Visual Studio.
Thanks Guys for the info! That solves my problem. Now I can move on with more code translation. 😁
superticker, I am using version 5.0.0 also, so if it is working for you it should work for me.
superticker, I am using version 5.0.0 also, so if it is working for you it should work for me.
QUOTE:
superticker, I am using version 5.0.0 also
Be sure to install the netstandard2.0 build of MathNet.Numerics.dll so it's compatible with .NET 8.0 and above. The other builds are for the earlier .NET frameworks.
superticker,
Info much appreciated! I had DLed the wrong build. I will get the right one now. 👍
Info much appreciated! I had DLed the wrong build. I will get the right one now. 👍
Please note:
The MathNet.Numerics DLL comes with various finantic extensions.
So, before you download this DLL please make sure it is not already present in WL's installation folder.
The MathNet.Numerics DLL comes with various finantic extensions.
So, before you download this DLL please make sure it is not already present in WL's installation folder.
DrKoch,
Thanks for the "Heads up!"
Thanks for the "Heads up!"
Your Response
Post
Edit Post
Login is required