I have developed a gray box using ANVIL API. It is a mixture of C# / VC++.
The main reason is that it is portable to any other trading platform other than ANVIL. The GUIS are mcuh quicker to develop in NET than VC++.
The C# engine takes singal from C++ and run historical analysis on them. I ahve to say once the signal is in, .NET runs as quick as VC++ but you ahve to code C# with C++ in mind.
Avoid as many value references as you can. You will still suffer managed-to-unmanaged latency but once is crossover it is fast.
Now, if you are building a scalper mechanism, you need to develop it on the native langauge of you trading API for optimal perfomance. This way you do not deal with marsahlling latency.
I am awating t palce the all environment in 64 bit. It will be much faster and much more capacity for our historical analysis.
The main reason is that it is portable to any other trading platform other than ANVIL. The GUIS are mcuh quicker to develop in NET than VC++.
The C# engine takes singal from C++ and run historical analysis on them. I ahve to say once the signal is in, .NET runs as quick as VC++ but you ahve to code C# with C++ in mind.
Avoid as many value references as you can. You will still suffer managed-to-unmanaged latency but once is crossover it is fast.
Now, if you are building a scalper mechanism, you need to develop it on the native langauge of you trading API for optimal perfomance. This way you do not deal with marsahlling latency.
I am awating t palce the all environment in 64 bit. It will be much faster and much more capacity for our historical analysis.