@Override
public TradingAgentConfigurationHandle createConfiguration(TradingAgentFactoryHandle factoryHandle, Properties properties, String name) {
ITradingAgentFactory factory = retrieveFactory(factoryHandle);
TradingAgentConfiguration configuration = new TradingAgentConfiguration(factory, properties);
TradingAgentConfigurationHandle handle = new TradingAgentConfigurationHandle(name == null || name.equals("") ? configuration.toString() : name, factory.getInputSeriesNames());
hierarchyContainer.putTradingAgentConfiguration(handle, configuration, factoryHandle);
return handle;
}