Initialization

Thanks to our GUI based configuration tool QWFIX Enterprise Manager, all configuration can be edited by user through the Enterprise Manager and saved into the Repository Server.

Initializing the QWFIX Order Manager is simple. It only takes 1 lines of code. It is recommended the initialization process takes place soon after the FIX engine is initialized. FIXStandaloneApplication.FIXEngineInitialized event handler is the perfect place for the Order Manager initialization process.

The code block below demonstrates the QWFIX Order Manager initialization within a FIXStandaloneApplication.FIXEngineInitialized event handler. FIXOrderManager needs to be initialized before FIXOrderGateway.

CopyOrder Gateway Initialization
FIXOrderManagerSettings orderManagerSettings = FIXOrderManager.AddFIXEngine(fixEngine, app.VisualLambdaLoader); 
FIXOrderManager.EnableRemoteManagementService(app); 
FIXOrderGatewaySettings gatewaySettings = FIXOrderGateway.InitGateway(app, orderManagerSettings);