Wednesday 13 August 2008

PROGRAMMING THE SIMULATOR

Regardless of whether an integrated or component-based simulator is employed, the trading logic of the user’s system must be programmed into it using some computer language.
The language used may be either a generic programming language, such as C+ + or FORTRAN, or a proprietary scripting language.
Without the aid of a formal language, it would be impossible to express a system’s trading rules with the precision required for an accurate simulation.
The need for programming of some kind should not be looked upon as a necessary evil.

Programming can actually benefit the trader by encouraging au explicit and disciplined expression of trading ideas.
For an example of how trading logic is programmed into a simulator, consider Trade Station, a popular integrated product from Omega Research that contains an interpreter for a basic system writing language (called Easy Language) with historical simulation capabilities.

Omega’s Easy Language is a proprietary, trading specific language based on Pascal (a generic programming language).

No comments: