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
Syntaxpublic 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
)
Public Shared Function GetDemo (
serverFilePath As String,
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^ 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
)
static member GetDemo :
serverFilePath : string *
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
- 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:
DemoAccountDemo account.
See Also