cleanup

Optional user defined callback function containing per symbol cleanup code.

void cleanup();

Parameters

none

Return Value

none

Exceptions

none

Remarks

Implementation of this function is optional. 

If the function is defined, it is the last function called by the framework when running the trading system, for each symbol.

Although this function can be used for any purpose, including running parts or all of the trading system, it is intended for resource cleanup, if necessary.

This function is not required in most cases, as most resources created during a system run are automatically cleaned up by the Tradery platform and do not need to be explicitly deallocated or released by user code.

Example

void cleanup()
{
}

© 2006-2010 Tradery.com
info@tradery.com