Click or drag to resize

QuoteClientGetDemo Method (String, Int32, Double, String, String, String, String, String, String, String, String, String, String)

Get demo account.

Namespace:  TradingAPI.MT4Server
Assembly:  MT4ServerApi (in MT4ServerApi.dll) Version: 4.6.1.8
Syntax
public static DemoAccount GetDemo(
	string serverFilePath,
	int leverage,
	double balance,
	string name,
	string accountType,
	string country,
	string city,
	string state,
	string zip,
	string address,
	string phone,
	string email,
	string terminalCompany
)

Parameters

serverFilePath
Type: SystemString
Path to srv file. You can find srv files in MT4\config folder.
leverage
Type: SystemInt32
Leverage value.
balance
Type: SystemDouble
Deposit value.
name
Type: SystemString
Currency name.
accountType
Type: SystemString
Account type.
country
Type: SystemString
Country.
city
Type: SystemString
City.
state
Type: SystemString
State.
zip
Type: SystemString
Zip postal code.
address
Type: SystemString
Address.
phone
Type: SystemString
Phone number.
email
Type: SystemString
Email address.
terminalCompany
Type: SystemString
Terminal company name.

Return Value

Type: DemoAccount
Demo account.
See Also