/// <summary> /// Called when Executions received from <see cref="OrderExecutor"/> /// </summary> /// <param name="execution"></param> private void OnOrderExecutorExecutionArrived(Execution execution) { _tradeHubStrategy.ExecutionArrived(execution); PersistencePublisher.PublishDataForPersistence(execution.Fill); PersistencePublisher.PublishDataForPersistence(execution.Order); }
/// <summary> /// Called when Executions received from <see cref="OrderExecutor"/> /// </summary> /// <param name="execution"></param> private void OnOrderExecutorExecutionArrived(Execution execution) { // Send Execution to strategy _tradeHubStrategy.ExecutionArrived(execution); }