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
Syntaxpublic 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
)
Public Shared Function GetDemo (
host As String,
port As Integer,
leverage As Integer,
balance As Double,
name As String,
accountType As String,
country As String,
city As String,
state As String,
zip As String,
address As String,
phone As String,
email As String,
terminalCompany As String
) As DemoAccount
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
)
static member GetDemo :
host : string *
port : int *
leverage : int *
balance : float *
name : string *
accountType : string *
country : string *
city : string *
state : string *
zip : string *
address : string *
phone : string *
email : string *
terminalCompany : string -> DemoAccount
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:
DemoAccountDemo account.
See Also