DLL Function Reference
Previous  Top  Next

The Optimax DLL contains a set of functions that are called from TradeStation during and after an optimization. This DLL is written in C and the functions all use the __stdcall calling convention. All parameters use standard c-type data types, and all character strings are null-terminated.

The functions must be called in an appropriate sequence. Out-of-sequence calls can result in incorrect optimization results and assertion errors. For the correct sequence to use, see Adding Optimax Calls.

When you use these functions, the directory containing the TradeStation program files must be on the path. Optimax tries to find it automatically when it starts up and dynamically adds it to the path. In TradeStation 7 this should work fine. If you try to use these calls with a prior TradeStation version, you may need to modify you path manually.