Click or drag to resize

QuoteClientGetDemo Method (String, Int32, 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 host,
	int port,
	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

host
Type: SystemString
IP address or domain name.
port
Type: SystemInt32
Port. Usually 443.
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