本页面尚未提供您的语言版本,显示其他语言版本。

Adapter initialization FXCM

The code below demonstrates how to initialize the FxcmMessageAdapter and send it to Connector.

Connector Connector = new Connector();				
...				
var messageAdapter = new FxcmMessageAdapter(Connector.TransactionIdGenerator)
{
	Login = "<Your Login>",
	Password = "<Your Password>".To<SecureString>(),
	Address = "<Your Address>".To<Uri>(),
	IsDemo = true
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...	
							

Connection settings window