The Validation Errors Tab is the tab that appears in the pane on the bottom of the Quagensia® Desktop Application’s user interface when a Quagensia Strategy or Quagensia Function is open in a tab and that tab is selected. It is not visible when the Start Page tab is the selected tab. Its tab is labeled “Strategy File Validation Errors” when a strategy is selected, and “Function File Validation Errors” when a function is selected.
Whenever you save or attempt to generate the code for a Quagensia Algo file that either has validation errors or calls a Quagensia Function either directly or indirectly (for example if a function calls another function that calls a third function) that has validation errors, the Validation Errors Tab is automatically selected.
For your own safety, Quagensia will not generate the code for a Quagensia Algo that has validation errors. Quagensia will save algo files that have validation errors, but you will need to fix all of the validation errors in the grid before you can generate an algo’s code.
To fix the validation errors in the grid, click on one of the validation errors and the algo file with the validation errors will open in a new tab if it isn’t open already, and the vertical scroll bars will scroll to the location of the validation error. When you fix a validation error, save the algo again, or attempt to generate its code. Repeat this process until no more validation errors appear in the grid.
The drop down button in the upper right of the Validation Errors Tab allows you to do the following additional actions:
- Validate All Algos in the “My Algos” Folder
- Validate All Algos in the “Algos from Quagensia” Folder
- Validate All Algos in Both Folders
There should never be any validation errors in any of the algos from Quagensia, so actions 2 and 3 in the list above normally aren’t needed, but they are available just in case.
You should, however get in the habit of clicking the “Validate All Algos in the ‘My Algos’ Folder” item to at least remind yourself of any invalid Quagensia Algo files in your “My Algos” folder, although you don’t actually need to fix every validation error in Quagensia Algos whose code you don’t need to generate.