Exemple #1
0
        /// <summary>
        /// Called when Executions received from <see cref="OrderExecutor"/>
        /// </summary>
        /// <param name="execution"></param>
        private void OnOrderExecutorExecutionArrived(Execution execution)
        {
            // Send Execution to strategy
            _tradeHubStrategy.OnExecutionArrived(execution);

            // Update Strategy Statistics
            UpdateStatistics(execution);
        }
Exemple #2
0
 /// <summary>
 /// Called when Executions received from <see cref="OrderExecutor"/>
 /// </summary>
 /// <param name="execution"></param>
 private void OnOrderExecutorExecutionArrived(Execution execution)
 {
     // Send Execution to strategy
     _tradeHubStrategy.OnExecutionArrived(execution);
 }