Developers who have a copy of Microsoft Visual Studio may wish to use it for editing and debugging EdgeRater selectors.
A starter Visual Studio solution file exists on your hard drive in the following location
{Documents}\EdgeRater\Selectors\Visual Studio Solution\Selectors\Selectors.sln
This solution file contains one c# project file called selectors.csproj
The project file contains a link to the two example selectors that are installed with EdgeRater
Ø The sample security selector called BasicBullishEngulfing.cs
Ø The sample rank selector called DiscardStartsWith.cs
The sample project will allow you to edit these files in Visual Studio and get syntax highlighting and Intellisense for all classes in the System namespace and the EdgeRater API.
The sample project can also be compiled, but the DLL assembly produced will not actually be used by EdgeRater. The purpose of being able to compile within the solution is to allow you to use the familiar Visual Studio environment to find and fix compile time errors.
Once the selector project has successfully compiled, you can be sure that when you compile the same selector files within EdgeRater there will be no errors.
You can also use the Visual Studio solution to debug running selectors. You will need to have compiled the selector within EdgeRater, but once you have done that you can attach the debugger to the EdgeRater process and set breakpoints within Visual Studio. The only requirement for doing so is that the source files are in the same file system location as they were when you compiled within EdgeRater. This is ensured by default because the only folders currently supported for managed selector source files are the {Documents}\EdgeRater\Selectors\Series for series selectors and {Documents}\EdgeRater\Selectors\Event for event selectors.