QuoteClient Constructor (UInt32, String, String, Int32, String, Int32, String, String, DateTime, DateTime)
|
Initialize quote client via proxy to give history of closed orders.
Namespace:
TradingAPI.MT4Server
Assembly:
MT4ServerAPI (in MT4ServerAPI.dll) Version: 4.0.1170.31 (4.0.1170.31)
Syntaxpublic QuoteClient(
uint user,
string password,
string host,
int port,
string proxyHost,
int proxyPort,
string proxyUser,
string proxyPass,
DateTime closedOrdersFrom,
DateTime closedOrdersTo
)
Public Sub New (
user As UInteger,
password As String,
host As String,
port As Integer,
proxyHost As String,
proxyPort As Integer,
proxyUser As String,
proxyPass As String,
closedOrdersFrom As DateTime,
closedOrdersTo As DateTime
)
public:
QuoteClient(
unsigned int user,
String^ password,
String^ host,
int port,
String^ proxyHost,
int proxyPort,
String^ proxyUser,
String^ proxyPass,
DateTime closedOrdersFrom,
DateTime closedOrdersTo
)
new :
user : uint32 *
password : string *
host : string *
port : int *
proxyHost : string *
proxyPort : int *
proxyUser : string *
proxyPass : string *
closedOrdersFrom : DateTime *
closedOrdersTo : DateTime -> QuoteClient
Parameters
- user
- Type: SystemUInt32
Account number. - password
- Type: SystemString
Password. - host
- Type: SystemString
IP address or domain name. - port
- Type: SystemInt32
Port. Usually 443. - proxyHost
- Type: SystemString
IP address of proxy server. - proxyPort
- Type: SystemInt32
Port of proxy server. - proxyUser
- Type: SystemString
Account of proxy server. - proxyPass
- Type: SystemString
Password of proxy server. - closedOrdersFrom
- Type: SystemDateTime
Start time. - closedOrdersTo
- Type: SystemDateTime
End time.
See Also