Tag Archives: DLL

Example of Matlab calling your Windows DotNet DLL

Example of Matlab calling your Windows DotNet DLL

Here is a link of way to get your Matlab console session to call a .NET assembly like a DLL. I am not sure if any open source languages like R or Python has this capability but there are many advantages.

http://www.mathworks.com/help/matlab/ref/net.addassembly.html

Join my FREE newsletter to see what I do with this capaibility

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Is NGen a smart way to increase your DotNet application execution time or shrink the DLL program size

Is NGen a smart way to increase your DotNet application execution time or shrink the DLL program size

You let me know via these link:

 

http://msdn.microsoft.com/en-us/library/6t9t5wcf.aspx

http://blogs.msdn.com/b/clrcodegeneration/archive/2010/04/27/ngen-getting-started-with-ngen-in-visual-studio.aspx

http://www.codeguru.com/csharp/.net/net_general/toolsand3rdparty/article.php/c4651/JIT-Compilation-and-Performance–To-NGen-or-Not-to-NGen.htm

Find out if we will still use this in our upcoming customer automated trading system by joining our FREE newsletter

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Is Deltix trading really ‘closed’ whenit talks to R, Python, Matlab, and my Simulink code generated C or C++ DLLs

Is Deltix trading really ‘closed’ whenit talks to R, Python, Matlab, and  my Simulink code generated C or C++ DLLs

 

A question came in from a Member asking about Deltix being pricey, kickbacks, and too ‘closed’

I responded with:

I agree that it is expensive for most which is why I will start recommending Free open source Tradelink to others. No, there is no kickback whatsoever at my end. As said, I really just like this platform so I am helping to promote for my membership which seems interested.
As for being closed, the Quant Office talks to Python, R, and Matlab. You can also embed you own DLLs which I plan to do with code generated from Simulink.

Want to learn more about Deltix or what I will do about this? Join my FREE newsletter

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Webinar video of Matlab Simulink to Trading Open Source Platform with Microsoft .NET DLL and C++ static library management coming soon

Webinar video of Matlab Simulink to Trading Open Source Platform with Microsoft .NET DLL and C++ static library management  coming soon

This will be posted among my QuantLabs.net Premium Memeber section. It should be posted later today.

Get access to it today by joining now.

Or get my FREE newsletter to find out what I am planning to do with it

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Tonite: Learn about converting Simulink visual models to an open source trading platform with DLL management.

Hi there

Tonight is the night. Learn about converting Simulink visual models to an open source trading platform with DLL management. Details of the agenda here:
This happens at 7pm Eastern Standard Tonite.
More updates on what is coming up:
1. Youtube video on Now on the hunt for highly profitable trading strategies for open source HFT trading
2. Q&A about open source in house trading platform versus expensve institutional HFT trading platforms like Deltix or Quanthouse
3. Q&A onWindows vs Linux, NOSQL databases, and Matlab discounting?
I have confirmed Matlab discounting will not happen.
Again:
Thanks Bryan
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Aaaah! This is the last message presenting me from implementing a managed DLL into my trading application

Aaaah! This is the last message presenting me from implementing a managed DLL into my trading application

PublicKeyToken=null’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
response threw exception: Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format.

I know the potential root of it but the combination of these are not fun.

http://stackoverflow.com/questions/4340362/system-badimageformatexception-an-attempt-was-made-to-load-a-program-with-an-inc

NOTE: This new platform is HFT ready which I could never reall talk about within Multicharts.net so there is an advantage already.

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

The hit parade of Multicharts.net continue with advanced updates on managed vs unmanaged C++ DLL coding

HI there
Well, I am happy to report I am one step away from showcasing this solution of calling my code generated C++ DLLs from this proposed open source trading platform. I will let you know right away when that happens so stay tuned. In the mean time, here are some continued opinions of Multicharts with some advanced .NET development.
1. Youtube video on Hit limitations of multicharts.net framework and pinvoke in Microsoft .NET DLLs
2. Who is up for an Easter Egg hunt with Multicharts.net framework? Anyone anyone? Still waiting?
3. One’s view of this of Microsoft .NET CLR managed vs unmanaged Visual C++ code for a trader
4. Just posted working source code for C# .NET client to call C++ managed wrapper DLL to call unmanaged C++ static library
As they say, Geek on.
Thanks Bryan
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Just posted working source code for C# .NET client to call C++ managed wrapper DLL to call unmanaged C++ static library

Just posted working source code for C# .NET client to call C++ managed wrapper DLL to call unmanaged C++ static library
I have found a really good online resource to accomplish. There was even a comment from someone where they worked on this solution for over a week. Wow! This is why you should join the QuantLabs.net Premiium Membership now to save yourself this amount of time. Not only that, it prevents you going down rabbit holes like my recent venture with Multicharts.net. Bleh.
Anyhow, I have created a Static Library which is native C++ unmanaged code. Then you need to write a C++ managed wrapper DLL to call the static library. After that, you want a C# client to call the managed C++ DLL. Get it?
I placed working code of this for my QuantLabs.net Premium Membership.
You may want to stand by to what I do with this.
Join now for it
or get my FREE newsletter what I plan to do with this.

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

2 reasons for quant membership with limitation of Multichart.net framwork and Microsoft .NET PInvoke DLL Imports

HI there

This is an email for all your technical programming geeks.
First off, I am totally frustrated with the .NET framework of Multicharts:
I am revisiting an old open source trading platform as Multicharts.net framework is proving to be frustrating to work with
I then came across a major limitation of code generation from Matlab Coder or Simulink Coder toolboxes:

Critical while integrating Matlab with Microsoft .NET with C# or even Visual C++: Managed versus unmanaged DLL code
Next up? People like me get confused on managed versus unmanaged C++ native code.
What to do do for those confused about managed Microsoft .NET C# vs unmanaged C++ code?
Here is workaround and a sample demo::
Youtube video Demo of Visual C++ CLR DLL with Microsoft dot Net C sharp client
More detailed videos of the above will be posted in a few days
.
Confused? Frustrated by this? Here are two reasons right now why you need to join my Quantlabs.net Premium Membership.
1. Save yourself with loads of hours of frustration with the above.
2. I have also posted for my Quantlabs.net Premium Membership video demos with source code of the open source trading platform strategy calling one these managed C++ DLLs.
Join here to get access to the above video demo.
Thanks Bryan
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!